Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 173.1 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.436/2.436, allocations: 205.4 MB / 0.5772 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009492/0.0009486, allocations: 93.75 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004979, allocations: 11.53 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9642/1.184, allocations: 181.5 MB / 1.077 GB, free: 66.49 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004069/1.185, allocations: 108.3 kB / 1.077 GB, free: 66.49 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1242/1.309, allocations: 31.99 MB / 1.108 GB, free: 62.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.086e-06/1.309, allocations: 5.531 kB / 1.108 GB, free: 62.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.577e-05/1.309, allocations: 17.16 kB / 1.108 GB, free: 62.69 MB / 0.698 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.002351/1.312, allocations: 0.8744 MB / 1.109 GB, free: 62.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/1.312, allocations: 8.812 kB / 1.109 GB, free: 62.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/1.314, allocations: 197.2 kB / 1.109 GB, free: 62.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/1.316, allocations: 0.5022 MB / 1.11 GB, free: 61.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.774e-05/1.316, allocations: 37.5 kB / 1.11 GB, free: 61.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/1.317, allocations: 56.8 kB / 1.11 GB, free: 61.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/1.319, allocations: 0.8723 MB / 1.111 GB, free: 61.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.341e-05/1.319, allocations: 6.25 kB / 1.111 GB, free: 61.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.319, allocations: 30.8 kB / 1.111 GB, free: 61.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/1.319, allocations: 41.98 kB / 1.111 GB, free: 61.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/1.321, allocations: 0.5724 MB / 1.111 GB, free: 61.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006776/1.328, allocations: 4.595 MB / 1.116 GB, free: 57.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/1.329, allocations: 296.8 kB / 1.116 GB, free: 57.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004883/1.329, allocations: 224.7 kB / 1.116 GB, free: 57.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/1.329, allocations: 7.906 kB / 1.116 GB, free: 57.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.329, allocations: 38.12 kB / 1.116 GB, free: 57.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.426e-06/1.329, allocations: 0 / 1.116 GB, free: 57.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.009146/1.338, allocations: 2.643 MB / 1.119 GB, free: 56.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/1.339, allocations: 55.31 kB / 1.119 GB, free: 56.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007339/1.339, allocations: 463.9 kB / 1.119 GB, free: 56.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/1.339, allocations: 33.14 kB / 1.119 GB, free: 56.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/1.34, allocations: 338.9 kB / 1.12 GB, free: 56.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/1.34, allocations: 143 kB / 1.12 GB, free: 56.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/1.34, allocations: 10.78 kB / 1.12 GB, free: 56.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000112/1.34, allocations: 360.8 kB / 1.12 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/1.341, allocations: 229.9 kB / 1.12 GB, free: 56.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/1.341, allocations: 389.1 kB / 1.121 GB, free: 55.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/1.342, allocations: 294.8 kB / 1.121 GB, free: 55.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.342, allocations: 0 / 1.121 GB, free: 55.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002662/1.345, allocations: 0.8958 MB / 1.122 GB, free: 55.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/1.345, allocations: 8.375 kB / 1.122 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.345, allocations: 3.906 kB / 1.122 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/1.346, allocations: 226.2 kB / 1.122 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/1.347, allocations: 116.8 kB / 1.122 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006317/1.353, allocations: 4.934 MB / 1.127 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008918/1.354, allocations: 31.06 kB / 1.127 GB, free: 51.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/1.354, allocations: 26.16 kB / 1.127 GB, free: 51.7 MB / 0.698 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.0005236/1.355, allocations: 217.9 kB / 1.127 GB, free: 51.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/1.355, allocations: 58.22 kB / 1.127 GB, free: 51.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/1.358, allocations: 0.7795 MB / 1.128 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.358, allocations: 3.875 kB / 1.128 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.358, allocations: 3.938 kB / 1.128 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/1.358, allocations: 3.984 kB / 1.128 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/1.362, allocations: 1.488 MB / 1.13 GB, free: 50.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.362, allocations: 0 / 1.13 GB, free: 50.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007313/1.362, allocations: 74.22 kB / 1.13 GB, free: 50.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/1.363, allocations: 204 kB / 1.13 GB, free: 50.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.204e-05/1.364, allocations: 7.719 kB / 1.13 GB, free: 50.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005912/1.37, allocations: 4.871 MB / 1.135 GB, free: 46.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.37, allocations: 0 / 1.135 GB, free: 46.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/1.373, allocations: 1.137 MB / 1.136 GB, free: 45.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/1.373, allocations: 166.9 kB / 1.136 GB, free: 45.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.373, allocations: 11.5 kB / 1.136 GB, free: 45.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/1.374, allocations: 23.59 kB / 1.136 GB, free: 45.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.374, allocations: 46.58 kB / 1.136 GB, free: 45.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/1.374, allocations: 11.69 kB / 1.136 GB, free: 45.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005052/1.375, allocations: 315.8 kB / 1.136 GB, free: 45.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/1.375, allocations: 0 / 1.136 GB, free: 45.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001077/1.376, allocations: 178.3 kB / 1.136 GB, free: 45.66 MB / 0.698 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.0002501/1.376, allocations: 130.2 kB / 1.137 GB, free: 45.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002379/1.378, allocations: 0.9913 MB / 1.138 GB, free: 45.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.378, allocations: 0 / 1.138 GB, free: 45.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/1.38, allocations: 0.6789 MB / 1.138 GB, free: 44.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/1.382, allocations: 173.8 kB / 1.138 GB, free: 44.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/1.385, allocations: 1.499 MB / 1.14 GB, free: 43.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/1.386, allocations: 0.9448 MB / 1.141 GB, free: 42.83 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007227/1.386, allocations: 111.4 kB / 1.141 GB, free: 42.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/1.386, allocations: 38.69 kB / 1.141 GB, free: 42.77 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.386, allocations: 0 / 1.141 GB, free: 42.77 MB / 0.698 GB Notification: Performance of Templates: time 0.0229/1.409, allocations: 8.178 MB / 1.149 GB, free: 38.82 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)