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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.81/1.81, allocations: 288.3 MB / 303.2 MB, free: 8.082 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.001218/0.001219, allocations: 187.7 kB / 371.9 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.778/1.778, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008793/0.0008793, allocations: 101.1 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.000374, allocations: 16.25 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2674, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.02663/0.2941, allocations: 32.63 MB / 1.011 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02204/0.3162, allocations: 12.53 MB / 1.024 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005187/0.3214, allocations: 139.1 kB / 1.024 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00347/0.3249, allocations: 0.7414 MB / 1.024 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008225/0.3332, allocations: 1.881 MB / 1.026 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005901/0.3391, allocations: 1.647 MB / 1.028 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00985/0.349, allocations: 4.817 MB / 1.033 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02164/0.3707, allocations: 11.42 MB / 1.044 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007243/0.378, allocations: 2.612 MB / 1.046 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007086/0.3851, allocations: 2.67 MB / 1.049 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.00221/0.3874, allocations: 316 kB / 1.049 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.3912, allocations: 0.6556 MB / 1.05 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004572/0.3958, allocations: 2.245 MB / 1.052 GB, free: 1.148 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003003/0.3989, allocations: 1.171 MB / 1.053 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.4111, allocations: 9.58 MB / 1.062 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4112, allocations: 0 / 1.062 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.156e-06/0.4112, allocations: 0 / 1.062 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000472/0.4117, allocations: 0 / 1.062 GB, free: 6.363 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01545/0.4271, allocations: 5.158 MB / 1.068 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.4272, allocations: 12.02 kB / 1.068 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5158/0.943, allocations: 1.285 MB / 1.069 GB, free: 79.26 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009981/0.953, allocations: 3.46 MB / 1.072 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/0.9534, allocations: 382.8 kB / 1.073 GB, free: 77.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001748/0.9552, allocations: 0.4976 MB / 1.073 GB, free: 77.74 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0245/0.9797, allocations: 8.801 MB / 1.082 GB, free: 74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003033/0.9801, allocations: 27.98 kB / 1.082 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001633/0.9817, allocations: 223 kB / 1.082 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002863/0.9846, allocations: 0.6285 MB / 1.082 GB, free: 73.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01913/1.004, allocations: 6.977 MB / 1.089 GB, free: 71.28 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05078/1.055, allocations: 40.39 MB / 1.129 GB, free: 37.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004703/1.059, allocations: 2.894 MB / 1.132 GB, free: 35.41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/1.06, allocations: 36.14 kB / 1.132 GB, free: 35.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/1.06, allocations: 59.69 kB / 1.132 GB, free: 35.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=265): time 3.998e-06/1.06, allocations: 0 / 1.132 GB, free: 35.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=424): time 0.3091/1.369, allocations: 77.4 MB / 1.207 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/1.369, allocations: 94.73 kB / 1.207 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004798/1.374, allocations: 2.336 MB / 1.21 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.375, allocations: 97.7 kB / 1.21 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002/1.377, allocations: 2.332 MB / 1.212 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002276/1.379, allocations: 1.445 MB / 1.213 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006675/1.38, allocations: 88 kB / 1.213 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003485/1.38, allocations: 483.3 kB / 1.214 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005395/1.386, allocations: 2.98 MB / 1.217 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006008/1.392, allocations: 3.812 MB / 1.221 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006073/1.398, allocations: 3.552 MB / 1.224 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-05/1.398, allocations: 4 kB / 1.224 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.032/1.43, allocations: 12.5 MB / 1.236 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.818e-05/1.43, allocations: 15.95 kB / 1.236 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-05/1.43, allocations: 28 kB / 1.236 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02439/1.455, allocations: 6.016 MB / 1.242 GB, free: 7.547 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/1.457, allocations: 495.2 kB / 1.243 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09098/1.548, allocations: 69.28 MB / 1.31 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/1.552, allocations: 215.8 kB / 1.311 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006725/1.553, allocations: 152 kB / 1.311 GB, free: 14.28 MB / 0.8386 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.003783/1.557, allocations: 1.994 MB / 1.313 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001117/1.558, allocations: 391.4 kB / 1.313 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02755/1.586, allocations: 12.19 MB / 1.325 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.766e-05/1.586, allocations: 40 kB / 1.325 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001472/1.586, allocations: 52 kB / 1.325 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.304e-05/1.586, allocations: 23.92 kB / 1.325 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04207/1.628, allocations: 19.11 MB / 1.344 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/1.628, allocations: 4 kB / 1.344 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/1.63, allocations: 292.3 kB / 1.344 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02054/1.65, allocations: 5.566 MB / 1.349 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009908/1.651, allocations: 87.98 kB / 1.349 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07906/1.73, allocations: 66.91 MB / 1.415 GB, free: 108 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.73, allocations: 15.94 kB / 1.415 GB, free: 92 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5075/2.238, allocations: 16.19 MB / 1.431 GB, free: 294.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003392/2.241, allocations: 1.049 MB / 1.432 GB, free: 294.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009676/2.242, allocations: 86.33 kB / 1.432 GB, free: 294.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/2.245, allocations: 217.2 kB / 1.432 GB, free: 294.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001432/2.246, allocations: 402.2 kB / 1.432 GB, free: 294.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002998/2.247, allocations: 106.3 kB / 1.432 GB, free: 294.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002815/2.25, allocations: 1.531 MB / 1.434 GB, free: 294.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.12e-07/2.25, allocations: 0 / 1.434 GB, free: 294.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008139/2.258, allocations: 1.85 MB / 1.436 GB, free: 294.1 MB / 0.9323 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.0008553/2.259, allocations: 221.6 kB / 1.436 GB, free: 294.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02257/2.281, allocations: 12.18 MB / 1.448 GB, free: 288.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/2.281, allocations: 3.938 kB / 1.448 GB, free: 288.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01566/2.297, allocations: 8.379 MB / 1.456 GB, free: 283.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005813/2.303, allocations: 1.04 MB / 1.457 GB, free: 283 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/2.326, allocations: 14.26 MB / 1.471 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004248/2.33, allocations: 4.188 MB / 1.475 GB, free: 274.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002648/2.333, allocations: 0.6645 MB / 1.476 GB, free: 273.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/2.333, allocations: 177.3 kB / 1.476 GB, free: 273.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.232e-06/2.333, allocations: 0 / 1.476 GB, free: 273.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.1409/2.474, allocations: 102.5 MB / 1.576 GB, free: 185.9 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)