Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 289.7 MB / 302.3 MB, free: 2.188 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.001134/0.001134, allocations: 184.4 kB / 371.6 MB, free: 3.406 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.869/1.869, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008278/0.0008278, allocations: 88.48 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.598e-05, allocations: 4 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2873, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8255/1.113, allocations: 164.5 MB / 1.14 GB, free: 26.37 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/1.113, allocations: 94.5 kB / 1.141 GB, free: 26.33 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.08439/1.198, allocations: 36.9 MB / 1.177 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.974e-06/1.198, allocations: 0 / 1.177 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.766e-05/1.198, allocations: 23.98 kB / 1.177 GB, free: 2.68 MB / 0.7448 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.001452/1.199, allocations: 0.9555 MB / 1.178 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.199, allocations: 12.03 kB / 1.178 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/1.201, allocations: 234.6 kB / 1.178 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008078/1.201, allocations: 0.5477 MB / 1.178 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/1.201, allocations: 46.8 kB / 1.178 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.485e-05/1.202, allocations: 68.91 kB / 1.178 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/1.203, allocations: 1.128 MB / 1.18 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/1.203, allocations: 7.938 kB / 1.18 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/1.203, allocations: 33.56 kB / 1.18 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.432e-05/1.203, allocations: 52.72 kB / 1.18 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/1.204, allocations: 0.7302 MB / 1.18 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005753/1.21, allocations: 5.911 MB / 1.186 GB, free: 9.59 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000959/1.211, allocations: 0.5502 MB / 1.187 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000409/1.211, allocations: 324.6 kB / 1.187 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/1.211, allocations: 4.438 kB / 1.187 GB, free: 9.004 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.211, allocations: 38.5 kB / 1.187 GB, free: 8.961 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/1.211, allocations: 0 / 1.187 GB, free: 8.961 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.002267/1.214, allocations: 1.234 MB / 1.188 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/1.214, allocations: 55.84 kB / 1.188 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005927/1.214, allocations: 494.2 kB / 1.189 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/1.214, allocations: 36.27 kB / 1.189 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/1.215, allocations: 399.2 kB / 1.189 GB, free: 7.227 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/1.215, allocations: 181.3 kB / 1.189 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/1.215, allocations: 10.31 kB / 1.189 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.215, allocations: 374.4 kB / 1.19 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/1.215, allocations: 260.5 kB / 1.19 GB, free: 6.562 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/1.216, allocations: 460.2 kB / 1.19 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/1.216, allocations: 345.9 kB / 1.191 GB, free: 5.906 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.216, allocations: 0 / 1.191 GB, free: 5.906 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001685/1.218, allocations: 1.04 MB / 1.192 GB, free: 5.102 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.218, allocations: 8 kB / 1.192 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.218, allocations: 12.06 kB / 1.192 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008092/1.219, allocations: 274.8 kB / 1.192 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/1.219, allocations: 110.9 kB / 1.192 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006136/1.226, allocations: 6.591 MB / 1.199 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007439/1.226, allocations: 37.95 kB / 1.199 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.164e-05/1.226, allocations: 28.61 kB / 1.199 GB, free: 14.22 MB / 0.7761 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 () * 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.0001904/1.227, allocations: 151 kB / 1.199 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/1.227, allocations: 71.34 kB / 1.199 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/1.228, allocations: 0.8786 MB / 1.2 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.228, allocations: 4 kB / 1.2 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/1.228, allocations: 12 kB / 1.2 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.228, allocations: 0 / 1.2 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/1.231, allocations: 1.704 MB / 1.201 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.231, allocations: 4 kB / 1.201 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/1.231, allocations: 63.2 kB / 1.201 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007525/1.232, allocations: 270.5 kB / 1.202 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/1.232, allocations: 11.92 kB / 1.202 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005996/1.238, allocations: 6.557 MB / 1.208 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.238, allocations: 7.969 kB / 1.208 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/1.24, allocations: 1.045 MB / 1.209 GB, free: 4.352 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/1.24, allocations: 198.3 kB / 1.209 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-05/1.24, allocations: 10.94 kB / 1.209 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/1.241, allocations: 34.95 kB / 1.209 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.241, allocations: 35.78 kB / 1.209 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/1.241, allocations: 18.56 kB / 1.209 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004742/1.241, allocations: 381.3 kB / 1.21 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.4e-07/1.241, allocations: 3.938 kB / 1.21 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008244/1.242, allocations: 235.7 kB / 1.21 GB, free: 3.59 MB / 0.7761 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 () * 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.0001807/1.242, allocations: 113.9 kB / 1.21 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001838/1.244, allocations: 1.238 MB / 1.211 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.244, allocations: 4 kB / 1.211 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/1.246, allocations: 0.8775 MB / 1.212 GB, free: 1.621 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/1.246, allocations: 200.3 kB / 1.212 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/1.248, allocations: 0.9769 MB / 1.213 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/1.249, allocations: 1.029 MB / 1.214 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004247/1.249, allocations: 127.4 kB / 1.214 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/1.249, allocations: 39.44 kB / 1.214 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of SimCode: time 2.074e-06/1.249, allocations: 0 / 1.214 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of Templates: time 0.01892/1.268, allocations: 10.33 MB / 1.225 GB, free: 5.164 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)