Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008409/0.000841, allocations: 91.53 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008805/0.0008807, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 222.1 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.687/1.687, allocations: 252 MB / 0.5102 GB, free: 4.836 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005349/0.0005349, allocations: 15.98 kB / 0.6243 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5718/0.5723, allocations: 106.3 MB / 0.7281 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03334/0.6057, allocations: 34.17 MB / 0.7615 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01976/0.6255, allocations: 12.45 MB / 0.7737 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.6291, allocations: 143.1 kB / 0.7738 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.6316, allocations: 0.7519 MB / 0.7745 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005707/0.6373, allocations: 2.056 MB / 0.7765 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004911/0.6423, allocations: 1.613 MB / 0.7781 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01258/0.6549, allocations: 10.59 MB / 0.7885 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01933/0.6742, allocations: 11.45 MB / 0.7996 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/0.6798, allocations: 2.949 MB / 0.8025 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006856/0.6867, allocations: 3.765 MB / 0.8062 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001583/0.6883, allocations: 320 kB / 0.8065 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003657/0.692, allocations: 0.7766 MB / 0.8073 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003601/0.6956, allocations: 2.443 MB / 0.8096 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00242/0.698, allocations: 1.175 MB / 0.8108 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.7087, allocations: 9.726 MB / 0.8203 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7087, allocations: 0 / 0.8203 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7087, allocations: 0 / 0.8203 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003333/0.7091, allocations: 0 / 0.8203 GB, free: 12.77 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01238/0.7214, allocations: 5.2 MB / 0.8254 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.7215, allocations: 12.03 kB / 0.8254 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008418/0.7299, allocations: 1.304 MB / 0.8266 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007284/0.7373, allocations: 3.472 MB / 0.83 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/0.7376, allocations: 378.1 kB / 0.8304 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/0.7392, allocations: 0.4919 MB / 0.8309 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/0.7601, allocations: 8.843 MB / 0.8395 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003148/0.7604, allocations: 27.72 kB / 0.8395 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001508/0.7619, allocations: 224 kB / 0.8398 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001931/0.7639, allocations: 0.6304 MB / 0.8404 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0146/0.7785, allocations: 6.975 MB / 0.8472 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05546/0.834, allocations: 40.39 MB / 0.8866 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004517/0.8385, allocations: 2.884 MB / 0.8894 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003996/0.8425, allocations: 2.655 MB / 0.892 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000302/0.8429, allocations: 26.09 kB / 0.8921 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.384e-05/0.8429, allocations: 68.61 kB / 0.8921 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 4.909e-06/0.843, allocations: 0 / 0.8921 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.7393/1.582, allocations: 77.42 MB / 0.9677 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/1.582, allocations: 94.73 kB / 0.9678 GB, free: 118.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/1.585, allocations: 2.332 MB / 0.9701 GB, free: 116.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006884/1.586, allocations: 97.7 kB / 0.9702 GB, free: 116.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/1.587, allocations: 2.339 MB / 0.9725 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001297/1.588, allocations: 1.435 MB / 0.9739 GB, free: 112.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/1.588, allocations: 92 kB / 0.974 GB, free: 112.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.589, allocations: 487.2 kB / 0.9744 GB, free: 112 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003434/1.592, allocations: 2.98 MB / 0.9773 GB, free: 109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003724/1.596, allocations: 3.831 MB / 0.9811 GB, free: 104.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003962/1.6, allocations: 3.548 MB / 0.9845 GB, free: 101.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/1.6, allocations: 8 kB / 0.9846 GB, free: 101.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02257/1.622, allocations: 12.49 MB / 0.9968 GB, free: 88.65 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/1.622, allocations: 16.97 kB / 0.9968 GB, free: 88.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/1.623, allocations: 20 kB / 0.9968 GB, free: 88.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0187/1.641, allocations: 6.023 MB / 1.003 GB, free: 82.53 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/1.643, allocations: 495.2 kB / 1.003 GB, free: 82.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06387/1.707, allocations: 67.18 MB / 1.069 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004133/1.711, allocations: 211.8 kB / 1.069 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000522/1.712, allocations: 160 kB / 1.069 GB, free: 11.37 MB / 0.7169 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003684/1.716, allocations: 1.992 MB / 1.071 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008636/1.716, allocations: 387.4 kB / 1.071 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02426/1.741, allocations: 12.18 MB / 1.083 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-05/1.741, allocations: 40 kB / 1.083 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001713/1.741, allocations: 59.94 kB / 1.083 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.829e-05/1.741, allocations: 23.86 kB / 1.083 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03896/1.78, allocations: 19.11 MB / 1.102 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.592e-05/1.78, allocations: 8 kB / 1.102 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.782, allocations: 287.5 kB / 1.102 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01972/1.801, allocations: 5.577 MB / 1.108 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008429/1.802, allocations: 83.98 kB / 1.108 GB, free: 3.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07839/1.881, allocations: 64.81 MB / 1.171 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.881, allocations: 8 kB / 1.171 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03199/1.913, allocations: 15.56 MB / 1.186 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003352/1.916, allocations: 1.051 MB / 1.187 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009123/1.917, allocations: 83.98 kB / 1.188 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/1.92, allocations: 211.7 kB / 1.188 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001513/1.921, allocations: 402.3 kB / 1.188 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003086/1.921, allocations: 108 kB / 1.188 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002367/1.924, allocations: 1.533 MB / 1.19 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.31e-07/1.924, allocations: 0 / 1.19 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.007331/1.931, allocations: 1.848 MB / 1.191 GB, free: 10.27 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000697/1.932, allocations: 221.5 kB / 1.192 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0214/1.953, allocations: 12.19 MB / 1.204 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.491e-05/1.953, allocations: 4 kB / 1.204 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01905/1.972, allocations: 8.368 MB / 1.212 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009482/1.982, allocations: 1.118 MB / 1.213 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0234/2.005, allocations: 14.25 MB / 1.227 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004714/2.01, allocations: 4.086 MB / 1.231 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002603/2.013, allocations: 0.6708 MB / 1.231 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/2.013, allocations: 175.4 kB / 1.232 GB, free: 496 kB / 0.8731 GB Notification: Performance of SimCode: time 7.51e-07/2.013, allocations: 0 / 1.232 GB, free: 496 kB / 0.8731 GB Notification: Performance of Templates: time 0.6125/2.626, allocations: 102.5 MB / 1.332 GB, free: 214.7 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) Environment - environmentSimulation: