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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.23/2.23, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.00138/0.00138, allocations: 183.9 kB / 326.2 MB, free: 2.852 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.388/2.388, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.0009651/0.0009649, allocations: 104.3 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004826, allocations: 11.94 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2473, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2801/0.5274, allocations: 157.1 MB / 1.053 GB, free: 4.156 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004043/0.5279, allocations: 103.9 kB / 1.053 GB, free: 4.055 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8273/1.355, allocations: 37.13 MB / 1.089 GB, free: 145.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.538e-06/1.355, allocations: 0 / 1.089 GB, free: 145.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.452e-05/1.355, allocations: 31.2 kB / 1.089 GB, free: 145.8 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002621/1.358, allocations: 1.036 MB / 1.09 GB, free: 144.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.358, allocations: 12.03 kB / 1.09 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002532/1.361, allocations: 247.5 kB / 1.091 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/1.362, allocations: 0.5406 MB / 1.091 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/1.362, allocations: 54.36 kB / 1.091 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/1.362, allocations: 64.38 kB / 1.091 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/1.365, allocations: 1.151 MB / 1.092 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.726e-05/1.365, allocations: 3.938 kB / 1.092 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/1.365, allocations: 32 kB / 1.092 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/1.365, allocations: 61.28 kB / 1.092 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/1.367, allocations: 0.7426 MB / 1.093 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007441/1.374, allocations: 5.917 MB / 1.099 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/1.376, allocations: 0.5516 MB / 1.099 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006549/1.377, allocations: 326 kB / 1.1 GB, free: 134.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.184e-05/1.377, allocations: 4.438 kB / 1.1 GB, free: 134.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.377, allocations: 43 kB / 1.1 GB, free: 134.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.497e-06/1.377, allocations: 4 kB / 1.1 GB, free: 134.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.006494/1.383, allocations: 1.986 MB / 1.102 GB, free: 132.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/1.383, allocations: 59.83 kB / 1.102 GB, free: 132.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009041/1.384, allocations: 0.5548 MB / 1.102 GB, free: 131.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/1.384, allocations: 41.7 kB / 1.102 GB, free: 131.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/1.385, allocations: 399.2 kB / 1.103 GB, free: 131.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/1.385, allocations: 173.5 kB / 1.103 GB, free: 131.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/1.385, allocations: 16 kB / 1.103 GB, free: 131.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.385, allocations: 374.7 kB / 1.103 GB, free: 130.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/1.386, allocations: 269.2 kB / 1.104 GB, free: 130.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/1.386, allocations: 470.8 kB / 1.104 GB, free: 129.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/1.387, allocations: 330 kB / 1.104 GB, free: 129.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.387, allocations: 8 kB / 1.104 GB, free: 129.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002696/1.39, allocations: 1.051 MB / 1.105 GB, free: 128.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.39, allocations: 9.875 kB / 1.105 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.39, allocations: 8.734 kB / 1.105 GB, free: 128.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/1.391, allocations: 279.1 kB / 1.106 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/1.392, allocations: 115.8 kB / 1.106 GB, free: 128.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007481/1.4, allocations: 6.606 MB / 1.112 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.401, allocations: 35.95 kB / 1.112 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/1.401, allocations: 28 kB / 1.112 GB, free: 120.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005536/1.401, allocations: 253.6 kB / 1.113 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/1.402, allocations: 71.16 kB / 1.113 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/1.404, allocations: 0.8847 MB / 1.113 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.404, allocations: 8 kB / 1.113 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.404, allocations: 3.938 kB / 1.113 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.404, allocations: 11.98 kB / 1.114 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004185/1.408, allocations: 1.717 MB / 1.115 GB, free: 117.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/1.408, allocations: 4 kB / 1.115 GB, free: 117.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/1.409, allocations: 59.89 kB / 1.115 GB, free: 117.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/1.41, allocations: 267.3 kB / 1.115 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/1.41, allocations: 12 kB / 1.116 GB, free: 117.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007512/1.418, allocations: 6.583 MB / 1.122 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.418, allocations: 4.031 kB / 1.122 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/1.42, allocations: 0.9796 MB / 1.123 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/1.421, allocations: 192.1 kB / 1.123 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/1.421, allocations: 15.94 kB / 1.123 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/1.421, allocations: 32.14 kB / 1.123 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.422, allocations: 47.89 kB / 1.123 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/1.422, allocations: 16 kB / 1.123 GB, free: 109 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005874/1.422, allocations: 387.1 kB / 1.124 GB, free: 108.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.422, allocations: 0 / 1.124 GB, free: 108.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001044/1.423, allocations: 236 kB / 1.124 GB, free: 108.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001975/1.423, allocations: 119.2 kB / 1.124 GB, free: 108.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002608/1.426, allocations: 1.256 MB / 1.125 GB, free: 107 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.426, allocations: 0 / 1.125 GB, free: 107 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001697/1.428, allocations: 0.8858 MB / 1.126 GB, free: 106.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/1.429, allocations: 213.9 kB / 1.126 GB, free: 105.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/1.432, allocations: 1.595 MB / 1.128 GB, free: 104.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/1.433, allocations: 1.009 MB / 1.129 GB, free: 103.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006492/1.434, allocations: 121.9 kB / 1.129 GB, free: 103.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/1.434, allocations: 43.44 kB / 1.129 GB, free: 103 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/1.434, allocations: 0 / 1.129 GB, free: 103 MB / 0.698 GB Notification: Performance of Templates: time 0.0263/1.46, allocations: 10.33 MB / 1.139 GB, free: 92.8 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)