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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 293 MB / 309 MB, free: 4.801 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.001082/0.001082, allocations: 176.5 kB / 378.7 MB, free: 1.023 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.777/1.777, allocations: 205.4 MB / 0.6383 GB, free: 8.145 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.0007483/0.0007484, allocations: 88.77 kB / 0.7527 GB, free: 62.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004046, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2535, allocations: 116.4 MB / 0.9905 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7434/0.9969, allocations: 189 MB / 1.175 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.9971, allocations: 105.9 kB / 1.175 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0772/1.074, allocations: 32 MB / 1.206 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.753e-06/1.074, allocations: 0 / 1.206 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.636e-05/1.074, allocations: 23.98 kB / 1.206 GB, free: 8.168 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.001721/1.076, allocations: 0.866 MB / 1.207 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/1.076, allocations: 8.031 kB / 1.207 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/1.078, allocations: 203.8 kB / 1.207 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009796/1.079, allocations: 0.5062 MB / 1.208 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/1.079, allocations: 46.11 kB / 1.208 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/1.079, allocations: 51.91 kB / 1.208 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/1.08, allocations: 0.8825 MB / 1.209 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/1.08, allocations: 7.938 kB / 1.209 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/1.08, allocations: 24 kB / 1.209 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.83e-05/1.08, allocations: 44.97 kB / 1.209 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009529/1.081, allocations: 0.5736 MB / 1.21 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004445/1.086, allocations: 4.6 MB / 1.214 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/1.086, allocations: 286.4 kB / 1.214 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/1.087, allocations: 228.7 kB / 1.215 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/1.087, allocations: 4 kB / 1.215 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/1.087, allocations: 34.56 kB / 1.215 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 2.224e-06/1.087, allocations: 3.938 kB / 1.215 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.005443/1.092, allocations: 2.64 MB / 1.217 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.092, allocations: 55.41 kB / 1.217 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/1.093, allocations: 465.9 kB / 1.218 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/1.093, allocations: 33.7 kB / 1.218 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/1.093, allocations: 327.8 kB / 1.218 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/1.093, allocations: 149.9 kB / 1.218 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/1.093, allocations: 12 kB / 1.218 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.094, allocations: 370.8 kB / 1.218 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/1.094, allocations: 229 kB / 1.219 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/1.094, allocations: 382.3 kB / 1.219 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008522/1.095, allocations: 0.6558 MB / 1.22 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.095, allocations: 4 kB / 1.22 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001765/1.097, allocations: 0.8974 MB / 1.221 GB, free: 8.762 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/1.097, allocations: 8 kB / 1.221 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/1.097, allocations: 6.938 kB / 1.221 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007983/1.098, allocations: 226.3 kB / 1.221 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/1.098, allocations: 111.8 kB / 1.221 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005054/1.104, allocations: 4.936 MB / 1.226 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/1.104, allocations: 35.91 kB / 1.226 GB, free: 3.043 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/1.104, allocations: 20 kB / 1.226 GB, free: 3.023 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 () * 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.0004082/1.105, allocations: 233 kB / 1.226 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/1.105, allocations: 55.34 kB / 1.226 GB, free: 2.734 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/1.106, allocations: 0.7753 MB / 1.227 GB, free: 1.941 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.106, allocations: 4 kB / 1.227 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.106, allocations: 0 / 1.227 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/1.106, allocations: 4 kB / 1.227 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/1.109, allocations: 1.47 MB / 1.228 GB, free: 384 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/1.109, allocations: 8.031 kB / 1.228 GB, free: 376 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/1.109, allocations: 73.81 kB / 1.228 GB, free: 304 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006317/1.11, allocations: 210.3 kB / 1.229 GB, free: 84 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/1.11, allocations: 8 kB / 1.229 GB, free: 76 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004551/1.114, allocations: 4.869 MB / 1.233 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.114, allocations: 0 / 1.233 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/1.116, allocations: 1.132 MB / 1.234 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/1.116, allocations: 168.3 kB / 1.235 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.117, allocations: 19.98 kB / 1.235 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/1.117, allocations: 20.11 kB / 1.235 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/1.117, allocations: 47.88 kB / 1.235 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/1.117, allocations: 16 kB / 1.235 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003771/1.117, allocations: 310.9 kB / 1.235 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.4e-07/1.117, allocations: 0 / 1.235 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007163/1.118, allocations: 179.9 kB / 1.235 GB, free: 8.863 MB / 0.8073 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.0002022/1.118, allocations: 119.2 kB / 1.235 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001557/1.12, allocations: 0.9896 MB / 1.236 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.12, allocations: 0 / 1.236 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008885/1.121, allocations: 0.6917 MB / 1.237 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/1.122, allocations: 164 kB / 1.237 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/1.124, allocations: 1.503 MB / 1.239 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/1.124, allocations: 0.9415 MB / 1.239 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003779/1.125, allocations: 122.7 kB / 1.24 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.181e-05/1.125, allocations: 35.44 kB / 1.24 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of SimCode: time 2.21e-07/1.125, allocations: 0 / 1.24 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of Templates: time 0.01363/1.138, allocations: 8.278 MB / 1.248 GB, free: 12.01 MB / 0.823 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)