Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.00129/0.00129, allocations: 190.3 kB / 377.1 MB, free: 1.52 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.585/1.585, allocations: 205.4 MB / 0.6367 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009379/0.0009378, allocations: 90.64 kB / 0.751 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003554, allocations: 16 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.287, allocations: 116.3 MB / 0.9884 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8586/1.146, allocations: 171.9 MB / 1.156 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003706/1.146, allocations: 100.7 kB / 1.156 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.453/1.599, allocations: 180.5 MB / 1.333 GB, free: 3.953 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.647e-06/1.599, allocations: 0 / 1.333 GB, free: 3.953 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0003575/1.6, allocations: 120 kB / 1.333 GB, free: 3.836 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.016/1.616, allocations: 4.115 MB / 1.337 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/1.616, allocations: 12.03 kB / 1.337 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007708/1.623, allocations: 0.9357 MB / 1.338 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/1.634, allocations: 3.001 MB / 1.341 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/1.634, allocations: 345.3 kB / 1.341 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002285/1.637, allocations: 463.9 kB / 1.341 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/1.655, allocations: 7.314 MB / 1.348 GB, free: 3.078 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002176/1.655, allocations: 27.77 kB / 1.349 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006209/1.656, allocations: 204 kB / 1.349 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003438/1.656, allocations: 283.9 kB / 1.349 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/1.669, allocations: 5.176 MB / 1.354 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7558/2.425, allocations: 35.07 MB / 1.388 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/2.428, allocations: 2.138 MB / 1.39 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.302e-05/2.428, allocations: 16.69 kB / 1.39 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/2.428, allocations: 49.09 kB / 1.39 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=133): time 5.029e-06/2.428, allocations: 3.562 kB / 1.39 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=136): time 0.01568/2.443, allocations: 7.062 MB / 1.397 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/2.444, allocations: 65.72 kB / 1.397 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/2.446, allocations: 1.271 MB / 1.399 GB, free: 143.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.31e-05/2.446, allocations: 50.11 kB / 1.399 GB, free: 143 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/2.448, allocations: 1.989 MB / 1.401 GB, free: 142.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005018/2.448, allocations: 490.7 kB / 1.401 GB, free: 142 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/2.449, allocations: 36.03 kB / 1.401 GB, free: 142 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001688/2.449, allocations: 379.9 kB / 1.402 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/2.45, allocations: 0.8977 MB / 1.402 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/2.452, allocations: 1.557 MB / 1.404 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/2.454, allocations: 1.167 MB / 1.405 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/2.454, allocations: 6.219 kB / 1.405 GB, free: 140.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007031/2.461, allocations: 3.489 MB / 1.408 GB, free: 140.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/2.461, allocations: 17.48 kB / 1.408 GB, free: 140.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/2.461, allocations: 23 kB / 1.408 GB, free: 140.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/2.464, allocations: 0.896 MB / 1.409 GB, free: 140.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/2.465, allocations: 345.9 kB / 1.41 GB, free: 140.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/2.483, allocations: 21.55 MB / 1.431 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/2.485, allocations: 103.6 kB / 1.431 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/2.485, allocations: 83.69 kB / 1.431 GB, free: 125.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004548/2.49, allocations: 1.606 MB / 1.432 GB, free: 125.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000739/2.491, allocations: 208.8 kB / 1.433 GB, free: 125 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005134/2.496, allocations: 2.977 MB / 1.436 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/2.496, allocations: 13.5 kB / 1.436 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/2.496, allocations: 9.344 kB / 1.436 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/2.496, allocations: 14.11 kB / 1.436 GB, free: 124.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/2.51, allocations: 7.256 MB / 1.443 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/2.51, allocations: 6.031 kB / 1.443 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007362/2.511, allocations: 181.4 kB / 1.443 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/2.513, allocations: 0.823 MB / 1.444 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.389e-05/2.514, allocations: 28.78 kB / 1.444 GB, free: 123.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/2.529, allocations: 20.62 MB / 1.464 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/2.529, allocations: 9.625 kB / 1.464 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005416/2.534, allocations: 3.296 MB / 1.467 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/2.536, allocations: 458.3 kB / 1.468 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/2.536, allocations: 33.92 kB / 1.468 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/2.537, allocations: 73.86 kB / 1.468 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/2.537, allocations: 126.8 kB / 1.468 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/2.537, allocations: 36.88 kB / 1.468 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001394/2.539, allocations: 0.9654 MB / 1.469 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.583e-06/2.539, allocations: 3.125 kB / 1.469 GB, free: 107.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003779/2.542, allocations: 0.8273 MB / 1.47 GB, free: 107.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003006/2.543, allocations: 149.1 kB / 1.47 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005273/2.548, allocations: 3.976 MB / 1.474 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/2.548, allocations: 3.25 kB / 1.474 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003281/2.551, allocations: 2.734 MB / 1.476 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/2.554, allocations: 0.6405 MB / 1.477 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/2.57, allocations: 8.71 MB / 1.485 GB, free: 100.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003536/2.574, allocations: 3.179 MB / 1.488 GB, free: 99.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002032/2.576, allocations: 461.7 kB / 1.489 GB, free: 99.46 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/2.576, allocations: 114.6 kB / 1.489 GB, free: 99.45 MB / 0.9323 GB Notification: Performance of SimCode: time 1.543e-06/2.576, allocations: 0 / 1.489 GB, free: 99.45 MB / 0.9323 GB Notification: Performance of Templates: time 0.08202/2.658, allocations: 33.41 MB / 1.522 GB, free: 97.96 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)