Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00132/0.00132, allocations: 194.3 kB / 16.14 MB, free: 6.711 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 70.78 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3721, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01378/0.3859, allocations: 11.81 MB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008681/0.3946, allocations: 5.509 MB / 1.084 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007545/0.3954, allocations: 31.88 kB / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002622/0.3981, allocations: 0.9684 MB / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.3996, allocations: 0.6029 MB / 1.086 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.4016, allocations: 0.8536 MB / 1.087 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003238/0.4049, allocations: 3.597 MB / 1.09 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004752/0.4096, allocations: 3.792 MB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.4111, allocations: 0.919 MB / 1.095 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.4126, allocations: 1.227 MB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.4129, allocations: 152 kB / 1.096 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009751/0.4139, allocations: 0.5149 MB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007102/0.4146, allocations: 0.8108 MB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009271/0.4155, allocations: 0.8945 MB / 1.098 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.4184, allocations: 3.502 MB / 1.102 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4185, allocations: 4 kB / 1.102 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4185, allocations: 0 / 1.102 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.049e-05/0.4185, allocations: 0 / 1.102 GB, free: 7.598 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003463/0.422, allocations: 1.94 MB / 1.104 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.422, allocations: 8.031 kB / 1.104 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/0.4247, allocations: 498.4 kB / 1.104 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.4265, allocations: 1.101 MB / 1.105 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.4266, allocations: 115.4 kB / 1.105 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.4269, allocations: 152.1 kB / 1.106 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/0.4311, allocations: 2.762 MB / 1.108 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.4311, allocations: 0 / 1.108 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.4313, allocations: 71.94 kB / 1.108 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002985/0.4316, allocations: 143 kB / 1.108 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003644/0.4353, allocations: 2.303 MB / 1.111 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.447, allocations: 10.49 MB / 1.121 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.4484, allocations: 0.6116 MB / 1.122 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.4491, allocations: 392.6 kB / 1.122 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.4493, allocations: 89.09 kB / 1.122 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.4493, allocations: 42.5 kB / 1.122 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/0.4493, allocations: 0 / 1.122 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of matching and sorting (n=52): time 0.02377/0.4731, allocations: 5.834 MB / 1.128 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.4732, allocations: 55.84 kB / 1.128 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.4745, allocations: 0.8789 MB / 1.129 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.4747, allocations: 33.7 kB / 1.129 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005318/0.4752, allocations: 0.7577 MB / 1.129 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.4754, allocations: 193.4 kB / 1.13 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.4758, allocations: 190.5 kB / 1.13 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.476, allocations: 386.8 kB / 1.13 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.4772, allocations: 0.6605 MB / 1.131 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.4787, allocations: 1.006 MB / 1.132 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.4816, allocations: 1.666 MB / 1.133 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/0.4816, allocations: 4 kB / 1.133 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009397/0.491, allocations: 3.123 MB / 1.136 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.4911, allocations: 12 kB / 1.137 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.4911, allocations: 15.94 kB / 1.137 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007274/0.4984, allocations: 1.65 MB / 1.138 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.4994, allocations: 223.6 kB / 1.138 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.5133, allocations: 9.84 MB / 1.148 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.5148, allocations: 171.6 kB / 1.148 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.515, allocations: 47.98 kB / 1.148 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002229/0.5172, allocations: 1.31 MB / 1.149 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001397/0.5187, allocations: 0.9826 MB / 1.15 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002502/0.5212, allocations: 1.619 MB / 1.152 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.878e-06/0.5212, allocations: 4 kB / 1.152 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007588/0.5288, allocations: 2.654 MB / 1.155 GB, free: 15.16 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5288, allocations: 16.06 kB / 1.155 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.5289, allocations: 8 kB / 1.155 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004878/0.5337, allocations: 1.063 MB / 1.156 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.5349, allocations: 247.5 kB / 1.156 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007379/0.5423, allocations: 5.348 MB / 1.161 GB, free: 8.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.5439, allocations: 155.7 kB / 1.161 GB, free: 8.059 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.5441, allocations: 47.98 kB / 1.161 GB, free: 8.012 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004601/0.5446, allocations: 251.4 kB / 1.162 GB, free: 7.762 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.5449, allocations: 75.06 kB / 1.162 GB, free: 7.688 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008078/0.553, allocations: 2.559 MB / 1.164 GB, free: 5.105 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.553, allocations: 4 kB / 1.164 GB, free: 5.102 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.553, allocations: 7.938 kB / 1.164 GB, free: 5.094 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.553, allocations: 3.984 kB / 1.164 GB, free: 5.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.5644, allocations: 4.46 MB / 1.168 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.098e-06/0.5644, allocations: 4 kB / 1.168 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/0.5649, allocations: 95.86 kB / 1.169 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006381/0.5713, allocations: 1.494 MB / 1.17 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/0.5714, allocations: 8 kB / 1.17 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/0.5843, allocations: 9.395 MB / 1.179 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.5843, allocations: 3.984 kB / 1.179 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007943/0.5922, allocations: 2.5 MB / 1.182 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/0.5928, allocations: 264.2 kB / 1.182 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.5931, allocations: 23.83 kB / 1.182 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009423/0.594, allocations: 115.8 kB / 1.182 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.5943, allocations: 47.88 kB / 1.182 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/0.5943, allocations: 16 kB / 1.182 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001191/0.5955, allocations: 0.6473 MB / 1.183 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5955, allocations: 0 / 1.183 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002353/0.5979, allocations: 0.5898 MB / 1.183 GB, free: 0.6914 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002925/0.5982, allocations: 123.2 kB / 1.183 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005836/0.604, allocations: 3.126 MB / 1.186 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6041, allocations: 0 / 1.186 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.606, allocations: 1.178 MB / 1.188 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.6073, allocations: 222.7 kB / 1.188 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006235/0.6135, allocations: 3.644 MB / 1.191 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/0.6154, allocations: 1.622 MB / 1.193 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001473/0.6169, allocations: 0.5021 MB / 1.193 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.6171, allocations: 59.36 kB / 1.194 GB, free: 6 MB / 0.9512 GB Notification: Performance of SimCode: time 1.162e-06/0.6171, allocations: 0 / 1.194 GB, free: 6 MB / 0.9512 GB Notification: Performance of Templates: time 0.04124/0.6584, allocations: 23.96 MB / 1.217 GB, free: 14.15 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)