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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 288.3 MB / 303.2 MB, free: 8.242 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.00104/0.00104, allocations: 183.1 kB / 371.8 MB, free: 10.28 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.647/1.647, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008636/0.0008635, allocations: 98.88 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004543, allocations: 13.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2839, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02517/0.3091, allocations: 28.77 MB / 1.008 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0242/0.3334, allocations: 13.82 MB / 1.021 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004196/0.3376, allocations: 127.2 kB / 1.021 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.3398, allocations: 0.7064 MB / 1.022 GB, free: 176 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008196/0.348, allocations: 2.27 MB / 1.024 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005381/0.3534, allocations: 1.396 MB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01042/0.3638, allocations: 4.549 MB / 1.03 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01814/0.382, allocations: 9.836 MB / 1.039 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006307/0.3884, allocations: 2.609 MB / 1.042 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006314/0.3947, allocations: 2.409 MB / 1.044 GB, free: 9 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.3964, allocations: 296 kB / 1.045 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003997/0.4004, allocations: 0.6984 MB / 1.045 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003724/0.4042, allocations: 2.093 MB / 1.047 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002776/0.407, allocations: 1.124 MB / 1.048 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.419, allocations: 9.035 MB / 1.057 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4191, allocations: 3.938 kB / 1.057 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.019e-06/0.4191, allocations: 3.938 kB / 1.057 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004786/0.4196, allocations: 4 kB / 1.057 GB, free: 11.71 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01451/0.4341, allocations: 4.853 MB / 1.062 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.4342, allocations: 16.02 kB / 1.062 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007397/0.4416, allocations: 1.117 MB / 1.063 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009323/0.4509, allocations: 3.239 MB / 1.066 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003952/0.4514, allocations: 370 kB / 1.067 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002375/0.4538, allocations: 491.9 kB / 1.067 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6198/1.074, allocations: 7.919 MB / 1.075 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002598/1.074, allocations: 28.42 kB / 1.075 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001185/1.075, allocations: 221 kB / 1.075 GB, free: 76.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001397/1.077, allocations: 434.8 kB / 1.076 GB, free: 76.44 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/1.095, allocations: 6.044 MB / 1.081 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04415/1.139, allocations: 35.2 MB / 1.116 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/1.142, allocations: 2.023 MB / 1.118 GB, free: 44.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.389e-05/1.142, allocations: 19.33 kB / 1.118 GB, free: 44.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/1.142, allocations: 56.41 kB / 1.118 GB, free: 44.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=171): time 3.607e-06/1.142, allocations: 0 / 1.118 GB, free: 44.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=276): time 0.1382/1.28, allocations: 38.99 MB / 1.156 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/1.28, allocations: 77.58 kB / 1.156 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/1.283, allocations: 2.258 MB / 1.158 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005398/1.284, allocations: 73.7 kB / 1.158 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/1.285, allocations: 2.277 MB / 1.16 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008133/1.286, allocations: 0.9303 MB / 1.161 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/1.286, allocations: 60 kB / 1.161 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.286, allocations: 428.1 kB / 1.162 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/1.289, allocations: 1.962 MB / 1.164 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002608/1.291, allocations: 2.583 MB / 1.166 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002686/1.294, allocations: 2.372 MB / 1.169 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/1.294, allocations: 4 kB / 1.169 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01353/1.307, allocations: 7.721 MB / 1.176 GB, free: 12.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/1.307, allocations: 15.95 kB / 1.176 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/1.307, allocations: 23.94 kB / 1.176 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009134/1.317, allocations: 3.2 MB / 1.179 GB, free: 9.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/1.318, allocations: 407.3 kB / 1.18 GB, free: 8.664 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04772/1.366, allocations: 32.35 MB / 1.211 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/1.369, allocations: 163.8 kB / 1.211 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/1.37, allocations: 108.6 kB / 1.212 GB, free: 7.262 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003712/1.373, allocations: 1.801 MB / 1.213 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007887/1.374, allocations: 332.1 kB / 1.214 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/1.389, allocations: 7.33 MB / 1.221 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.475e-05/1.389, allocations: 28 kB / 1.221 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.233e-05/1.389, allocations: 31.47 kB / 1.221 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.942e-05/1.389, allocations: 15.95 kB / 1.221 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02802/1.417, allocations: 12.9 MB / 1.233 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/1.417, allocations: 8.125 kB / 1.233 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.418, allocations: 231.6 kB / 1.234 GB, free: 376 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008252/1.426, allocations: 2.849 MB / 1.236 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004344/1.427, allocations: 56 kB / 1.237 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04737/1.474, allocations: 31.16 MB / 1.267 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.474, allocations: 12.06 kB / 1.267 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/1.49, allocations: 7.422 MB / 1.274 GB, free: 5.605 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002781/1.493, allocations: 0.7898 MB / 1.275 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.494, allocations: 52 kB / 1.275 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/1.496, allocations: 167.8 kB / 1.275 GB, free: 4.578 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/1.497, allocations: 253.5 kB / 1.275 GB, free: 4.332 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002945/1.498, allocations: 76 kB / 1.276 GB, free: 4.258 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003184/1.501, allocations: 1.498 MB / 1.277 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.41e-07/1.501, allocations: 0 / 1.277 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.006947/1.508, allocations: 1.352 MB / 1.278 GB, free: 1.406 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009182/1.509, allocations: 186.9 kB / 1.278 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01458/1.523, allocations: 6.912 MB / 1.285 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.078e-05/1.523, allocations: 4 kB / 1.285 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.009015/1.532, allocations: 4.406 MB / 1.29 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005484/1.538, allocations: 0.9804 MB / 1.29 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02399/1.562, allocations: 11.95 MB / 1.302 GB, free: 8.738 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007065/1.569, allocations: 3.729 MB / 1.306 GB, free: 4.977 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003093/1.572, allocations: 0.5673 MB / 1.306 GB, free: 4.406 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007076/1.573, allocations: 155.4 kB / 1.307 GB, free: 4.254 MB / 0.823 GB Notification: Performance of SimCode: time 1.452e-06/1.573, allocations: 3.938 kB / 1.307 GB, free: 4.25 MB / 0.823 GB Notification: Performance of Templates: time 0.1316/1.705, allocations: 71.56 MB / 1.376 GB, free: 13.44 MB / 0.9011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)