Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001151, allocations: 106.4 kB / 16.41 MB, free: 6.453 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.001186/0.001187, allocations: 192.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 289.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9443/0.9443, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 103.8 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4682/0.4702, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007895/0.4782, allocations: 5.147 MB / 0.7721 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00569/0.4839, allocations: 3.778 MB / 0.7758 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003468/0.4843, allocations: 11.94 kB / 0.7758 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.4862, allocations: 0.5777 MB / 0.7764 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.4874, allocations: 481.8 kB / 0.7768 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.4881, allocations: 267.3 kB / 0.7771 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009435/0.489, allocations: 0.697 MB / 0.7777 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006699/0.4897, allocations: 0.5237 MB / 0.7783 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.4902, allocations: 371 kB / 0.7786 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000444/0.4906, allocations: 306.9 kB / 0.7789 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.4907, allocations: 44 kB / 0.7789 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005158/0.4913, allocations: 295.5 kB / 0.7792 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.4914, allocations: 175.6 kB / 0.7794 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.4917, allocations: 234.9 kB / 0.7796 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008942/0.4926, allocations: 0.8451 MB / 0.7804 GB, free: 6.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4926, allocations: 0 / 0.7804 GB, free: 6.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4926, allocations: 0 / 0.7804 GB, free: 6.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.4926, allocations: 0 / 0.7804 GB, free: 6.18 MB / 0.545 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.001397/0.494, allocations: 0.8181 MB / 0.7812 GB, free: 5.312 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4941, allocations: 8.031 kB / 0.7813 GB, free: 5.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/0.4969, allocations: 0.671 MB / 0.7819 GB, free: 4.633 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007987/0.4978, allocations: 468.4 kB / 0.7824 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.4978, allocations: 25.02 kB / 0.7824 GB, free: 4.109 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.4979, allocations: 32.12 kB / 0.7824 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.4995, allocations: 0.8239 MB / 0.7832 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4995, allocations: 0 / 0.7832 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.4996, allocations: 12 kB / 0.7832 GB, free: 3.215 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/0.4998, allocations: 60.58 kB / 0.7833 GB, free: 3.156 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.5019, allocations: 0.9271 MB / 0.7842 GB, free: 2.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003902/0.5058, allocations: 2.855 MB / 0.787 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.5075, allocations: 0.5415 MB / 0.7875 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/0.5083, allocations: 308.5 kB / 0.7878 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.5084, allocations: 89.09 kB / 0.7879 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.5084, allocations: 34.56 kB / 0.7879 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 2.204e-06/0.5084, allocations: 0 / 0.7879 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36): time 0.014/0.5224, allocations: 3.776 MB / 0.7916 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5225, allocations: 55.41 kB / 0.7917 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/0.5232, allocations: 433.5 kB / 0.7921 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.887e-05/0.5232, allocations: 29.7 kB / 0.7921 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.5234, allocations: 244.2 kB / 0.7923 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.5236, allocations: 126.2 kB / 0.7925 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.5238, allocations: 82.12 kB / 0.7925 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.524, allocations: 350.8 kB / 0.7929 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.525, allocations: 418.2 kB / 0.7933 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.5261, allocations: 0.493 MB / 0.7937 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/0.5282, allocations: 0.896 MB / 0.7946 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5282, allocations: 0 / 0.7946 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005818/0.5341, allocations: 1.823 MB / 0.7964 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.5341, allocations: 11.94 kB / 0.7964 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5341, allocations: 0 / 0.7964 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004261/0.5384, allocations: 0.9692 MB / 0.7974 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.539, allocations: 123.8 kB / 0.7975 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.5501, allocations: 6.643 MB / 0.804 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/0.551, allocations: 103.8 kB / 0.8041 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.5511, allocations: 24.05 kB / 0.8041 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001278/0.5523, allocations: 0.606 MB / 0.8047 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/0.5534, allocations: 488.6 kB / 0.8051 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001969/0.5553, allocations: 0.8665 MB / 0.806 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.5554, allocations: 0 / 0.806 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004958/0.5603, allocations: 1.598 MB / 0.8075 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5604, allocations: 10.38 kB / 0.8076 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5604, allocations: 7.984 kB / 0.8076 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002935/0.5633, allocations: 0.6882 MB / 0.8082 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/0.564, allocations: 139.8 kB / 0.8084 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008093/0.5721, allocations: 5.813 MB / 0.814 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008431/0.5729, allocations: 107.9 kB / 0.8142 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.573, allocations: 19.98 kB / 0.8142 GB, free: 2.465 MB / 0.5762 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.5732, allocations: 204.2 kB / 0.8144 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.5734, allocations: 39.53 kB / 0.8144 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005385/0.5788, allocations: 1.716 MB / 0.8161 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.5788, allocations: 3.984 kB / 0.8161 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5788, allocations: 4 kB / 0.8161 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.5791, allocations: 184.6 kB / 0.8163 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.374e-05/0.5792, allocations: 8 kB / 0.8163 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/0.5799, allocations: 83.8 kB / 0.8164 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.5801, allocations: 43.92 kB / 0.8164 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004417/0.5845, allocations: 1.512 MB / 0.8179 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002524/0.587, allocations: 1.374 MB / 0.8192 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008056/0.5878, allocations: 411.6 kB / 0.8196 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003949/0.5882, allocations: 315.3 kB / 0.8199 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of Backend: time 4.4e-07/0.5883, allocations: 3.938 kB / 0.8199 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006569/0.5948, allocations: 2.305 MB / 0.8222 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of SimCode: time 0.002342/0.5972, allocations: 1.632 MB / 0.8238 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of Templates: time 0.02754/0.6248, allocations: 18.26 MB / 0.8416 GB, free: 6.379 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)