Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.4 MB / 303.4 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 190.9 kB / 372 MB, free: 10.21 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 0.6307 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008173/0.0008172, allocations: 102.2 kB / 0.7441 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005525/0.0005525, allocations: 16.16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3052, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03581/0.3411, allocations: 31.91 MB / 1.011 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.3577, allocations: 9.554 MB / 1.02 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003894/0.3616, allocations: 123.3 kB / 1.02 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.3641, allocations: 0.682 MB / 1.021 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005999/0.3701, allocations: 1.636 MB / 1.022 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004327/0.3744, allocations: 1.156 MB / 1.024 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01274/0.3872, allocations: 8.841 MB / 1.032 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02041/0.4077, allocations: 10.41 MB / 1.042 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005973/0.4137, allocations: 2.436 MB / 1.045 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00679/0.4205, allocations: 3.122 MB / 1.048 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001955/0.4225, allocations: 280 kB / 1.048 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00417/0.4267, allocations: 0.6439 MB / 1.049 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004874/0.4316, allocations: 2.097 MB / 1.051 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004318/0.4359, allocations: 1.027 MB / 1.052 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01292/0.4489, allocations: 8.56 MB / 1.06 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.4489, allocations: 0 / 1.06 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.035e-06/0.449, allocations: 0 / 1.06 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004697/0.4494, allocations: 0 / 1.06 GB, free: 8.891 MB / 0.6823 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.01397/0.4634, allocations: 4.41 MB / 1.064 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.4635, allocations: 12.02 kB / 1.064 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006285/0.4698, allocations: 0.9694 MB / 1.065 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007969/0.4778, allocations: 2.933 MB / 1.068 GB, free: 444 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000429/0.4783, allocations: 357.5 kB / 1.069 GB, free: 84 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4922/0.9704, allocations: 460.7 kB / 1.069 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/0.9926, allocations: 7.857 MB / 1.077 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/0.9928, allocations: 24.84 kB / 1.077 GB, free: 78.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006503/0.9934, allocations: 209.2 kB / 1.077 GB, free: 77.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007518/0.9942, allocations: 369.2 kB / 1.077 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/1.011, allocations: 5.898 MB / 1.083 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06144/1.072, allocations: 36.24 MB / 1.118 GB, free: 44.87 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/1.076, allocations: 2.139 MB / 1.121 GB, free: 43.75 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002686/1.079, allocations: 1.477 MB / 1.122 GB, free: 43.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/1.079, allocations: 23.86 kB / 1.122 GB, free: 43.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.82e-05/1.079, allocations: 53.47 kB / 1.122 GB, free: 42.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 5.731e-06/1.079, allocations: 2.062 kB / 1.122 GB, free: 42.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.01904/1.098, allocations: 7.542 MB / 1.129 GB, free: 38.08 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/1.098, allocations: 68.16 kB / 1.129 GB, free: 38.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/1.101, allocations: 1.839 MB / 1.131 GB, free: 36.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002283/1.101, allocations: 56.61 kB / 1.131 GB, free: 36.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/1.102, allocations: 2.122 MB / 1.133 GB, free: 35.08 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005314/1.103, allocations: 0.5616 MB / 1.134 GB, free: 34.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/1.103, allocations: 42.16 kB / 1.134 GB, free: 34.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.103, allocations: 397.2 kB / 1.134 GB, free: 34.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/1.105, allocations: 1.054 MB / 1.135 GB, free: 33.63 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/1.107, allocations: 1.752 MB / 1.137 GB, free: 32.15 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/1.109, allocations: 1.349 MB / 1.138 GB, free: 31.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.356e-05/1.109, allocations: 5.656 kB / 1.138 GB, free: 31.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007186/1.116, allocations: 3.893 MB / 1.142 GB, free: 29.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/1.116, allocations: 23.98 kB / 1.142 GB, free: 29.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/1.116, allocations: 19.56 kB / 1.142 GB, free: 29.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/1.118, allocations: 0.9301 MB / 1.143 GB, free: 28.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/1.12, allocations: 430.4 kB / 1.144 GB, free: 28.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/1.135, allocations: 21.05 MB / 1.164 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/1.137, allocations: 119.9 kB / 1.164 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003883/1.138, allocations: 96.06 kB / 1.164 GB, free: 7.344 MB / 0.6823 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.003363/1.141, allocations: 1.653 MB / 1.166 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000789/1.142, allocations: 257 kB / 1.166 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005171/1.147, allocations: 3.253 MB / 1.169 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.147, allocations: 12 kB / 1.169 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.639e-05/1.147, allocations: 15.98 kB / 1.169 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.147, allocations: 7.969 kB / 1.169 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/1.161, allocations: 7.54 MB / 1.177 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.161, allocations: 7.938 kB / 1.177 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/1.162, allocations: 219.6 kB / 1.177 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002413/1.165, allocations: 0.8834 MB / 1.178 GB, free: 9.293 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/1.165, allocations: 31.98 kB / 1.178 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/1.185, allocations: 21.02 MB / 1.198 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.185, allocations: 4 kB / 1.198 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00645/1.192, allocations: 3.373 MB / 1.202 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/1.193, allocations: 0.5331 MB / 1.202 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007745/1.194, allocations: 28 kB / 1.202 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/1.196, allocations: 95.88 kB / 1.202 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000373/1.196, allocations: 137 kB / 1.203 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.196, allocations: 44 kB / 1.203 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002417/1.199, allocations: 1.209 MB / 1.204 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.4e-07/1.199, allocations: 4 kB / 1.204 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003839/1.203, allocations: 0.9102 MB / 1.205 GB, free: 12.19 MB / 0.7292 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.0003757/1.203, allocations: 156.9 kB / 1.205 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00718/1.21, allocations: 4.407 MB / 1.209 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.21, allocations: 4 kB / 1.209 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004618/1.215, allocations: 2.989 MB / 1.212 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005039/1.22, allocations: 0.7789 MB / 1.213 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/1.238, allocations: 9.235 MB / 1.222 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00473/1.243, allocations: 3.215 MB / 1.225 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002592/1.245, allocations: 0.5293 MB / 1.225 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/1.246, allocations: 139.4 kB / 1.226 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of SimCode: time 1.503e-06/1.246, allocations: 0 / 1.226 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of Templates: time 0.07385/1.32, allocations: 39.76 MB / 1.264 GB, free: 15.1 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)