Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.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.644/1.644, allocations: 289.9 MB / 297.4 MB, free: 6.309 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.001093/0.001093, allocations: 180.8 kB / 366.7 MB, free: 1.641 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.666/1.666, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.000805/0.000805, allocations: 81.62 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.461e-05/1.457e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6607/0.6608, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.215/0.8758, allocations: 160.3 MB / 1.13 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.8762, allocations: 95.94 kB / 1.13 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08956/0.9658, allocations: 36.38 MB / 1.165 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9658, allocations: 0 / 1.165 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.846e-05/0.9659, allocations: 23.98 kB / 1.165 GB, free: 1.113 MB / 0.7605 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.002153/0.9681, allocations: 0.951 MB / 1.166 GB, free: 116 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.9681, allocations: 11.97 kB / 1.166 GB, free: 104 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.9699, allocations: 234.7 kB / 1.167 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.9712, allocations: 0.5375 MB / 1.167 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.9713, allocations: 24 kB / 1.167 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.9715, allocations: 36 kB / 1.167 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001124/0.9726, allocations: 0.5974 MB / 1.168 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.9741, allocations: 1.021 MB / 1.169 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/0.9742, allocations: 3.938 kB / 1.169 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.604e-05/0.9743, allocations: 8 kB / 1.169 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.14e-05/0.9744, allocations: 53.28 kB / 1.169 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006041/0.9804, allocations: 5.759 MB / 1.174 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009229/0.9813, allocations: 0.5215 MB / 1.175 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.9819, allocations: 310.1 kB / 1.175 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.982, allocations: 8.438 kB / 1.175 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.982, allocations: 36.25 kB / 1.175 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.982, allocations: 0 / 1.175 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.002118/0.9841, allocations: 1.166 MB / 1.176 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.9842, allocations: 59.8 kB / 1.177 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.9846, allocations: 398 kB / 1.177 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.9847, allocations: 29.7 kB / 1.177 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.9849, allocations: 402.9 kB / 1.177 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.9851, allocations: 169.5 kB / 1.177 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.9851, allocations: 0 / 1.177 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.9852, allocations: 366.8 kB / 1.178 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.9856, allocations: 249.5 kB / 1.178 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.9861, allocations: 442.5 kB / 1.178 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.9865, allocations: 321.9 kB / 1.179 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.9865, allocations: 0 / 1.179 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001488/0.988, allocations: 0.9701 MB / 1.18 GB, free: 1.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.9881, allocations: 9.719 kB / 1.18 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.9881, allocations: 4 kB / 1.18 GB, free: 1.648 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007492/0.9888, allocations: 269.8 kB / 1.18 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.9893, allocations: 123.7 kB / 1.18 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.9947, allocations: 6.335 MB / 1.186 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.9951, allocations: 24.66 kB / 1.186 GB, free: 10.44 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.9952, allocations: 24 kB / 1.186 GB, free: 10.41 MB / 0.7917 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.0001389/0.9953, allocations: 126.4 kB / 1.186 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.9954, allocations: 71.2 kB / 1.187 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.9968, allocations: 0.8214 MB / 1.187 GB, free: 9.367 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.9968, allocations: 4 kB / 1.187 GB, free: 9.363 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9968, allocations: 4 kB / 1.187 GB, free: 9.359 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.9968, allocations: 0 / 1.187 GB, free: 9.359 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.999, allocations: 1.571 MB / 1.189 GB, free: 7.715 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.999, allocations: 0 / 1.189 GB, free: 7.715 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.9993, allocations: 63.89 kB / 1.189 GB, free: 7.652 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000658/1, allocations: 255.4 kB / 1.189 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/1, allocations: 4 kB / 1.189 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005263/1.005, allocations: 6.309 MB / 1.195 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.005, allocations: 11.91 kB / 1.195 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/1.007, allocations: 0.9937 MB / 1.196 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/1.007, allocations: 184.3 kB / 1.197 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-05/1.007, allocations: 4 kB / 1.197 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/1.007, allocations: 18.41 kB / 1.197 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/1.007, allocations: 47.83 kB / 1.197 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/1.008, allocations: 16 kB / 1.197 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003258/1.008, allocations: 303 kB / 1.197 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.61e-07/1.008, allocations: 0 / 1.197 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007679/1.009, allocations: 200 kB / 1.197 GB, free: 14.77 MB / 0.8073 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.0001864/1.009, allocations: 111.1 kB / 1.197 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001672/1.011, allocations: 1.169 MB / 1.198 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.011, allocations: 0 / 1.198 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/1.012, allocations: 0.8387 MB / 1.199 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007886/1.012, allocations: 170 kB / 1.199 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/1.014, allocations: 0.9475 MB / 1.2 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/1.015, allocations: 1.02 MB / 1.201 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003595/1.015, allocations: 111.4 kB / 1.201 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/1.015, allocations: 39.44 kB / 1.201 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of SimCode: time 2.9e-07/1.015, allocations: 4 kB / 1.201 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of Templates: time 0.0168/1.032, allocations: 9.296 MB / 1.21 GB, free: 1.078 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)