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 3.103/3.103, allocations: 287.5 MB / 302.4 MB, free: 8.23 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.001426/0.001426, allocations: 186.3 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.164/2.164, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008816/0.0008815, allocations: 91.58 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004928, allocations: 13.66 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2529, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05581/0.3088, allocations: 37.42 MB / 1.015 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0425/0.3514, allocations: 14.4 MB / 1.029 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005206/0.3566, allocations: 159.1 kB / 1.029 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004652/0.3613, allocations: 0.8372 MB / 1.03 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009981/0.3714, allocations: 2.336 MB / 1.032 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.009277/0.3807, allocations: 1.9 MB / 1.034 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02241/0.4032, allocations: 12.67 MB / 1.046 GB, free: 6.453 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03716/0.4404, allocations: 13.97 MB / 1.06 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00999/0.4504, allocations: 3.549 MB / 1.064 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.012/0.4625, allocations: 4.641 MB / 1.068 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.8411/1.304, allocations: 395.9 kB / 1.068 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009584/1.313, allocations: 0.8783 MB / 1.069 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.01181/1.325, allocations: 2.965 MB / 1.072 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.007945/1.333, allocations: 1.385 MB / 1.074 GB, free: 25.58 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.03376/1.367, allocations: 11.75 MB / 1.085 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/1.367, allocations: 1.062 kB / 1.085 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.146e-06/1.367, allocations: 0 / 1.085 GB, free: 25.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005998/1.368, allocations: 1.625 kB / 1.085 GB, free: 25.09 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.0424/1.41, allocations: 6.227 MB / 1.091 GB, free: 22.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/1.41, allocations: 13.08 kB / 1.091 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0269/1.437, allocations: 1.515 MB / 1.093 GB, free: 22.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01664/1.454, allocations: 4.102 MB / 1.097 GB, free: 21.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009978/1.455, allocations: 460.1 kB / 1.097 GB, free: 21.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00492/1.46, allocations: 0.5922 MB / 1.098 GB, free: 21.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04423/1.504, allocations: 10.64 MB / 1.108 GB, free: 20.26 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006341/1.505, allocations: 29.25 kB / 1.108 GB, free: 20.25 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004203/1.509, allocations: 262.4 kB / 1.108 GB, free: 20.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005687/1.515, allocations: 0.7761 MB / 1.109 GB, free: 20.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0332/1.548, allocations: 8.513 MB / 1.117 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1491/1.697, allocations: 46.95 MB / 1.163 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01803/1.715, allocations: 4.307 MB / 1.167 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01448/1.73, allocations: 3.681 MB / 1.171 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000896/1.731, allocations: 35.28 kB / 1.171 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/1.731, allocations: 72.59 kB / 1.171 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=353): time 1.13e-05/1.731, allocations: 0 / 1.171 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578): time 1.27/3.001, allocations: 127.9 MB / 1.296 GB, free: 13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/3.001, allocations: 111.9 kB / 1.296 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007177/3.008, allocations: 2.657 MB / 1.299 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001861/3.01, allocations: 121.7 kB / 1.299 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.003378/3.014, allocations: 2.679 MB / 1.301 GB, free: 7.395 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.004428/3.018, allocations: 1.954 MB / 1.303 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/3.019, allocations: 108 kB / 1.303 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005868/3.02, allocations: 0.5217 MB / 1.304 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01267/3.033, allocations: 4.056 MB / 1.308 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01499/3.048, allocations: 5.001 MB / 1.313 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0148/3.063, allocations: 4.819 MB / 1.318 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-05/3.063, allocations: 8 kB / 1.318 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.07852/3.141, allocations: 16.92 MB / 1.334 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/3.141, allocations: 16 kB / 1.334 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-05/3.141, allocations: 20 kB / 1.334 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06112/3.203, allocations: 9.054 MB / 1.343 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004861/3.207, allocations: 0.5258 MB / 1.343 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1904/3.398, allocations: 70.61 MB / 1.412 GB, free: 4.375 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009639/3.408, allocations: 279.8 kB / 1.413 GB, free: 4.102 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001871/3.41, allocations: 192 kB / 1.413 GB, free: 3.914 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.00983/3.419, allocations: 2.418 MB / 1.415 GB, free: 1.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002643/3.422, allocations: 470.5 kB / 1.416 GB, free: 1.055 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07791/3.5, allocations: 16.76 MB / 1.432 GB, free: 424 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-05/3.5, allocations: 52 kB / 1.432 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002828/3.5, allocations: 75.98 kB / 1.432 GB, free: 296 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001608/3.501, allocations: 23.91 kB / 1.432 GB, free: 272 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.854/4.355, allocations: 25.61 MB / 1.457 GB, free: 336.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001039/4.355, allocations: 7.219 kB / 1.457 GB, free: 336.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/4.358, allocations: 324.5 kB / 1.457 GB, free: 336.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05205/4.41, allocations: 8.271 MB / 1.466 GB, free: 334.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001595/4.412, allocations: 101.3 kB / 1.466 GB, free: 334.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1793/4.591, allocations: 67.46 MB / 1.532 GB, free: 285.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/4.591, allocations: 11.94 kB / 1.532 GB, free: 285.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07193/4.663, allocations: 21.47 MB / 1.553 GB, free: 264.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005634/4.669, allocations: 1.358 MB / 1.554 GB, free: 262.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002659/4.672, allocations: 116 kB / 1.554 GB, free: 262.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007726/4.679, allocations: 287.6 kB / 1.554 GB, free: 262.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003273/4.683, allocations: 0.5182 MB / 1.555 GB, free: 261.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001237/4.684, allocations: 144 kB / 1.555 GB, free: 261.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003896/4.688, allocations: 1.753 MB / 1.557 GB, free: 260 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.01e-07/4.688, allocations: 0 / 1.557 GB, free: 260 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01384/4.702, allocations: 2.442 MB / 1.559 GB, free: 257.5 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.001834/4.704, allocations: 237.9 kB / 1.559 GB, free: 257.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04261/4.746, allocations: 14.48 MB / 1.573 GB, free: 242.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/4.746, allocations: 5 kB / 1.573 GB, free: 242.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.03077/4.777, allocations: 9.377 MB / 1.582 GB, free: 233.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01322/4.79, allocations: 1.283 MB / 1.584 GB, free: 231.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04265/4.833, allocations: 18.1 MB / 1.601 GB, free: 213.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01099/4.844, allocations: 4.896 MB / 1.606 GB, free: 208.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004884/4.849, allocations: 0.7449 MB / 1.607 GB, free: 207.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/4.851, allocations: 195.4 kB / 1.607 GB, free: 207.8 MB / 0.9636 GB Notification: Performance of SimCode: time 2.024e-06/4.851, allocations: 4 kB / 1.607 GB, free: 207.8 MB / 0.9636 GB Notification: Performance of Templates: time 0.4119/5.263, allocations: 135.3 MB / 1.739 GB, free: 73.22 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)