Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 289.7 MB / 302.2 MB, free: 2.125 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.001124/0.001124, allocations: 183.2 kB / 371.6 MB, free: 3.363 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.805/1.805, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008721/0.0008721, allocations: 92.97 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.873e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2802, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8638/1.144, allocations: 188.9 MB / 1.164 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/1.144, allocations: 95.66 kB / 1.164 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.08986/1.234, allocations: 31.77 MB / 1.195 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.813e-06/1.234, allocations: 4 kB / 1.195 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.573e-05/1.234, allocations: 16 kB / 1.195 GB, free: 15.63 MB / 0.7761 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.001739/1.236, allocations: 0.7992 MB / 1.196 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/1.236, allocations: 12.03 kB / 1.196 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/1.238, allocations: 196.6 kB / 1.196 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/1.24, allocations: 0.4974 MB / 1.197 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/1.24, allocations: 46 kB / 1.197 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/1.24, allocations: 54.05 kB / 1.197 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/1.242, allocations: 0.8664 MB / 1.198 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/1.242, allocations: 3.938 kB / 1.198 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.582e-05/1.242, allocations: 21.88 kB / 1.198 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/1.242, allocations: 48.16 kB / 1.198 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/1.243, allocations: 0.5528 MB / 1.198 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006239/1.249, allocations: 4.609 MB / 1.203 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/1.25, allocations: 285.7 kB / 1.203 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/1.251, allocations: 227.8 kB / 1.203 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/1.251, allocations: 4 kB / 1.203 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.251, allocations: 33.56 kB / 1.203 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 2.885e-06/1.251, allocations: 0 / 1.203 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.006459/1.257, allocations: 2.205 MB / 1.206 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/1.257, allocations: 55.41 kB / 1.206 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006617/1.258, allocations: 398.7 kB / 1.206 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/1.258, allocations: 31.83 kB / 1.206 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/1.258, allocations: 334.7 kB / 1.206 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/1.258, allocations: 146.2 kB / 1.206 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/1.259, allocations: 9.438 kB / 1.207 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.259, allocations: 362.4 kB / 1.207 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/1.259, allocations: 237.4 kB / 1.207 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/1.26, allocations: 374 kB / 1.207 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/1.261, allocations: 285.8 kB / 1.208 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.261, allocations: 4 kB / 1.208 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002302/1.263, allocations: 0.8879 MB / 1.209 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/1.263, allocations: 8 kB / 1.209 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.263, allocations: 4 kB / 1.209 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/1.264, allocations: 223 kB / 1.209 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/1.265, allocations: 111.3 kB / 1.209 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007179/1.272, allocations: 4.923 MB / 1.214 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008452/1.273, allocations: 29.91 kB / 1.214 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/1.273, allocations: 23 kB / 1.214 GB, free: 14.45 MB / 0.7917 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 () * 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.0002261/1.273, allocations: 138.6 kB / 1.214 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/1.273, allocations: 61.84 kB / 1.214 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/1.276, allocations: 0.7664 MB / 1.215 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/1.276, allocations: 4 kB / 1.215 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.276, allocations: 4.188 kB / 1.215 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.276, allocations: 7.984 kB / 1.215 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/1.279, allocations: 1.475 MB / 1.216 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.279, allocations: 3.938 kB / 1.216 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/1.28, allocations: 71.75 kB / 1.216 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008943/1.281, allocations: 201.2 kB / 1.216 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/1.281, allocations: 14.67 kB / 1.216 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005848/1.287, allocations: 4.855 MB / 1.221 GB, free: 7.422 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/1.287, allocations: 4.031 kB / 1.221 GB, free: 7.418 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/1.289, allocations: 1.206 MB / 1.222 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/1.29, allocations: 169.8 kB / 1.223 GB, free: 6.254 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/1.29, allocations: 11.19 kB / 1.223 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/1.29, allocations: 31.08 kB / 1.223 GB, free: 6.223 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.29, allocations: 30.53 kB / 1.223 GB, free: 6.199 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/1.29, allocations: 23.08 kB / 1.223 GB, free: 6.18 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005443/1.291, allocations: 303.8 kB / 1.223 GB, free: 5.949 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.41e-07/1.291, allocations: 3.938 kB / 1.223 GB, free: 5.945 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001142/1.292, allocations: 180.3 kB / 1.223 GB, free: 5.789 MB / 0.7917 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 () * 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.0002488/1.292, allocations: 128.2 kB / 1.223 GB, free: 5.66 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002262/1.295, allocations: 0.9821 MB / 1.224 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.295, allocations: 0 / 1.224 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/1.296, allocations: 0.6695 MB / 1.225 GB, free: 4.23 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/1.297, allocations: 157.2 kB / 1.225 GB, free: 4.117 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/1.299, allocations: 0.962 MB / 1.226 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/1.3, allocations: 0.9581 MB / 1.227 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005787/1.301, allocations: 113.8 kB / 1.227 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/1.301, allocations: 35.44 kB / 1.227 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of SimCode: time 4.81e-07/1.301, allocations: 0 / 1.227 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of Templates: time 0.0223/1.323, allocations: 8.191 MB / 1.235 GB, free: 10.03 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)