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_RLC_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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 288.3 MB / 303.2 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.00157/0.00157, allocations: 180 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.84/1.84, allocations: 205.4 MB / 0.6306 GB, free: 9.996 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.001076/0.001075, allocations: 97.2 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004167, allocations: 11.88 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2459, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0302/0.2761, allocations: 35.68 MB / 1.014 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02562/0.3018, allocations: 14.52 MB / 1.028 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007626/0.3095, allocations: 159 kB / 1.029 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00477/0.3143, allocations: 0.8423 MB / 1.029 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008964/0.3233, allocations: 2.095 MB / 1.031 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00777/0.3311, allocations: 1.929 MB / 1.033 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.343, allocations: 5.694 MB / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02763/0.3707, allocations: 13.95 MB / 1.053 GB, free: 0.5977 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008201/0.3789, allocations: 3.138 MB / 1.056 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008333/0.3873, allocations: 3.302 MB / 1.059 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003244/0.3906, allocations: 396 kB / 1.059 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005442/0.396, allocations: 0.761 MB / 1.06 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005817/0.4019, allocations: 2.728 MB / 1.063 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004036/0.4059, allocations: 1.381 MB / 1.064 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.6221/1.028, allocations: 11.59 MB / 1.075 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.028, allocations: 0 / 1.075 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.785e-06/1.028, allocations: 0 / 1.075 GB, free: 27.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005941/1.029, allocations: 1.375 kB / 1.075 GB, free: 27.88 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.03386/1.063, allocations: 6.184 MB / 1.081 GB, free: 25.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.059e-05/1.063, allocations: 12.7 kB / 1.081 GB, free: 25.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02309/1.086, allocations: 1.511 MB / 1.083 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02585/1.112, allocations: 4.096 MB / 1.087 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001628/1.113, allocations: 457.7 kB / 1.087 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006743/1.12, allocations: 0.5942 MB / 1.088 GB, free: 24.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03992/1.16, allocations: 10.58 MB / 1.098 GB, free: 23.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00055/1.161, allocations: 30.8 kB / 1.098 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004259/1.165, allocations: 268 kB / 1.098 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003677/1.169, allocations: 0.7716 MB / 1.099 GB, free: 23.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/1.193, allocations: 8.519 MB / 1.108 GB, free: 22.87 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0784/1.272, allocations: 46.97 MB / 1.153 GB, free: 4.422 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007136/1.279, allocations: 4.296 MB / 1.158 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006077/1.28, allocations: 39.89 kB / 1.158 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/1.28, allocations: 78.06 kB / 1.158 GB, free: 2.008 MB / 0.698 GB Notification: Performance of pre-optimization done (n=353): time 8.977e-06/1.28, allocations: 0 / 1.158 GB, free: 2.008 MB / 0.698 GB Notification: Performance of matching and sorting (n=578): time 0.542/1.822, allocations: 127.9 MB / 1.283 GB, free: 7.719 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.458e-05/1.822, allocations: 111.9 kB / 1.283 GB, free: 7.594 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00446/1.826, allocations: 2.658 MB / 1.285 GB, free: 4.938 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0019/1.828, allocations: 125.5 kB / 1.285 GB, free: 4.812 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002342/1.831, allocations: 2.69 MB / 1.288 GB, free: 2.102 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003069/1.834, allocations: 1.94 MB / 1.29 GB, free: 180 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005522/1.834, allocations: 112 kB / 1.29 GB, free: 68 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0004099/1.835, allocations: 0.5264 MB / 1.291 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006706/1.842, allocations: 4.052 MB / 1.294 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008135/1.85, allocations: 4.975 MB / 1.299 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007941/1.858, allocations: 4.821 MB / 1.304 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-05/1.858, allocations: 4 kB / 1.304 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04301/1.901, allocations: 16.92 MB / 1.321 GB, free: 0.6875 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/1.901, allocations: 14.19 kB / 1.321 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.965e-05/1.901, allocations: 24 kB / 1.321 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03245/1.933, allocations: 9.059 MB / 1.329 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/1.936, allocations: 0.5262 MB / 1.33 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1106/2.047, allocations: 73.67 MB / 1.402 GB, free: 12.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007105/2.054, allocations: 287.7 kB / 1.402 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001743/2.056, allocations: 192 kB / 1.402 GB, free: 11.6 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.006393/2.062, allocations: 2.418 MB / 1.405 GB, free: 9.203 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/2.064, allocations: 474.5 kB / 1.405 GB, free: 8.734 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04015/2.104, allocations: 16.76 MB / 1.422 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.602e-05/2.104, allocations: 56 kB / 1.422 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002207/2.104, allocations: 76.12 kB / 1.422 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001313/2.104, allocations: 27.89 kB / 1.422 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5122/2.617, allocations: 25.61 MB / 1.447 GB, free: 339.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.992e-05/2.617, allocations: 9.375 kB / 1.447 GB, free: 339.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/2.619, allocations: 323 kB / 1.447 GB, free: 339.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02793/2.647, allocations: 8.269 MB / 1.455 GB, free: 337.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001379/2.648, allocations: 107.6 kB / 1.455 GB, free: 337.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08763/2.736, allocations: 70.52 MB / 1.524 GB, free: 289.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/2.736, allocations: 11.94 kB / 1.524 GB, free: 289.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04087/2.777, allocations: 22.18 MB / 1.546 GB, free: 267.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004125/2.781, allocations: 1.366 MB / 1.547 GB, free: 265.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/2.782, allocations: 107.7 kB / 1.547 GB, free: 265.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003994/2.786, allocations: 283.6 kB / 1.547 GB, free: 265.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001722/2.788, allocations: 0.5222 MB / 1.548 GB, free: 264.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004372/2.789, allocations: 152 kB / 1.548 GB, free: 264.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002425/2.791, allocations: 1.749 MB / 1.55 GB, free: 263 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.11e-07/2.791, allocations: 0 / 1.55 GB, free: 263 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01046/2.801, allocations: 2.438 MB / 1.552 GB, free: 260.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.001417/2.803, allocations: 244.7 kB / 1.552 GB, free: 260.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02487/2.828, allocations: 14.49 MB / 1.567 GB, free: 245.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/2.828, allocations: 0 / 1.567 GB, free: 245.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01812/2.846, allocations: 9.369 MB / 1.576 GB, free: 236.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007223/2.853, allocations: 1.189 MB / 1.577 GB, free: 234.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02733/2.881, allocations: 18.13 MB / 1.595 GB, free: 216.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006668/2.887, allocations: 5.021 MB / 1.6 GB, free: 211.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003144/2.891, allocations: 0.741 MB / 1.6 GB, free: 210.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/2.891, allocations: 199.4 kB / 1.6 GB, free: 210.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.162e-06/2.891, allocations: 0 / 1.6 GB, free: 210.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.1891/3.08, allocations: 135.3 MB / 1.733 GB, free: 76.29 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)