Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 106.9 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 193 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 222.8 MB, free: 4.922 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001563, allocations: 63.41 kB / 0.6717 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2663, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02833/0.2946, allocations: 26.36 MB / 0.8093 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.3142, allocations: 8.048 MB / 0.8171 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00405/0.3183, allocations: 107.4 kB / 0.8172 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008543/0.3269, allocations: 2.578 MB / 0.8198 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.332, allocations: 1.462 MB / 0.8212 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005168/0.3372, allocations: 1.524 MB / 0.8227 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008433/0.3456, allocations: 6.177 MB / 0.8287 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.3592, allocations: 8.947 MB / 0.8374 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004918/0.3641, allocations: 2.609 MB / 0.84 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005356/0.3695, allocations: 2.971 MB / 0.8429 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001489/0.371, allocations: 0.5117 MB / 0.8434 GB, free: 356 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.3744, allocations: 1.283 MB / 0.8446 GB, free: 15.06 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003071/0.3775, allocations: 2.05 MB / 0.8466 GB, free: 13.01 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00448/0.382, allocations: 2.389 MB / 0.849 GB, free: 10.61 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007887/0.3899, allocations: 6.848 MB / 0.8557 GB, free: 3.746 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.39, allocations: 0 / 0.8557 GB, free: 3.746 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.004e-06/0.39, allocations: 0 / 0.8557 GB, free: 3.746 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002429/0.3902, allocations: 0 / 0.8557 GB, free: 3.746 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009858/0.4001, allocations: 4.228 MB / 0.8598 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4002, allocations: 8.031 kB / 0.8598 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004343/0.4045, allocations: 0.8078 MB / 0.8606 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005043/0.4096, allocations: 2.428 MB / 0.863 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.4098, allocations: 271.6 kB / 0.8632 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.4109, allocations: 376.5 kB / 0.8636 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.4227, allocations: 5.988 MB / 0.8694 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.753e-05/0.4229, allocations: 23.78 kB / 0.8694 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003914/0.4233, allocations: 160 kB / 0.8696 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006015/0.4239, allocations: 278.9 kB / 0.8699 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007977/0.4318, allocations: 4.527 MB / 0.8743 GB, free: 292 kB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03145/0.4633, allocations: 27.67 MB / 0.9013 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.4652, allocations: 1.118 MB / 0.9024 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.4665, allocations: 1.023 MB / 0.9034 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.934e-05/0.4666, allocations: 9 kB / 0.9034 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.4666, allocations: 47.56 kB / 0.9034 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 3.156e-06/0.4666, allocations: 0 / 0.9034 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.02163/0.4883, allocations: 9.673 MB / 0.9129 GB, free: 6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4884, allocations: 64.72 kB / 0.913 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.4904, allocations: 1.494 MB / 0.9144 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.4906, allocations: 53.7 kB / 0.9145 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.4917, allocations: 1.663 MB / 0.9161 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/0.4922, allocations: 469.3 kB / 0.9165 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005171/0.4927, allocations: 327.2 kB / 0.9169 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4929, allocations: 309.1 kB / 0.9171 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.4942, allocations: 0.9135 MB / 0.918 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.44/0.9342, allocations: 1.468 MB / 0.9195 GB, free: 125.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003547/0.9378, allocations: 2.548 MB / 0.922 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.9378, allocations: 5.281 kB / 0.922 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006029/0.9438, allocations: 3.287 MB / 0.9252 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.9439, allocations: 14.59 kB / 0.9252 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.9439, allocations: 17.22 kB / 0.9252 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/0.9461, allocations: 0.7445 MB / 0.9259 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.9476, allocations: 384.5 kB / 0.9263 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/0.9619, allocations: 17.04 MB / 0.9429 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.9639, allocations: 97.62 kB / 0.943 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.964, allocations: 74.02 kB / 0.9431 GB, free: 109.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002378/0.9664, allocations: 1.312 MB / 0.9444 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/0.9669, allocations: 201.5 kB / 0.9446 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005729/0.9726, allocations: 2.791 MB / 0.9473 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.9727, allocations: 12.66 kB / 0.9473 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-05/0.9727, allocations: 7.594 kB / 0.9473 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.9727, allocations: 11.2 kB / 0.9473 GB, free: 107.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.9855, allocations: 6.214 MB / 0.9534 GB, free: 104.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.9855, allocations: 4.594 kB / 0.9534 GB, free: 104.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.9868, allocations: 237.1 kB / 0.9536 GB, free: 104.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002014/0.9888, allocations: 0.6761 MB / 0.9543 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.9889, allocations: 35.53 kB / 0.9543 GB, free: 104.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/1.002, allocations: 16.8 MB / 0.9707 GB, free: 90.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.505e-06/1.002, allocations: 5.75 kB / 0.9707 GB, free: 90.24 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006334/1.008, allocations: 4.006 MB / 0.9746 GB, free: 88.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.009, allocations: 461 kB / 0.9751 GB, free: 88.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/1.01, allocations: 32.42 kB / 0.9751 GB, free: 88.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009234/1.011, allocations: 84.64 kB / 0.9752 GB, free: 88.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003622/1.011, allocations: 111.1 kB / 0.9753 GB, free: 88.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-05/1.011, allocations: 40.31 kB / 0.9753 GB, free: 88.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001284/1.012, allocations: 0.9937 MB / 0.9763 GB, free: 87.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.012, allocations: 0 / 0.9763 GB, free: 87.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002403/1.015, allocations: 0.684 MB / 0.977 GB, free: 87.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002695/1.015, allocations: 154.3 kB / 0.9771 GB, free: 87.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005621/1.021, allocations: 4.105 MB / 0.9811 GB, free: 85.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.021, allocations: 0 / 0.9811 GB, free: 85.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002884/1.024, allocations: 2.289 MB / 0.9834 GB, free: 83.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/1.026, allocations: 0.6676 MB / 0.984 GB, free: 83.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/1.038, allocations: 8.628 MB / 0.9925 GB, free: 77.33 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/1.041, allocations: 2.719 MB / 0.9951 GB, free: 74.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/1.041, allocations: 135.4 kB / 0.9952 GB, free: 74.44 MB / 0.7325 GB Notification: Performance of SimCode: time 1.222e-06/1.041, allocations: 0 / 0.9952 GB, free: 74.44 MB / 0.7325 GB Notification: Performance of Templates: time 0.1715/1.213, allocations: 209.6 MB / 1.2 GB, free: 8.742 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)