Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001032, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009572/0.0009571, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.778/1.778, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005281/0.0005281, allocations: 20.28 kB / 0.6736 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2546, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02904/0.2837, allocations: 28.69 MB / 0.8151 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.2993, allocations: 9.848 MB / 0.8248 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.3022, allocations: 123.2 kB / 0.8249 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.3043, allocations: 0.6328 MB / 0.8255 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004847/0.3092, allocations: 1.27 MB / 0.8267 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.3131, allocations: 1.284 MB / 0.828 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006305/0.3194, allocations: 3.433 MB / 0.8313 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01632/0.3358, allocations: 10.31 MB / 0.8414 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004595/0.3404, allocations: 1.974 MB / 0.8433 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003759/0.3442, allocations: 1.989 MB / 0.8453 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007882/0.345, allocations: 272 kB / 0.8455 GB, free: 15.94 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.3473, allocations: 0.6983 MB / 0.8462 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002075/0.3494, allocations: 1.867 MB / 0.848 GB, free: 13.38 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.3509, allocations: 0.9525 MB / 0.849 GB, free: 12.41 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009254/0.3602, allocations: 8.205 MB / 0.857 GB, free: 4.188 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3602, allocations: 0 / 0.857 GB, free: 4.188 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.867e-06/0.3602, allocations: 0 / 0.857 GB, free: 4.188 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003026/0.3605, allocations: 3.938 kB / 0.857 GB, free: 4.184 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009087/0.3696, allocations: 4.031 MB / 0.8609 GB, free: 84 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3697, allocations: 8.031 kB / 0.8609 GB, free: 76 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/0.3749, allocations: 0.9231 MB / 0.8618 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00727/0.3822, allocations: 2.8 MB / 0.8646 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.3825, allocations: 345.3 kB / 0.8649 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/0.3838, allocations: 467.8 kB / 0.8653 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.3991, allocations: 7.592 MB / 0.8728 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001474/0.3993, allocations: 31.7 kB / 0.8728 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005266/0.3998, allocations: 200 kB / 0.873 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000354/0.4002, allocations: 313 kB / 0.8733 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.4113, allocations: 5.671 MB / 0.8788 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03934/0.4507, allocations: 35.12 MB / 0.9131 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003688/0.4544, allocations: 2.158 MB / 0.9152 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/0.4549, allocations: 17.31 kB / 0.9152 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.455, allocations: 43.88 kB / 0.9153 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 8.155e-06/0.455, allocations: 0 / 0.9153 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.4735/0.9286, allocations: 7.088 MB / 0.9222 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.9287, allocations: 66.16 kB / 0.9223 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/0.9315, allocations: 1.465 MB / 0.9237 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003471/0.9319, allocations: 46.14 kB / 0.9237 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001745/0.9337, allocations: 2.008 MB / 0.9257 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006851/0.9344, allocations: 486.1 kB / 0.9262 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.9345, allocations: 41.69 kB / 0.9262 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.9346, allocations: 377 kB / 0.9266 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.936, allocations: 0.9044 MB / 0.9274 GB, free: 121.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/0.9375, allocations: 1.583 MB / 0.929 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.939, allocations: 1.174 MB / 0.9301 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.939, allocations: 5.875 kB / 0.9301 GB, free: 119.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006458/0.9455, allocations: 3.514 MB / 0.9336 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.9456, allocations: 12.94 kB / 0.9336 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/0.9457, allocations: 27.92 kB / 0.9336 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/0.9483, allocations: 0.8914 MB / 0.9345 GB, free: 117.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.9497, allocations: 352.6 kB / 0.9348 GB, free: 117.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/0.9689, allocations: 21.54 MB / 0.9559 GB, free: 99.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.9709, allocations: 106.8 kB / 0.956 GB, free: 99.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.9712, allocations: 82.95 kB / 0.956 GB, free: 99.44 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00357/0.9748, allocations: 1.613 MB / 0.9576 GB, free: 98.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000537/0.9753, allocations: 207.3 kB / 0.9578 GB, free: 98.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004845/0.9802, allocations: 2.984 MB / 0.9607 GB, free: 97.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.9802, allocations: 16.34 kB / 0.9607 GB, free: 97.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/0.9802, allocations: 10.16 kB / 0.9608 GB, free: 97.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.9803, allocations: 10.61 kB / 0.9608 GB, free: 97.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.993, allocations: 7.311 MB / 0.9679 GB, free: 94.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.993, allocations: 5.562 kB / 0.9679 GB, free: 94.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/0.9938, allocations: 174 kB / 0.9681 GB, free: 94.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002113/0.9959, allocations: 0.8309 MB / 0.9689 GB, free: 93.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.43e-05/0.996, allocations: 28.73 kB / 0.9689 GB, free: 93.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/1.009, allocations: 20.64 MB / 0.9891 GB, free: 74.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.009, allocations: 3.938 kB / 0.9891 GB, free: 74.65 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004528/1.014, allocations: 3.302 MB / 0.9923 GB, free: 72.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009167/1.015, allocations: 464.5 kB / 0.9927 GB, free: 71.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/1.015, allocations: 26.25 kB / 0.9928 GB, free: 71.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007264/1.016, allocations: 70.5 kB / 0.9928 GB, free: 71.94 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/1.016, allocations: 130.1 kB / 0.993 GB, free: 71.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/1.016, allocations: 35.62 kB / 0.993 GB, free: 71.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001042/1.017, allocations: 0.9593 MB / 0.9939 GB, free: 71.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.017, allocations: 2.516 kB / 0.9939 GB, free: 71.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002841/1.02, allocations: 0.7896 MB / 0.9947 GB, free: 71.23 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002088/1.02, allocations: 145.3 kB / 0.9948 GB, free: 71.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004545/1.025, allocations: 3.999 MB / 0.9987 GB, free: 68.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.025, allocations: 0 / 0.9987 GB, free: 68.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002725/1.028, allocations: 2.738 MB / 1.001 GB, free: 66.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/1.03, allocations: 0.6468 MB / 1.002 GB, free: 65.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.04, allocations: 8.725 MB / 1.011 GB, free: 56.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002343/1.043, allocations: 3.189 MB / 1.014 GB, free: 53.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001236/1.044, allocations: 457.9 kB / 1.014 GB, free: 53.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/1.044, allocations: 115.4 kB / 1.014 GB, free: 53.15 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/1.044, allocations: 0 / 1.014 GB, free: 53.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.04584/1.09, allocations: 33.14 MB / 1.047 GB, free: 20.43 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: