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_RLC_N.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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.726/1.726, allocations: 287.5 MB / 302.6 MB, free: 8.211 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.0009943/0.0009943, allocations: 190.6 kB / 371.2 MB, free: 10.83 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.738/1.738, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0008794/0.0008797, allocations: 92.86 kB / 0.7432 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004578, allocations: 16.95 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.246, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03132/0.2774, allocations: 37.43 MB / 1.015 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.3044, allocations: 14.41 MB / 1.029 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007348/0.3119, allocations: 163.1 kB / 1.029 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004367/0.3163, allocations: 0.8333 MB / 1.03 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009536/0.3259, allocations: 2.324 MB / 1.033 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.008729/0.3347, allocations: 1.904 MB / 1.034 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02234/0.357, allocations: 12.76 MB / 1.047 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02964/0.3867, allocations: 15.56 MB / 1.062 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009298/0.3961, allocations: 3.545 MB / 1.066 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5741/0.9703, allocations: 4.639 MB / 1.07 GB, free: 25.08 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003427/0.9737, allocations: 398.2 kB / 1.07 GB, free: 25.08 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006279/0.98, allocations: 0.8903 MB / 1.071 GB, free: 25.08 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.008559/0.9886, allocations: 2.962 MB / 1.074 GB, free: 25.08 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006506/0.9952, allocations: 1.379 MB / 1.076 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.02524/1.02, allocations: 11.75 MB / 1.087 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.02, allocations: 1.125 kB / 1.087 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.524e-06/1.021, allocations: 1.312 kB / 1.087 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0007088/1.021, allocations: 0 / 1.087 GB, free: 24.55 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02908/1.05, allocations: 6.158 MB / 1.093 GB, free: 22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.746e-05/1.05, allocations: 9.438 kB / 1.093 GB, free: 22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/1.065, allocations: 1.518 MB / 1.095 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/1.078, allocations: 4.209 MB / 1.099 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005471/1.079, allocations: 456.1 kB / 1.099 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004754/1.084, allocations: 0.5929 MB / 1.1 GB, free: 20.74 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03379/1.118, allocations: 10.64 MB / 1.11 GB, free: 18.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002602/1.118, allocations: 36.66 kB / 1.11 GB, free: 18.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001572/1.119, allocations: 263.8 kB / 1.11 GB, free: 18.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003011/1.123, allocations: 0.7774 MB / 1.111 GB, free: 18.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02229/1.145, allocations: 8.518 MB / 1.119 GB, free: 16.97 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07359/1.218, allocations: 46.98 MB / 1.165 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006692/1.225, allocations: 4.291 MB / 1.169 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006319/1.232, allocations: 3.679 MB / 1.173 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000359/1.232, allocations: 35 kB / 1.173 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.771e-05/1.232, allocations: 84.94 kB / 1.173 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=353): time 5.971e-06/1.232, allocations: 0 / 1.173 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578): time 0.5049/1.737, allocations: 128 MB / 1.298 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.737, allocations: 119.9 kB / 1.298 GB, free: 9.035 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005328/1.742, allocations: 2.657 MB / 1.301 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001593/1.744, allocations: 117.7 kB / 1.301 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001995/1.746, allocations: 2.683 MB / 1.304 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002707/1.749, allocations: 1.952 MB / 1.306 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/1.749, allocations: 108 kB / 1.306 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003567/1.75, allocations: 0.5217 MB / 1.306 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006247/1.756, allocations: 4.056 MB / 1.31 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006949/1.763, allocations: 4.998 MB / 1.315 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/1.778, allocations: 9.811 MB / 1.325 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/1.778, allocations: 8 kB / 1.325 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03843/1.816, allocations: 16.94 MB / 1.341 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/1.816, allocations: 16 kB / 1.341 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.99e-05/1.816, allocations: 24 kB / 1.341 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03077/1.847, allocations: 9.055 MB / 1.35 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/1.85, allocations: 0.5256 MB / 1.351 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1018/1.952, allocations: 70.61 MB / 1.419 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006755/1.958, allocations: 279.8 kB / 1.42 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/1.96, allocations: 188 kB / 1.42 GB, free: 10.79 MB / 0.9636 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 (274): * Single equations (assignments): 263 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007052/1.967, allocations: 2.428 MB / 1.422 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/1.969, allocations: 474.5 kB / 1.423 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5247/2.494, allocations: 16.78 MB / 1.439 GB, free: 338.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.272e-05/2.494, allocations: 55.28 kB / 1.439 GB, free: 338.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002691/2.494, allocations: 75.03 kB / 1.439 GB, free: 338.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/2.494, allocations: 27.52 kB / 1.439 GB, free: 338.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05724/2.551, allocations: 25.64 MB / 1.464 GB, free: 331.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.923e-05/2.552, allocations: 8.156 kB / 1.464 GB, free: 331.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/2.554, allocations: 327 kB / 1.465 GB, free: 331.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02978/2.584, allocations: 8.256 MB / 1.473 GB, free: 330.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001577/2.585, allocations: 110.2 kB / 1.473 GB, free: 330 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08353/2.669, allocations: 67.46 MB / 1.539 GB, free: 276.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/2.669, allocations: 11.94 kB / 1.539 GB, free: 276.5 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0578/2.727, allocations: 21.51 MB / 1.56 GB, free: 254.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006521/2.733, allocations: 1.362 MB / 1.561 GB, free: 253.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003151/2.736, allocations: 112 kB / 1.561 GB, free: 253.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008437/2.745, allocations: 283.6 kB / 1.561 GB, free: 253.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003873/2.749, allocations: 0.5221 MB / 1.562 GB, free: 252.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001337/2.75, allocations: 144 kB / 1.562 GB, free: 252.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00516/2.755, allocations: 1.753 MB / 1.564 GB, free: 250.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.52e-07/2.755, allocations: 0 / 1.564 GB, free: 250.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01456/2.77, allocations: 2.441 MB / 1.566 GB, free: 248.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00117/2.771, allocations: 236.5 kB / 1.566 GB, free: 248 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02356/2.795, allocations: 14.48 MB / 1.581 GB, free: 233.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/2.795, allocations: 6.234 kB / 1.581 GB, free: 233.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01691/2.812, allocations: 9.372 MB / 1.59 GB, free: 223.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01074/2.823, allocations: 1.26 MB / 1.591 GB, free: 222.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0277/2.85, allocations: 18.09 MB / 1.609 GB, free: 204.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005737/2.856, allocations: 4.893 MB / 1.613 GB, free: 199.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003134/2.859, allocations: 0.741 MB / 1.614 GB, free: 198.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/2.86, allocations: 199.4 kB / 1.614 GB, free: 198.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.112e-06/2.86, allocations: 0 / 1.614 GB, free: 198.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.1875/3.047, allocations: 135.3 MB / 1.746 GB, free: 63.96 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)