Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, allocations: 252 MB / 267.9 MB, free: 10.93 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.0009255/0.0009255, allocations: 179 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0007907/0.0007908, allocations: 94.25 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 12.97 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1872, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1765/0.3638, allocations: 157.3 MB / 1.055 GB, free: 2.152 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.3641, allocations: 99.92 kB / 1.055 GB, free: 2.055 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4488/0.8128, allocations: 37.16 MB / 1.091 GB, free: 143.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8129, allocations: 0 / 1.091 GB, free: 143.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.653e-05/0.8129, allocations: 20 kB / 1.091 GB, free: 143.5 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.001451/0.8144, allocations: 1.033 MB / 1.092 GB, free: 142.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.8144, allocations: 8.031 kB / 1.092 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.8157, allocations: 243.6 kB / 1.093 GB, free: 142.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.8164, allocations: 0.5558 MB / 1.093 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.8164, allocations: 54.36 kB / 1.093 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-05/0.8165, allocations: 68.36 kB / 1.093 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.8176, allocations: 1.139 MB / 1.094 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.8177, allocations: 3.906 kB / 1.094 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.8178, allocations: 39.98 kB / 1.094 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.548e-05/0.8179, allocations: 57.22 kB / 1.094 GB, free: 140 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.8187, allocations: 0.7465 MB / 1.095 GB, free: 139.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/0.8223, allocations: 5.909 MB / 1.101 GB, free: 133 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/0.8231, allocations: 0.5537 MB / 1.101 GB, free: 132.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.8234, allocations: 330 kB / 1.102 GB, free: 132.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.8235, allocations: 4.438 kB / 1.102 GB, free: 132.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.8235, allocations: 54.94 kB / 1.102 GB, free: 132 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/0.8235, allocations: 3.984 kB / 1.102 GB, free: 132 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002954/0.8265, allocations: 1.99 MB / 1.104 GB, free: 129.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.8265, allocations: 55.84 kB / 1.104 GB, free: 129.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.8269, allocations: 0.5548 MB / 1.104 GB, free: 129.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.827, allocations: 37.7 kB / 1.104 GB, free: 129.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.8271, allocations: 403.1 kB / 1.105 GB, free: 128.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.8272, allocations: 173.6 kB / 1.105 GB, free: 128.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.8272, allocations: 12 kB / 1.105 GB, free: 128.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/0.8273, allocations: 378.7 kB / 1.105 GB, free: 128.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.8276, allocations: 273.1 kB / 1.106 GB, free: 128 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.828, allocations: 462.8 kB / 1.106 GB, free: 127.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/0.8287, allocations: 0.7748 MB / 1.107 GB, free: 126.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8287, allocations: 0 / 1.107 GB, free: 126.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001319/0.83, allocations: 1.055 MB / 1.108 GB, free: 125.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.8301, allocations: 11.98 kB / 1.108 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.8301, allocations: 8 kB / 1.108 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006638/0.8307, allocations: 276 kB / 1.108 GB, free: 125.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.8311, allocations: 123.8 kB / 1.108 GB, free: 125.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004095/0.8352, allocations: 6.591 MB / 1.115 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/0.8357, allocations: 39.95 kB / 1.115 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.8358, allocations: 27.94 kB / 1.115 GB, free: 117.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.0003058/0.8361, allocations: 249.5 kB / 1.115 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.8362, allocations: 75.31 kB / 1.115 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.8373, allocations: 0.8885 MB / 1.116 GB, free: 116.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.8374, allocations: 8.031 kB / 1.116 GB, free: 116.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8374, allocations: 4 kB / 1.116 GB, free: 116.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.8374, allocations: 3.984 kB / 1.116 GB, free: 116.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.8393, allocations: 1.721 MB / 1.118 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.8393, allocations: 0 / 1.118 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.8395, allocations: 63.89 kB / 1.118 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005733/0.8401, allocations: 263.3 kB / 1.118 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.8401, allocations: 16.06 kB / 1.118 GB, free: 114.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003895/0.844, allocations: 6.591 MB / 1.124 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8441, allocations: 0 / 1.124 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.8452, allocations: 0.9836 MB / 1.125 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.8454, allocations: 196.2 kB / 1.125 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.8454, allocations: 15.94 kB / 1.126 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.8458, allocations: 27.95 kB / 1.126 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.119e-05/0.8459, allocations: 43.89 kB / 1.126 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.8459, allocations: 20 kB / 1.126 GB, free: 106 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003124/0.8463, allocations: 387.1 kB / 1.126 GB, free: 105.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8463, allocations: 0 / 1.126 GB, free: 105.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006591/0.8469, allocations: 228 kB / 1.126 GB, free: 105.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.0001274/0.8471, allocations: 123.1 kB / 1.126 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.8485, allocations: 1.26 MB / 1.128 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8485, allocations: 0 / 1.128 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.8493, allocations: 0.8858 MB / 1.128 GB, free: 103.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009743/0.8503, allocations: 202.7 kB / 1.129 GB, free: 102.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.8519, allocations: 1.588 MB / 1.13 GB, free: 101.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.8523, allocations: 1.013 MB / 1.131 GB, free: 100.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003499/0.8526, allocations: 121.9 kB / 1.131 GB, free: 100.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.844e-05/0.8527, allocations: 43.44 kB / 1.131 GB, free: 100 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/0.8527, allocations: 0 / 1.131 GB, free: 100 MB / 0.698 GB Notification: Performance of Templates: time 0.01341/0.8662, allocations: 10.48 MB / 1.142 GB, free: 89.68 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)