Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.00111/0.00111, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.544/1.544, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.915/1.915, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001431/0.001431, allocations: 75.89 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.242, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.4579/0.7, allocations: 5.057 MB / 0.7897 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.7046, allocations: 3.347 MB / 0.793 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003503/0.705, allocations: 13.19 kB / 0.793 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.7065, allocations: 0.512 MB / 0.7935 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.7076, allocations: 381.4 kB / 0.7939 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.7083, allocations: 268.3 kB / 0.7941 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008164/0.7092, allocations: 0.6438 MB / 0.7948 GB, free: 45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006091/0.7098, allocations: 0.5421 MB / 0.7953 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003268/0.7101, allocations: 279.5 kB / 0.7956 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.7105, allocations: 297.2 kB / 0.7959 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.7106, allocations: 45.28 kB / 0.7959 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005075/0.7111, allocations: 299.2 kB / 0.7962 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.7113, allocations: 177.2 kB / 0.7963 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.7115, allocations: 236.1 kB / 0.7966 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007224/0.7122, allocations: 0.821 MB / 0.7974 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7122, allocations: 5.125 kB / 0.7974 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7122, allocations: 0 / 0.7974 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.7122, allocations: 0 / 0.7974 GB, free: 44.59 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001345/0.7136, allocations: 0.796 MB / 0.7982 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.7136, allocations: 7.969 kB / 0.7982 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002865/0.7165, allocations: 0.6617 MB / 0.7988 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.7173, allocations: 471 kB / 0.7993 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.7173, allocations: 23.34 kB / 0.7993 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-05/0.7174, allocations: 27.66 kB / 0.7993 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.7191, allocations: 0.83 MB / 0.8001 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.7191, allocations: 0.6562 kB / 0.8001 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.7192, allocations: 16.78 kB / 0.8001 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001827/0.7194, allocations: 61.69 kB / 0.8002 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.7216, allocations: 0.9145 MB / 0.8011 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004282/0.7259, allocations: 2.836 MB / 0.8039 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.7279, allocations: 0.5394 MB / 0.8044 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008968/0.7288, allocations: 305.1 kB / 0.8047 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.7289, allocations: 86.3 kB / 0.8048 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.729, allocations: 31.95 kB / 0.8048 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.886e-06/0.729, allocations: 0.875 kB / 0.8048 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.0136/0.7426, allocations: 3.397 MB / 0.8081 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.7426, allocations: 55.61 kB / 0.8082 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/0.7433, allocations: 399.8 kB / 0.8085 GB, free: 39.88 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-05/0.7434, allocations: 32.64 kB / 0.8086 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.7435, allocations: 229 kB / 0.8088 GB, free: 39.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.7437, allocations: 118.3 kB / 0.8089 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.7439, allocations: 79 kB / 0.809 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.744, allocations: 345.1 kB / 0.8093 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.7451, allocations: 379.9 kB / 0.8097 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.7462, allocations: 460.5 kB / 0.8101 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/0.7483, allocations: 0.8172 MB / 0.8109 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.7483, allocations: 1.312 kB / 0.8109 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005698/0.754, allocations: 1.63 MB / 0.8125 GB, free: 38.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.7541, allocations: 5.781 kB / 0.8125 GB, free: 38.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.7541, allocations: 8.344 kB / 0.8125 GB, free: 38.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004172/0.7583, allocations: 0.8767 MB / 0.8134 GB, free: 38.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.759, allocations: 130.1 kB / 0.8135 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008628/0.7676, allocations: 6.659 MB / 0.82 GB, free: 33.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.7686, allocations: 106.9 kB / 0.8201 GB, free: 33.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.7687, allocations: 17.84 kB / 0.8201 GB, free: 33.03 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001447/0.7701, allocations: 0.562 MB / 0.8207 GB, free: 32.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001134/0.7713, allocations: 440.9 kB / 0.8211 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002039/0.7733, allocations: 0.7941 MB / 0.8219 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.788e-06/0.7733, allocations: 1.125 kB / 0.8219 GB, free: 32.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005371/0.7787, allocations: 1.609 MB / 0.8234 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.7788, allocations: 7.422 kB / 0.8234 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.7788, allocations: 10.28 kB / 0.8234 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/0.7818, allocations: 0.6413 MB / 0.8241 GB, free: 31.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.7825, allocations: 130 kB / 0.8242 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007068/0.7895, allocations: 7.298 MB / 0.8313 GB, free: 25.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009967/0.7906, allocations: 104.5 kB / 0.8314 GB, free: 25.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.7906, allocations: 17.98 kB / 0.8314 GB, free: 25.41 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002726/0.7909, allocations: 198.5 kB / 0.8316 GB, free: 25.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.791, allocations: 41.75 kB / 0.8317 GB, free: 25.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/0.7965, allocations: 1.52 MB / 0.8332 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.7965, allocations: 4.297 kB / 0.8332 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.7965, allocations: 0 / 0.8332 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.7968, allocations: 173.4 kB / 0.8333 GB, free: 24.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.7969, allocations: 6.047 kB / 0.8333 GB, free: 24.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/0.7975, allocations: 83.69 kB / 0.8334 GB, free: 24.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.7977, allocations: 34.3 kB / 0.8334 GB, free: 24.64 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00404/0.8017, allocations: 1.314 MB / 0.8347 GB, free: 24.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002672/0.8044, allocations: 1.228 MB / 0.8359 GB, free: 23.68 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007549/0.8052, allocations: 349.1 kB / 0.8363 GB, free: 23.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003865/0.8056, allocations: 302.1 kB / 0.8365 GB, free: 23.31 MB / 0.6544 GB Notification: Performance of Backend: time 8.51e-07/0.8056, allocations: 0 / 0.8365 GB, free: 23.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00472/0.8103, allocations: 2.093 MB / 0.8386 GB, free: 21.79 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002188/0.8125, allocations: 1.51 MB / 0.8401 GB, free: 20.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.0282/0.8407, allocations: 16.51 MB / 0.8562 GB, free: 12.6 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)