Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001083/0.001084, allocations: 178.6 kB / 371.6 MB, free: 3.359 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.534/1.534, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008925/0.0008926, allocations: 84.8 kB / 0.745 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.76e-05, allocations: 0 / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.287, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9528/1.24, allocations: 180.8 MB / 1.156 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/1.24, allocations: 95.84 kB / 1.156 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1946/1.435, allocations: 77.68 MB / 1.232 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.35e-06/1.435, allocations: 0 / 1.232 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002604/1.435, allocations: 43.98 kB / 1.232 GB, free: 15.91 MB / 0.8073 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.005019/1.44, allocations: 1.531 MB / 1.234 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/1.44, allocations: 8.031 kB / 1.234 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/1.451, allocations: 1.815 MB / 1.236 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/1.455, allocations: 1.145 MB / 1.237 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/1.455, allocations: 82.33 kB / 1.237 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000576/1.456, allocations: 115.9 kB / 1.237 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004408/1.46, allocations: 2.05 MB / 1.239 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.666e-05/1.46, allocations: 11.94 kB / 1.239 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/1.461, allocations: 52 kB / 1.239 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.461, allocations: 78.19 kB / 1.239 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/1.464, allocations: 1.605 MB / 1.241 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01545/1.479, allocations: 10.2 MB / 1.251 GB, free: 12.29 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/1.481, allocations: 1.127 MB / 1.252 GB, free: 11.13 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008438/1.482, allocations: 0.5917 MB / 1.252 GB, free: 10.54 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.107e-05/1.482, allocations: 12.42 kB / 1.252 GB, free: 10.53 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/1.482, allocations: 47 kB / 1.252 GB, free: 10.47 MB / 0.823 GB Notification: Performance of pre-optimization done (n=53): time 3.296e-06/1.482, allocations: 0 / 1.252 GB, free: 10.47 MB / 0.823 GB Notification: Performance of matching and sorting (n=81): time 0.02166/1.504, allocations: 6.606 MB / 1.259 GB, free: 3.832 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/1.504, allocations: 222.4 kB / 1.259 GB, free: 3.566 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/1.506, allocations: 0.9397 MB / 1.26 GB, free: 2.613 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/1.506, allocations: 45.7 kB / 1.26 GB, free: 2.562 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/1.507, allocations: 0.7265 MB / 1.261 GB, free: 1.828 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00033/1.507, allocations: 279.9 kB / 1.261 GB, free: 1.551 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/1.507, allocations: 20 kB / 1.261 GB, free: 1.531 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.508, allocations: 337.9 kB / 1.261 GB, free: 1.195 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/1.509, allocations: 0.6931 MB / 1.262 GB, free: 0.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.51, allocations: 0.9342 MB / 1.263 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/1.511, allocations: 0.7438 MB / 1.264 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.511, allocations: 4 kB / 1.264 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005541/1.517, allocations: 2.496 MB / 1.266 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/1.517, allocations: 11.94 kB / 1.266 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.517, allocations: 8.062 kB / 1.266 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003133/1.52, allocations: 0.8575 MB / 1.267 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/1.522, allocations: 427.2 kB / 1.267 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/1.539, allocations: 14.87 MB / 1.282 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002864/1.542, allocations: 303.6 kB / 1.282 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003107/1.542, allocations: 55.91 kB / 1.282 GB, free: 10.56 MB / 0.8542 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 (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.0004438/1.542, allocations: 152.8 kB / 1.282 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005377/1.543, allocations: 154.2 kB / 1.282 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005457/1.548, allocations: 2.461 MB / 1.285 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.548, allocations: 8 kB / 1.285 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.461e-05/1.548, allocations: 8 kB / 1.285 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/1.548, allocations: 3.984 kB / 1.285 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008616/1.557, allocations: 4.244 MB / 1.289 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.557, allocations: 3.938 kB / 1.289 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/1.559, allocations: 367.7 kB / 1.289 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/1.562, allocations: 0.7755 MB / 1.29 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/1.562, allocations: 35.95 kB / 1.29 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01489/1.577, allocations: 14.49 MB / 1.304 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.577, allocations: 4 kB / 1.304 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005262/1.582, allocations: 2.466 MB / 1.307 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.583, allocations: 391.1 kB / 1.307 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005203/1.584, allocations: 20 kB / 1.307 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.586, allocations: 307.5 kB / 1.307 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/1.586, allocations: 88.56 kB / 1.308 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.587, allocations: 35.97 kB / 1.308 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00148/1.588, allocations: 0.727 MB / 1.308 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.3e-07/1.588, allocations: 0 / 1.308 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002182/1.59, allocations: 459.9 kB / 1.309 GB, free: 13.96 MB / 0.8855 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 () * 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.00042/1.591, allocations: 147.9 kB / 1.309 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004926/1.596, allocations: 2.86 MB / 1.312 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.596, allocations: 0 / 1.312 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003051/1.599, allocations: 1.97 MB / 1.314 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.601, allocations: 481 kB / 1.314 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007366/1.609, allocations: 2.724 MB / 1.317 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/1.61, allocations: 1.415 MB / 1.318 GB, free: 4.055 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002026/1.612, allocations: 379.9 kB / 1.318 GB, free: 3.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/1.613, allocations: 103.4 kB / 1.319 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of SimCode: time 1.162e-06/1.613, allocations: 0 / 1.319 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of Templates: time 0.05352/1.666, allocations: 29.23 MB / 1.347 GB, free: 6.637 MB / 0.9167 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)