Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.001002/0.001002, allocations: 175.1 kB / 372.9 MB, free: 10.15 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.504/1.504, allocations: 205.4 MB / 0.6317 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008078/0.0008082, allocations: 90.58 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004142, allocations: 11.88 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2458, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8363/1.082, allocations: 160.1 MB / 1.137 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.082, allocations: 94.53 kB / 1.137 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07828/1.161, allocations: 36.76 MB / 1.173 GB, free: 6.406 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.542e-06/1.161, allocations: 7.938 kB / 1.173 GB, free: 6.398 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.774e-05/1.161, allocations: 20 kB / 1.173 GB, free: 6.379 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.002761/1.164, allocations: 1.025 MB / 1.174 GB, free: 5.355 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.164, allocations: 8.031 kB / 1.174 GB, free: 5.348 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/1.166, allocations: 243.1 kB / 1.174 GB, free: 5.113 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/1.167, allocations: 0.5517 MB / 1.175 GB, free: 4.582 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/1.167, allocations: 56.61 kB / 1.175 GB, free: 4.543 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/1.167, allocations: 69.88 kB / 1.175 GB, free: 4.496 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/1.169, allocations: 1.14 MB / 1.176 GB, free: 3.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/1.169, allocations: 7.125 kB / 1.176 GB, free: 3.477 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/1.169, allocations: 36.48 kB / 1.176 GB, free: 3.461 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.739e-05/1.169, allocations: 52.03 kB / 1.176 GB, free: 3.414 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/1.171, allocations: 0.7498 MB / 1.177 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006066/1.177, allocations: 5.907 MB / 1.183 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009803/1.178, allocations: 0.5474 MB / 1.183 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/1.178, allocations: 332.8 kB / 1.184 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/1.178, allocations: 7.5 kB / 1.184 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/1.178, allocations: 42.92 kB / 1.184 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 4.368e-06/1.178, allocations: 0 / 1.184 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.003904/1.182, allocations: 1.984 MB / 1.186 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/1.182, allocations: 59.84 kB / 1.186 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006226/1.183, allocations: 0.5574 MB / 1.186 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/1.183, allocations: 29.58 kB / 1.186 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/1.183, allocations: 400.5 kB / 1.187 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/1.183, allocations: 178.4 kB / 1.187 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/1.183, allocations: 10.31 kB / 1.187 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.183, allocations: 378.5 kB / 1.187 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/1.184, allocations: 267.2 kB / 1.187 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/1.184, allocations: 469.5 kB / 1.188 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009166/1.185, allocations: 0.7678 MB / 1.189 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.185, allocations: 0 / 1.189 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001615/1.187, allocations: 1.062 MB / 1.19 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.187, allocations: 8 kB / 1.19 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.187, allocations: 8 kB / 1.19 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008442/1.188, allocations: 279.2 kB / 1.19 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/1.188, allocations: 119.4 kB / 1.19 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005698/1.194, allocations: 6.591 MB / 1.196 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/1.195, allocations: 34.53 kB / 1.196 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/1.195, allocations: 34.48 kB / 1.196 GB, free: 0.6172 MB / 0.7136 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.0004586/1.195, allocations: 247.5 kB / 1.197 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.195, allocations: 75.16 kB / 1.197 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.197, allocations: 0.8867 MB / 1.198 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.197, allocations: 4 kB / 1.198 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.197, allocations: 8 kB / 1.198 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.197, allocations: 0 / 1.198 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/1.199, allocations: 1.722 MB / 1.199 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.199, allocations: 3.938 kB / 1.199 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/1.2, allocations: 63.7 kB / 1.199 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007263/1.2, allocations: 271.9 kB / 1.2 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/1.2, allocations: 11.38 kB / 1.2 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005626/1.206, allocations: 6.581 MB / 1.206 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.433e-06/1.206, allocations: 8.016 kB / 1.206 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/1.208, allocations: 0.9678 MB / 1.207 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/1.208, allocations: 198.2 kB / 1.207 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-05/1.208, allocations: 16.19 kB / 1.207 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/1.208, allocations: 26.84 kB / 1.207 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.209, allocations: 43.44 kB / 1.207 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/1.209, allocations: 15.31 kB / 1.207 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004686/1.209, allocations: 382.3 kB / 1.208 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.209, allocations: 0 / 1.208 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008659/1.21, allocations: 226.6 kB / 1.208 GB, free: 6.039 MB / 0.7292 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.0001885/1.21, allocations: 122.8 kB / 1.208 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001907/1.212, allocations: 1.258 MB / 1.209 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.212, allocations: 0 / 1.209 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/1.213, allocations: 0.9068 MB / 1.21 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/1.214, allocations: 206 kB / 1.21 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/1.217, allocations: 1.584 MB / 1.212 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/1.217, allocations: 1.011 MB / 1.213 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004303/1.218, allocations: 117.9 kB / 1.213 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/1.218, allocations: 43.42 kB / 1.213 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of SimCode: time 1.092e-06/1.218, allocations: 0 / 1.213 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of Templates: time 0.01976/1.238, allocations: 10.46 MB / 1.223 GB, free: 6.855 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)