Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.613/1.613, allocations: 297.8 MB / 313.7 MB, free: 132 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.0009284/0.0009284, allocations: 188.5 kB / 384.6 MB, free: 10.86 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.328/1.328, allocations: 223.2 MB / 0.6626 GB, free: 4.363 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.0007794/0.0007795, allocations: 94.95 kB / 0.7808 GB, free: 43.69 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 12.75 kB / 0.9088 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6013/0.6017, allocations: 120.3 MB / 1.026 GB, free: 56.52 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/0.8254, allocations: 191.5 MB / 1.213 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.8258, allocations: 100.9 kB / 1.213 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.08218/0.908, allocations: 34.95 MB / 1.248 GB, free: 11.32 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.908, allocations: 0 / 1.248 GB, free: 11.32 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.695e-05/0.9081, allocations: 23.98 kB / 1.248 GB, free: 11.3 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001935/0.91, allocations: 0.853 MB / 1.248 GB, free: 10.39 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.9101, allocations: 8.031 kB / 1.248 GB, free: 10.39 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.9117, allocations: 207.7 kB / 1.249 GB, free: 10.18 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.9128, allocations: 0.5101 MB / 1.249 GB, free: 9.633 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.9129, allocations: 42.11 kB / 1.249 GB, free: 9.59 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.9131, allocations: 55.91 kB / 1.249 GB, free: 9.535 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.9144, allocations: 0.8684 MB / 1.25 GB, free: 8.559 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.9144, allocations: 15.92 kB / 1.25 GB, free: 8.543 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.9145, allocations: 20 kB / 1.25 GB, free: 8.523 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.316e-05/0.9146, allocations: 48.97 kB / 1.25 GB, free: 8.477 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009508/0.9155, allocations: 0.5658 MB / 1.251 GB, free: 7.91 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004733/0.9203, allocations: 4.608 MB / 1.255 GB, free: 2.957 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.9208, allocations: 290.4 kB / 1.255 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.9211, allocations: 228.7 kB / 1.256 GB, free: 2.438 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.9211, allocations: 4 kB / 1.256 GB, free: 2.434 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.9212, allocations: 38.56 kB / 1.256 GB, free: 2.387 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/0.9212, allocations: 0 / 1.256 GB, free: 2.387 MB / 0.823 GB Notification: Performance of matching and sorting (n=40): time 0.005532/0.9267, allocations: 2.641 MB / 1.258 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.9268, allocations: 55.41 kB / 1.258 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/0.9274, allocations: 462 kB / 1.259 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.9274, allocations: 41.64 kB / 1.259 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.9277, allocations: 335.8 kB / 1.259 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.9278, allocations: 145.9 kB / 1.259 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.9279, allocations: 12 kB / 1.259 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.9281, allocations: 366.8 kB / 1.26 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.9284, allocations: 229 kB / 1.26 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.9289, allocations: 379.9 kB / 1.26 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008495/0.9297, allocations: 0.6526 MB / 1.261 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.9297, allocations: 4 kB / 1.261 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001638/0.9314, allocations: 0.9056 MB / 1.262 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.9314, allocations: 8 kB / 1.262 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.9314, allocations: 4 kB / 1.262 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007821/0.9322, allocations: 222.4 kB / 1.262 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.9327, allocations: 111.8 kB / 1.262 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004879/0.9376, allocations: 4.932 MB / 1.267 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.9382, allocations: 31.91 kB / 1.267 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.9382, allocations: 24.06 kB / 1.267 GB, free: 6.152 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000395/0.9386, allocations: 222.2 kB / 1.267 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.9388, allocations: 59.25 kB / 1.267 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.9403, allocations: 0.774 MB / 1.268 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.9403, allocations: 4 kB / 1.268 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9403, allocations: 4 kB / 1.268 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.9403, allocations: 0 / 1.268 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.9428, allocations: 1.482 MB / 1.269 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.9428, allocations: 4 kB / 1.269 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.9432, allocations: 67.88 kB / 1.27 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006711/0.9439, allocations: 210.5 kB / 1.27 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.944, allocations: 11.94 kB / 1.27 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004481/0.9484, allocations: 4.868 MB / 1.274 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9485, allocations: 4.062 kB / 1.274 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.9504, allocations: 1.127 MB / 1.276 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/0.9507, allocations: 176.4 kB / 1.276 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.9509, allocations: 15.98 kB / 1.276 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.9512, allocations: 28.03 kB / 1.276 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.9513, allocations: 43.83 kB / 1.276 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.9514, allocations: 8 kB / 1.276 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004341/0.9518, allocations: 310.9 kB / 1.276 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9518, allocations: 0 / 1.276 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007889/0.9526, allocations: 180 kB / 1.276 GB, free: 11.99 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002236/0.9529, allocations: 119.2 kB / 1.276 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.9545, allocations: 0.9856 MB / 1.277 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.9545, allocations: 4 kB / 1.277 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009196/0.9555, allocations: 0.6879 MB / 1.278 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.9565, allocations: 164.4 kB / 1.278 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.9589, allocations: 1.513 MB / 1.28 GB, free: 8.387 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006443/0.9595, allocations: 0.9416 MB / 1.281 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004231/0.96, allocations: 116.8 kB / 1.281 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.9601, allocations: 39.44 kB / 1.281 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of SimCode: time 3.6e-07/0.9601, allocations: 0 / 1.281 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of Templates: time 0.01634/0.9764, allocations: 8.279 MB / 1.289 GB, free: 15.1 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)