Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.22/2.22, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.0014/0.001399, allocations: 168.6 kB / 326.2 MB, free: 2.867 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.465/2.465, allocations: 205.4 MB / 0.5772 GB, free: 20.71 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.0009372/0.0009369, allocations: 91.55 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006884/0.0006887, allocations: 12.5 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.214, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8996/1.114, allocations: 173.4 MB / 1.069 GB, free: 66.92 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003864/1.114, allocations: 100.8 kB / 1.069 GB, free: 66.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3081/1.422, allocations: 77.9 MB / 1.145 GB, free: 46.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.007e-06/1.422, allocations: 0 / 1.145 GB, free: 46.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000208/1.423, allocations: 46.75 kB / 1.145 GB, free: 46.61 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.006438/1.429, allocations: 1.758 MB / 1.147 GB, free: 45.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.429, allocations: 15.7 kB / 1.147 GB, free: 45.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01845/1.448, allocations: 1.808 MB / 1.149 GB, free: 44.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00432/1.452, allocations: 1.156 MB / 1.15 GB, free: 44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/1.452, allocations: 81.89 kB / 1.15 GB, free: 43.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007471/1.453, allocations: 118.5 kB / 1.15 GB, free: 43.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/1.463, allocations: 2.553 MB / 1.152 GB, free: 42.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.535e-05/1.463, allocations: 7.812 kB / 1.152 GB, free: 42.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002902/1.464, allocations: 57.73 kB / 1.152 GB, free: 42.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/1.464, allocations: 79.89 kB / 1.153 GB, free: 42.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/1.478, allocations: 2.581 MB / 1.155 GB, free: 42.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02226/1.5, allocations: 10.21 MB / 1.165 GB, free: 34.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/1.512, allocations: 2.015 MB / 1.167 GB, free: 33.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005061/1.517, allocations: 0.9942 MB / 1.168 GB, free: 33.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.479e-05/1.517, allocations: 4.344 kB / 1.168 GB, free: 33.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/1.517, allocations: 42.09 kB / 1.168 GB, free: 33.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=53): time 3.266e-06/1.517, allocations: 0 / 1.168 GB, free: 33.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.0561/1.573, allocations: 9.235 MB / 1.177 GB, free: 30.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.787e-05/1.573, allocations: 217.8 kB / 1.177 GB, free: 30.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/1.575, allocations: 1.1 MB / 1.178 GB, free: 29.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002882/1.576, allocations: 45.05 kB / 1.178 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005621/1.576, allocations: 0.7341 MB / 1.179 GB, free: 29.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/1.577, allocations: 273.9 kB / 1.179 GB, free: 29.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/1.577, allocations: 17.94 kB / 1.179 GB, free: 29.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/1.577, allocations: 339.9 kB / 1.18 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005436/1.582, allocations: 1.101 MB / 1.181 GB, free: 28.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005648/1.588, allocations: 1.345 MB / 1.182 GB, free: 28.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005627/1.594, allocations: 1.149 MB / 1.183 GB, free: 27.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/1.594, allocations: 3.375 kB / 1.183 GB, free: 27.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01774/1.611, allocations: 3.325 MB / 1.186 GB, free: 26.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/1.612, allocations: 8 kB / 1.186 GB, free: 26.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/1.612, allocations: 8 kB / 1.186 GB, free: 26.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008796/1.62, allocations: 0.8748 MB / 1.187 GB, free: 25.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005577/1.626, allocations: 412.3 kB / 1.188 GB, free: 25.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03262/1.659, allocations: 14.9 MB / 1.202 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/1.666, allocations: 307.6 kB / 1.203 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000529/1.666, allocations: 59.83 kB / 1.203 GB, free: 10.24 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002105/1.668, allocations: 400.5 kB / 1.203 GB, free: 9.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007399/1.669, allocations: 142.3 kB / 1.203 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02459/1.694, allocations: 3.273 MB / 1.206 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/1.694, allocations: 8 kB / 1.206 GB, free: 6.379 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.989e-05/1.694, allocations: 8 kB / 1.206 GB, free: 6.371 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.109e-05/1.694, allocations: 3.984 kB / 1.206 GB, free: 6.367 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02966/1.724, allocations: 5.049 MB / 1.211 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.724, allocations: 0 / 1.211 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004641/1.728, allocations: 363.7 kB / 1.212 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007227/1.736, allocations: 0.7796 MB / 1.212 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003372/1.736, allocations: 27.97 kB / 1.212 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03561/1.772, allocations: 14.53 MB / 1.227 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.772, allocations: 7.969 kB / 1.227 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01996/1.792, allocations: 3.12 MB / 1.23 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.793, allocations: 403 kB / 1.23 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/1.794, allocations: 16 kB / 1.23 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00397/1.798, allocations: 307.5 kB / 1.23 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004268/1.798, allocations: 80.48 kB / 1.23 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/1.798, allocations: 43.91 kB / 1.23 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001822/1.8, allocations: 0.7404 MB / 1.231 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.81e-07/1.8, allocations: 4 kB / 1.231 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002867/1.803, allocations: 456 kB / 1.232 GB, free: 11.15 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000543/1.804, allocations: 151 kB / 1.232 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01591/1.82, allocations: 3.672 MB / 1.235 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.82, allocations: 8.125 kB / 1.235 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.009381/1.829, allocations: 2.406 MB / 1.238 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004191/1.833, allocations: 489.7 kB / 1.238 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/1.85, allocations: 4.267 MB / 1.242 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/1.852, allocations: 1.388 MB / 1.244 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002902/1.855, allocations: 379.9 kB / 1.244 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/1.856, allocations: 107.4 kB / 1.244 GB, free: 14 MB / 0.7448 GB Notification: Performance of SimCode: time 3.777e-06/1.856, allocations: 4 kB / 1.244 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of Templates: time 0.08197/1.938, allocations: 29.19 MB / 1.273 GB, free: 1.117 MB / 0.7605 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)