Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.998/2.998, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.001382/0.001382, allocations: 182.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0008869/0.0008867, allocations: 77.31 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006825/0.0006828, allocations: 12.92 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3052, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.06054/0.3658, allocations: 29.63 MB / 1.007 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03226/0.3981, allocations: 9.847 MB / 1.017 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004288/0.4025, allocations: 131.2 kB / 1.017 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004319/0.4069, allocations: 0.6162 MB / 1.018 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008725/0.4156, allocations: 1.473 MB / 1.019 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.009102/0.4248, allocations: 1.252 MB / 1.02 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.02058/0.4455, allocations: 8.266 MB / 1.028 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03904/0.4846, allocations: 10.33 MB / 1.038 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008369/0.493, allocations: 2.268 MB / 1.041 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009871/0.5029, allocations: 2.893 MB / 1.044 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002478/0.5055, allocations: 268 kB / 1.044 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006819/0.5124, allocations: 0.8389 MB / 1.045 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.006626/0.5191, allocations: 2.038 MB / 1.047 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004158/0.5233, allocations: 0.9563 MB / 1.048 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.02008/0.5434, allocations: 8.349 MB / 1.056 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.5435, allocations: 3.984 kB / 1.056 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.118e-06/0.5435, allocations: 0 / 1.056 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003724/0.5439, allocations: 0 / 1.056 GB, free: 12.95 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02047/0.5644, allocations: 4.07 MB / 1.06 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.172e-05/0.5645, allocations: 8.031 kB / 1.06 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.5784, allocations: 0.962 MB / 1.061 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/0.5914, allocations: 2.788 MB / 1.063 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007943/0.5923, allocations: 353.3 kB / 1.064 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002873/0.5952, allocations: 467.8 kB / 1.064 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8631/1.458, allocations: 7.623 MB / 1.072 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003585/1.459, allocations: 24.39 kB / 1.072 GB, free: 78.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001943/1.461, allocations: 202.6 kB / 1.072 GB, free: 78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000752/1.462, allocations: 312.6 kB / 1.072 GB, free: 77.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02015/1.482, allocations: 5.674 MB / 1.078 GB, free: 75.97 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05563/1.537, allocations: 35.12 MB / 1.112 GB, free: 47.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004859/1.542, allocations: 2.151 MB / 1.114 GB, free: 45.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002983/1.545, allocations: 1.266 MB / 1.115 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/1.546, allocations: 13.12 kB / 1.115 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/1.546, allocations: 47.83 kB / 1.115 GB, free: 45.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=133): time 5.711e-06/1.546, allocations: 0 / 1.115 GB, free: 45.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.02341/1.569, allocations: 7.091 MB / 1.122 GB, free: 40.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/1.569, allocations: 66.41 kB / 1.122 GB, free: 40.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/1.572, allocations: 1.472 MB / 1.124 GB, free: 39.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003417/1.573, allocations: 46.23 kB / 1.124 GB, free: 39.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001464/1.574, allocations: 2.009 MB / 1.126 GB, free: 37.97 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007058/1.575, allocations: 485.2 kB / 1.126 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/1.575, allocations: 43.53 kB / 1.126 GB, free: 37.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.575, allocations: 374.7 kB / 1.127 GB, free: 37.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/1.577, allocations: 0.9052 MB / 1.127 GB, free: 36.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/1.58, allocations: 1.594 MB / 1.129 GB, free: 35.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00295/1.583, allocations: 1.175 MB / 1.13 GB, free: 34.67 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-05/1.583, allocations: 9.891 kB / 1.13 GB, free: 34.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01082/1.594, allocations: 3.508 MB / 1.134 GB, free: 32.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/1.594, allocations: 15.91 kB / 1.134 GB, free: 32.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.233e-05/1.594, allocations: 21.53 kB / 1.134 GB, free: 32.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004715/1.599, allocations: 0.8989 MB / 1.135 GB, free: 32.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/1.602, allocations: 347 kB / 1.135 GB, free: 32.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02627/1.628, allocations: 21.2 MB / 1.156 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/1.631, allocations: 102.4 kB / 1.156 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/1.631, allocations: 86.53 kB / 1.156 GB, free: 12.5 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 (185): * Single equations (assignments): 173 * 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,(3,77.8%) 5,(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.004078/1.635, allocations: 1.613 MB / 1.157 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006528/1.636, allocations: 204.2 kB / 1.157 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008428/1.644, allocations: 2.986 MB / 1.16 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/1.644, allocations: 11.53 kB / 1.16 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/1.644, allocations: 11.34 kB / 1.16 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.183e-05/1.644, allocations: 7.938 kB / 1.16 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01884/1.663, allocations: 7.32 MB / 1.168 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/1.663, allocations: 4 kB / 1.168 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.665, allocations: 175.7 kB / 1.168 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004147/1.669, allocations: 0.8341 MB / 1.169 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002949/1.669, allocations: 27.94 kB / 1.169 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03036/1.7, allocations: 20.3 MB / 1.188 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/1.7, allocations: 11.94 kB / 1.188 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009433/1.709, allocations: 3.006 MB / 1.191 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/1.711, allocations: 462.5 kB / 1.192 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005979/1.711, allocations: 32 kB / 1.192 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/1.713, allocations: 71.86 kB / 1.192 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006152/1.714, allocations: 128.7 kB / 1.192 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/1.714, allocations: 39.95 kB / 1.192 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002386/1.717, allocations: 0.96 MB / 1.193 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.11e-07/1.717, allocations: 0 / 1.193 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004692/1.721, allocations: 0.7852 MB / 1.194 GB, free: 7.285 MB / 0.7136 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 (91): * Single equations (assignments): 79 * 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%) 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%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005436/1.722, allocations: 147 kB / 1.194 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01049/1.732, allocations: 4.005 MB / 1.198 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.732, allocations: 4.062 kB / 1.198 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.006924/1.739, allocations: 2.726 MB / 1.2 GB, free: 100 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005918/1.745, allocations: 0.6598 MB / 1.201 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.768, allocations: 8.746 MB / 1.21 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006994/1.775, allocations: 3.109 MB / 1.213 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002547/1.777, allocations: 457.9 kB / 1.213 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006368/1.778, allocations: 115.4 kB / 1.213 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of SimCode: time 1.443e-06/1.778, allocations: 0 / 1.213 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.1027/1.881, allocations: 33.15 MB / 1.246 GB, free: 2.148 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)