Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.375/2.375, allocations: 284.8 MB / 297.3 MB, free: 6.328 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001482, allocations: 184.3 kB / 365.7 MB, free: 2.598 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.1 MB / 0.6241 GB, free: 8.227 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 101.7 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.926e-05/3.937e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8142/0.8143, allocations: 115.2 MB / 0.97 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2947/1.109, allocations: 179.7 MB / 1.145 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/1.109, allocations: 96.59 kB / 1.146 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.3576/1.467, allocations: 77.68 MB / 1.221 GB, free: 6.344 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.993e-06/1.467, allocations: 4 kB / 1.221 GB, free: 6.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002002/1.467, allocations: 43.92 kB / 1.221 GB, free: 6.297 MB / 0.823 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.005336/1.473, allocations: 1.528 MB / 1.223 GB, free: 4.719 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.473, allocations: 15.95 kB / 1.223 GB, free: 4.703 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01802/1.491, allocations: 1.811 MB / 1.225 GB, free: 2.887 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/1.495, allocations: 1.134 MB / 1.226 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/1.495, allocations: 90.31 kB / 1.226 GB, free: 1.605 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004534/1.496, allocations: 119.9 kB / 1.226 GB, free: 1.488 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005354/1.501, allocations: 2.045 MB / 1.228 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.747e-05/1.501, allocations: 11.92 kB / 1.228 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/1.501, allocations: 52 kB / 1.228 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/1.502, allocations: 74.2 kB / 1.228 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004762/1.506, allocations: 1.609 MB / 1.23 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0297/1.536, allocations: 10.21 MB / 1.24 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005967/1.542, allocations: 1.122 MB / 1.241 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007401/1.55, allocations: 0.5929 MB / 1.241 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/1.55, allocations: 8.438 kB / 1.241 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/1.55, allocations: 50.83 kB / 1.241 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 4.117e-06/1.55, allocations: 0 / 1.241 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.0867/1.637, allocations: 6.61 MB / 1.248 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/1.637, allocations: 214.4 kB / 1.248 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003077/1.64, allocations: 0.9436 MB / 1.249 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003795/1.64, allocations: 37.7 kB / 1.249 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/1.642, allocations: 0.7342 MB / 1.25 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006567/1.642, allocations: 284 kB / 1.25 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/1.643, allocations: 16 kB / 1.25 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002277/1.643, allocations: 338 kB / 1.25 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/1.646, allocations: 0.6969 MB / 1.251 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003151/1.649, allocations: 0.9341 MB / 1.252 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/1.652, allocations: 0.7438 MB / 1.253 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/1.652, allocations: 4 kB / 1.253 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01265/1.664, allocations: 2.495 MB / 1.255 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/1.665, allocations: 11.95 kB / 1.255 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/1.665, allocations: 4.75 kB / 1.255 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007423/1.672, allocations: 0.8613 MB / 1.256 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005839/1.678, allocations: 427.3 kB / 1.256 GB, free: 1.211 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7469/2.425, allocations: 14.86 MB / 1.271 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004155/2.429, allocations: 307.2 kB / 1.271 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/2.429, allocations: 49.27 kB / 1.271 GB, free: 201.5 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.0004107/2.43, allocations: 159.9 kB / 1.271 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/2.43, allocations: 146.8 kB / 1.272 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008702/2.439, allocations: 2.466 MB / 1.274 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/2.439, allocations: 6.969 kB / 1.274 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.7e-05/2.439, allocations: 12.08 kB / 1.274 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.479e-05/2.439, allocations: 5.109 kB / 1.274 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/2.452, allocations: 4.221 MB / 1.278 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/2.453, allocations: 2.656 kB / 1.278 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003286/2.456, allocations: 374.2 kB / 1.278 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005026/2.461, allocations: 0.7706 MB / 1.279 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002748/2.461, allocations: 33.08 kB / 1.279 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02091/2.482, allocations: 14.5 MB / 1.293 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/2.482, allocations: 3.344 kB / 1.293 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007665/2.49, allocations: 2.472 MB / 1.296 GB, free: 190 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/2.491, allocations: 395.2 kB / 1.296 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004429/2.492, allocations: 23.94 kB / 1.296 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003831/2.496, allocations: 305.3 kB / 1.296 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004569/2.496, allocations: 77.98 kB / 1.297 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/2.496, allocations: 42.67 kB / 1.297 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00168/2.498, allocations: 0.723 MB / 1.297 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.11e-07/2.498, allocations: 0.9375 kB / 1.297 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002768/2.501, allocations: 463.1 kB / 1.298 GB, free: 189.7 MB / 0.8542 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.0004963/2.501, allocations: 147.4 kB / 1.298 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007605/2.509, allocations: 2.847 MB / 1.301 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/2.509, allocations: 0.9688 kB / 1.301 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00516/2.514, allocations: 1.986 MB / 1.303 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/2.518, allocations: 478.9 kB / 1.303 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/2.529, allocations: 2.714 MB / 1.306 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/2.531, allocations: 1.417 MB / 1.307 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003206/2.534, allocations: 381.7 kB / 1.307 GB, free: 185 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000689/2.535, allocations: 108.3 kB / 1.308 GB, free: 185 MB / 0.8542 GB Notification: Performance of SimCode: time 1.382e-06/2.535, allocations: 0 / 1.308 GB, free: 185 MB / 0.8542 GB Notification: Performance of Templates: time 0.08707/2.622, allocations: 29.22 MB / 1.336 GB, free: 183.8 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)