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 2.941/2.941, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001551/0.001551, allocations: 190.4 kB / 370.8 MB, free: 10.84 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.242/2.242, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001647/0.001647, allocations: 95.72 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005332/0.0005339, allocations: 11.69 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2352, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05285/0.2881, allocations: 35.67 MB / 1.013 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03602/0.3242, allocations: 14.53 MB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004755/0.329, allocations: 151 kB / 1.027 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004216/0.3333, allocations: 0.8423 MB / 1.028 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009741/0.3431, allocations: 2.099 MB / 1.03 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.009116/0.3523, allocations: 1.931 MB / 1.032 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.014/0.3663, allocations: 5.69 MB / 1.038 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03446/0.4008, allocations: 13.96 MB / 1.051 GB, free: 1.27 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008483/0.4094, allocations: 3.13 MB / 1.054 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009157/0.4186, allocations: 3.305 MB / 1.058 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002257/0.4209, allocations: 396 kB / 1.058 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004498/0.4254, allocations: 0.761 MB / 1.059 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005628/0.4311, allocations: 2.728 MB / 1.061 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003482/0.4346, allocations: 1.385 MB / 1.063 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.7215/1.156, allocations: 11.58 MB / 1.074 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.156, allocations: 4.844 kB / 1.074 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.985e-06/1.156, allocations: 0 / 1.074 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006166/1.157, allocations: 0 / 1.074 GB, free: 27.16 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.03986/1.197, allocations: 6.179 MB / 1.08 GB, free: 24.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/1.197, allocations: 14.44 kB / 1.08 GB, free: 24.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/1.215, allocations: 1.511 MB / 1.082 GB, free: 24.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01811/1.233, allocations: 4.092 MB / 1.086 GB, free: 23.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009071/1.234, allocations: 457.3 kB / 1.086 GB, free: 23.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004876/1.239, allocations: 0.5942 MB / 1.087 GB, free: 23.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04681/1.286, allocations: 10.6 MB / 1.097 GB, free: 22.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005611/1.286, allocations: 29.53 kB / 1.097 GB, free: 22.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004197/1.29, allocations: 266 kB / 1.097 GB, free: 22.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005381/1.296, allocations: 0.7721 MB / 1.098 GB, free: 22.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03079/1.327, allocations: 8.518 MB / 1.106 GB, free: 22.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09827/1.425, allocations: 46.96 MB / 1.152 GB, free: 4.812 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/1.435, allocations: 4.299 MB / 1.156 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/1.436, allocations: 34.19 kB / 1.156 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/1.436, allocations: 77.19 kB / 1.156 GB, free: 2.398 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 6.252e-06/1.436, allocations: 2.625 kB / 1.156 GB, free: 2.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 1.037/2.474, allocations: 127.9 MB / 1.281 GB, free: 8.316 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/2.474, allocations: 111.9 kB / 1.281 GB, free: 8.191 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006345/2.48, allocations: 2.646 MB / 1.284 GB, free: 5.547 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001933/2.482, allocations: 125.7 kB / 1.284 GB, free: 5.418 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003216/2.486, allocations: 2.69 MB / 1.287 GB, free: 2.707 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.004285/2.49, allocations: 1.94 MB / 1.289 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001692/2.492, allocations: 112 kB / 1.289 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0005856/2.492, allocations: 0.5257 MB / 1.289 GB, free: 144 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01245/2.505, allocations: 4.06 MB / 1.293 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0136/2.518, allocations: 4.977 MB / 1.298 GB, free: 6.785 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/2.535, allocations: 4.816 MB / 1.303 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.839e-05/2.535, allocations: 8 kB / 1.303 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.08361/2.618, allocations: 16.92 MB / 1.319 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/2.618, allocations: 16 kB / 1.319 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-05/2.619, allocations: 20 kB / 1.319 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05986/2.678, allocations: 9.06 MB / 1.328 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004735/2.683, allocations: 0.5189 MB / 1.329 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2521/2.935, allocations: 73.68 MB / 1.401 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008374/2.944, allocations: 279.7 kB / 1.401 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/2.946, allocations: 188 kB / 1.401 GB, free: 12.2 MB / 0.948 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.008535/2.954, allocations: 2.429 MB / 1.404 GB, free: 9.789 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002395/2.957, allocations: 470.5 kB / 1.404 GB, free: 9.324 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07558/3.032, allocations: 16.76 MB / 1.42 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.602e-05/3.032, allocations: 52 kB / 1.42 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002976/3.033, allocations: 72 kB / 1.42 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000149/3.033, allocations: 27.89 kB / 1.42 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8792/3.912, allocations: 25.62 MB / 1.446 GB, free: 338.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001178/3.912, allocations: 7.031 kB / 1.446 GB, free: 338.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005787/3.918, allocations: 319.3 kB / 1.446 GB, free: 338.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06702/3.985, allocations: 8.258 MB / 1.454 GB, free: 337.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001542/3.987, allocations: 111.7 kB / 1.454 GB, free: 337.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1587/4.145, allocations: 70.52 MB / 1.523 GB, free: 291 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/4.146, allocations: 15.92 kB / 1.523 GB, free: 291 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07446/4.22, allocations: 22.18 MB / 1.545 GB, free: 268.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005531/4.226, allocations: 1.358 MB / 1.546 GB, free: 267 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002449/4.228, allocations: 112 kB / 1.546 GB, free: 266.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007237/4.235, allocations: 287.6 kB / 1.546 GB, free: 266.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003764/4.239, allocations: 0.5182 MB / 1.547 GB, free: 266.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001456/4.241, allocations: 148 kB / 1.547 GB, free: 265.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00396/4.245, allocations: 1.749 MB / 1.549 GB, free: 264.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.242e-06/4.245, allocations: 0 / 1.549 GB, free: 264.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01364/4.258, allocations: 2.441 MB / 1.551 GB, free: 261.8 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.001827/4.26, allocations: 239.8 kB / 1.551 GB, free: 261.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04608/4.306, allocations: 14.49 MB / 1.565 GB, free: 246.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.211e-05/4.306, allocations: 7.938 kB / 1.565 GB, free: 246.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.04579/4.352, allocations: 9.362 MB / 1.575 GB, free: 237.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01476/4.367, allocations: 1.205 MB / 1.576 GB, free: 236.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05535/4.422, allocations: 18.12 MB / 1.593 GB, free: 217.9 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01006/4.433, allocations: 5.017 MB / 1.598 GB, free: 212.9 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005129/4.438, allocations: 0.741 MB / 1.599 GB, free: 212.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/4.439, allocations: 199.4 kB / 1.599 GB, free: 211.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.443e-06/4.439, allocations: 0 / 1.599 GB, free: 211.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.309/4.748, allocations: 135.3 MB / 1.731 GB, free: 77.43 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)