Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009305, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008922/0.0008927, allocations: 172.7 kB / 15.95 MB, free: 208 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.53/1.53, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.615/1.615, allocations: 252 MB / 0.5102 GB, free: 4.891 MB / 414.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.0005366/0.0005371, allocations: 16 kB / 0.6243 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6552/0.6558, allocations: 106.3 MB / 0.7281 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03757/0.6934, allocations: 31.93 MB / 0.7593 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01942/0.7128, allocations: 9.558 MB / 0.7687 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004378/0.7173, allocations: 123.3 kB / 0.7688 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.7201, allocations: 0.6898 MB / 0.7694 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006329/0.7265, allocations: 1.636 MB / 0.771 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004802/0.7313, allocations: 1.148 MB / 0.7722 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01246/0.7438, allocations: 8.837 MB / 0.7808 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0198/0.7636, allocations: 10.41 MB / 0.791 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007109/0.7708, allocations: 2.436 MB / 0.7933 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007487/0.7783, allocations: 3.122 MB / 0.7964 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.7798, allocations: 284 kB / 0.7967 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.7832, allocations: 0.6478 MB / 0.7973 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003204/0.7864, allocations: 2.085 MB / 0.7993 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002275/0.7887, allocations: 1.03 MB / 0.8003 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.799, allocations: 8.558 MB / 0.8087 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.7991, allocations: 0 / 0.8087 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.835e-06/0.7991, allocations: 0 / 0.8087 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003535/0.7994, allocations: 0 / 0.8087 GB, free: 8.711 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01076/0.8102, allocations: 4.406 MB / 0.813 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.8103, allocations: 8.031 kB / 0.813 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005534/0.8158, allocations: 0.9578 MB / 0.8139 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006626/0.8225, allocations: 2.929 MB / 0.8168 GB, free: 284 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.8229, allocations: 369.6 kB / 0.8172 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001419/0.8243, allocations: 467.8 kB / 0.8176 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/0.8439, allocations: 7.863 MB / 0.8253 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.8441, allocations: 15.88 kB / 0.8253 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006733/0.8448, allocations: 208 kB / 0.8255 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005523/0.8453, allocations: 377.1 kB / 0.8258 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/0.8588, allocations: 5.902 MB / 0.8316 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04248/0.9013, allocations: 36.24 MB / 0.867 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/0.9047, allocations: 2.138 MB / 0.8691 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.9069, allocations: 1.481 MB / 0.8705 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-05/0.907, allocations: 21.31 kB / 0.8706 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.907, allocations: 55.83 kB / 0.8706 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=157): time 3.176e-06/0.907, allocations: 3.938 kB / 0.8706 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of matching and sorting (n=160): time 0.0143/0.9213, allocations: 7.544 MB / 0.878 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.9215, allocations: 72.7 kB / 0.8781 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.9244, allocations: 1.837 MB / 0.8798 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002212/0.9247, allocations: 53.7 kB / 0.8799 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001663/0.9263, allocations: 2.127 MB / 0.882 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006537/0.927, allocations: 0.5546 MB / 0.8825 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.9271, allocations: 48 kB / 0.8826 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002453/0.9274, allocations: 398.3 kB / 0.8829 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.929, allocations: 1.051 MB / 0.884 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.9311, allocations: 1.756 MB / 0.8857 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.9331, allocations: 1.345 MB / 0.887 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.9331, allocations: 8 kB / 0.887 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00657/0.9397, allocations: 3.893 MB / 0.8908 GB, free: 120 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.9397, allocations: 18.03 kB / 0.8908 GB, free: 104 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.9398, allocations: 24.91 kB / 0.8908 GB, free: 80 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/0.9421, allocations: 0.9272 MB / 0.8918 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.9436, allocations: 431.2 kB / 0.8922 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.516/1.46, allocations: 21.04 MB / 0.9127 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/1.463, allocations: 122.7 kB / 0.9128 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/1.463, allocations: 97.03 kB / 0.9129 GB, free: 153.2 MB / 0.7169 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 (227): * Single equations (assignments): 215 * 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,(2,100.0%) 6,(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.004168/1.467, allocations: 1.647 MB / 0.9145 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007907/1.468, allocations: 256 kB / 0.9148 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006699/1.475, allocations: 3.249 MB / 0.9179 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/1.475, allocations: 16.2 kB / 0.918 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.471e-05/1.475, allocations: 10.48 kB / 0.918 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.659e-05/1.475, allocations: 16 kB / 0.918 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.49, allocations: 7.532 MB / 0.9253 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/1.49, allocations: 4.344 kB / 0.9253 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.491, allocations: 219.2 kB / 0.9256 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002274/1.493, allocations: 0.8979 MB / 0.9264 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/1.493, allocations: 35.72 kB / 0.9265 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/1.509, allocations: 21.01 MB / 0.947 GB, free: 129.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.509, allocations: 7.812 kB / 0.947 GB, free: 129.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/1.514, allocations: 3.36 MB / 0.9503 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.515, allocations: 0.545 MB / 0.9508 GB, free: 127.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/1.515, allocations: 43.7 kB / 0.9508 GB, free: 127.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009072/1.516, allocations: 86.02 kB / 0.9509 GB, free: 127.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003866/1.516, allocations: 142.3 kB / 0.9511 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.085e-05/1.516, allocations: 46.16 kB / 0.9511 GB, free: 127.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001768/1.518, allocations: 1.203 MB / 0.9523 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.518, allocations: 0 / 0.9523 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004064/1.522, allocations: 0.9034 MB / 0.9532 GB, free: 127 MB / 0.7169 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 (109): * Single equations (assignments): 97 * 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%) 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%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003905/1.523, allocations: 163.2 kB / 0.9533 GB, free: 126.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005634/1.528, allocations: 4.406 MB / 0.9576 GB, free: 123.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.528, allocations: 0 / 0.9576 GB, free: 123.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003391/1.532, allocations: 2.996 MB / 0.9606 GB, free: 120 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/1.535, allocations: 0.7747 MB / 0.9613 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/1.55, allocations: 9.25 MB / 0.9703 GB, free: 109.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002809/1.552, allocations: 3.209 MB / 0.9735 GB, free: 106.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002224/1.555, allocations: 0.5215 MB / 0.974 GB, free: 106.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/1.555, allocations: 147.4 kB / 0.9741 GB, free: 106 MB / 0.7169 GB Notification: Performance of SimCode: time 1.624e-06/1.555, allocations: 0 / 0.9741 GB, free: 106 MB / 0.7169 GB Notification: Performance of Templates: time 0.06321/1.618, allocations: 39.75 MB / 1.013 GB, free: 66.87 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: