Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.577/1.577, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 176.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 0.6626 GB, free: 4.359 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008428/0.0008428, allocations: 104.6 kB / 0.7808 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004075, allocations: 16.62 kB / 0.9088 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6148/0.6152, allocations: 120.3 MB / 1.026 GB, free: 56.66 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2113/0.8266, allocations: 188.6 MB / 1.21 GB, free: 1.59 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.8269, allocations: 97.53 kB / 1.211 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.011/1.838, allocations: 292 MB / 1.496 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.324e-06/1.838, allocations: 3.938 kB / 1.496 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005772/1.839, allocations: 151.8 kB / 1.496 GB, free: 115.1 MB / 0.8855 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.01746/1.856, allocations: 5.073 MB / 1.501 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.856, allocations: 8.031 kB / 1.501 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/1.867, allocations: 1.499 MB / 1.502 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/1.879, allocations: 4.318 MB / 1.507 GB, free: 104 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/1.879, allocations: 378 kB / 1.507 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002566/1.882, allocations: 0.4998 MB / 1.507 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/1.903, allocations: 8.423 MB / 1.516 GB, free: 94.27 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003334/1.903, allocations: 31.67 kB / 1.516 GB, free: 94.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/1.905, allocations: 224 kB / 1.516 GB, free: 94.02 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003534/1.905, allocations: 333.9 kB / 1.516 GB, free: 93.69 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/1.92, allocations: 6.445 MB / 1.522 GB, free: 87.23 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04793/1.968, allocations: 40.02 MB / 1.562 GB, free: 43.99 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/1.972, allocations: 2.808 MB / 1.564 GB, free: 41.17 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003537/1.976, allocations: 2.581 MB / 1.567 GB, free: 38.58 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003054/1.976, allocations: 30.09 kB / 1.567 GB, free: 38.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/1.976, allocations: 60.66 kB / 1.567 GB, free: 38.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=265): time 5.35e-06/1.976, allocations: 0 / 1.567 GB, free: 38.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=424): time 0.2364/2.212, allocations: 64.96 MB / 1.63 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/2.212, allocations: 94.73 kB / 1.63 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003953/2.216, allocations: 2.238 MB / 1.633 GB, free: 2.527 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000893/2.217, allocations: 97.7 kB / 1.633 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001816/2.219, allocations: 2.333 MB / 1.635 GB, free: 72 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00208/2.221, allocations: 1.448 MB / 1.636 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007136/2.222, allocations: 84 kB / 1.636 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003564/2.222, allocations: 487.3 kB / 1.637 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004553/2.227, allocations: 2.773 MB / 1.64 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005271/2.232, allocations: 3.758 MB / 1.643 GB, free: 7.094 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/2.243, allocations: 7.127 MB / 1.65 GB, free: 15.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.989e-05/2.243, allocations: 15.88 kB / 1.65 GB, free: 15.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02878/2.272, allocations: 11.8 MB / 1.662 GB, free: 3.648 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/2.272, allocations: 16 kB / 1.662 GB, free: 3.633 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.276e-05/2.272, allocations: 32.16 kB / 1.662 GB, free: 3.602 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01696/2.289, allocations: 5.003 MB / 1.667 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/2.291, allocations: 0.5031 MB / 1.667 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.523/2.814, allocations: 64.9 MB / 1.731 GB, free: 173.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003936/2.818, allocations: 190 kB / 1.731 GB, free: 173.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005186/2.818, allocations: 163.4 kB / 1.731 GB, free: 173.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (275): * Single equations (assignments): 251 * 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,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004289/2.823, allocations: 2 MB / 1.733 GB, free: 173.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009322/2.824, allocations: 387.7 kB / 1.733 GB, free: 173.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02271/2.846, allocations: 11.56 MB / 1.745 GB, free: 173.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.636e-05/2.846, allocations: 47.31 kB / 1.745 GB, free: 173.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002073/2.847, allocations: 46.97 kB / 1.745 GB, free: 173.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-05/2.847, allocations: 20.62 kB / 1.745 GB, free: 173.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03544/2.882, allocations: 17.91 MB / 1.762 GB, free: 169.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-05/2.882, allocations: 8.281 kB / 1.762 GB, free: 169.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/2.884, allocations: 290 kB / 1.762 GB, free: 169.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01501/2.899, allocations: 4.518 MB / 1.767 GB, free: 168.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008599/2.9, allocations: 79.03 kB / 1.767 GB, free: 168.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06498/2.965, allocations: 62.45 MB / 1.828 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/2.965, allocations: 18.84 kB / 1.828 GB, free: 122.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02681/2.992, allocations: 14.64 MB / 1.842 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003071/2.995, allocations: 0.9687 MB / 1.843 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001477/2.996, allocations: 85.92 kB / 1.843 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/3, allocations: 175.3 kB / 1.843 GB, free: 116 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002067/3.002, allocations: 409.4 kB / 1.844 GB, free: 116 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005211/3.002, allocations: 105.2 kB / 1.844 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003296/3.006, allocations: 1.458 MB / 1.845 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.11e-07/3.006, allocations: 0 / 1.845 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00829/3.014, allocations: 1.754 MB / 1.847 GB, free: 115.2 MB / 0.9636 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,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000876/3.015, allocations: 227.4 kB / 1.847 GB, free: 115 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02005/3.035, allocations: 11.63 MB / 1.859 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/3.035, allocations: 3.25 kB / 1.859 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01512/3.05, allocations: 8.096 MB / 1.867 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01032/3.06, allocations: 1.024 MB / 1.868 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/3.086, allocations: 14.08 MB / 1.881 GB, free: 95.88 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005931/3.092, allocations: 4.092 MB / 1.885 GB, free: 94.43 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002902/3.095, allocations: 0.6717 MB / 1.886 GB, free: 94.33 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/3.096, allocations: 177.7 kB / 1.886 GB, free: 94.32 MB / 0.9636 GB Notification: Performance of SimCode: time 1.453e-06/3.096, allocations: 0 / 1.886 GB, free: 94.32 MB / 0.9636 GB Notification: Performance of Templates: time 0.1376/3.233, allocations: 95.47 MB / 1.979 GB, free: 38.21 MB / 0.9636 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)