Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json 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 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.269/2.269, allocations: 251.1 MB / 266.1 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.001539, allocations: 176 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.462/2.462, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 94.84 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006226/0.0006228, allocations: 13.03 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2126, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.3, allocations: 173.4 MB / 1.068 GB, free: 66.91 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003785/1.301, allocations: 103.2 kB / 1.068 GB, free: 66.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3774/1.678, allocations: 78 MB / 1.145 GB, free: 46.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.066e-06/1.678, allocations: 4 kB / 1.145 GB, free: 46.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000195/1.678, allocations: 39.25 kB / 1.145 GB, free: 46.58 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.006759/1.685, allocations: 1.767 MB / 1.146 GB, free: 45.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.685, allocations: 7.812 kB / 1.146 GB, free: 45.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02438/1.71, allocations: 1.818 MB / 1.148 GB, free: 44.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005675/1.715, allocations: 1.148 MB / 1.149 GB, free: 43.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/1.716, allocations: 86.22 kB / 1.149 GB, free: 43.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007198/1.716, allocations: 118.9 kB / 1.149 GB, free: 43.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/1.729, allocations: 2.547 MB / 1.152 GB, free: 42.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.455e-05/1.729, allocations: 7.812 kB / 1.152 GB, free: 42.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003729/1.73, allocations: 55.73 kB / 1.152 GB, free: 42.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/1.73, allocations: 76.62 kB / 1.152 GB, free: 42.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/1.745, allocations: 2.595 MB / 1.155 GB, free: 42.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02146/1.766, allocations: 10.2 MB / 1.165 GB, free: 34.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/1.777, allocations: 2.009 MB / 1.166 GB, free: 33.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/1.778, allocations: 8.297 kB / 1.166 GB, free: 33.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/1.778, allocations: 42.41 kB / 1.167 GB, free: 33.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=53): time 3.928e-06/1.778, allocations: 3.906 kB / 1.167 GB, free: 33.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.06713/1.845, allocations: 9.223 MB / 1.176 GB, free: 30.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/1.845, allocations: 217.8 kB / 1.176 GB, free: 30.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/1.848, allocations: 0.9496 MB / 1.177 GB, free: 30.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003857/1.848, allocations: 44.27 kB / 1.177 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008809/1.849, allocations: 0.7432 MB / 1.177 GB, free: 29.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006122/1.85, allocations: 279.8 kB / 1.178 GB, free: 29.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/1.85, allocations: 14.62 kB / 1.178 GB, free: 29.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.85, allocations: 343.9 kB / 1.178 GB, free: 29.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008161/1.859, allocations: 1.094 MB / 1.179 GB, free: 28.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008568/1.867, allocations: 1.341 MB / 1.18 GB, free: 28.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00856/1.876, allocations: 1.153 MB / 1.182 GB, free: 28.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/1.876, allocations: 3.875 kB / 1.182 GB, free: 28.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.02456/1.901, allocations: 3.317 MB / 1.185 GB, free: 27.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/1.901, allocations: 11.77 kB / 1.185 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.901, allocations: 3.906 kB / 1.185 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008316/1.909, allocations: 0.8631 MB / 1.186 GB, free: 26.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005405/1.914, allocations: 411.7 kB / 1.186 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03297/1.947, allocations: 15.21 MB / 1.201 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006144/1.954, allocations: 307.5 kB / 1.201 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004259/1.954, allocations: 47.97 kB / 1.201 GB, free: 11.05 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.001889/1.956, allocations: 398 kB / 1.202 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007027/1.957, allocations: 142.3 kB / 1.202 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0235/1.98, allocations: 3.277 MB / 1.205 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/1.98, allocations: 8 kB / 1.205 GB, free: 7.188 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.246e-05/1.98, allocations: 8 kB / 1.205 GB, free: 7.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.958e-05/1.981, allocations: 3.984 kB / 1.205 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02968/2.01, allocations: 5.034 MB / 1.21 GB, free: 2.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/2.01, allocations: 4 kB / 1.21 GB, free: 2.012 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004586/2.015, allocations: 371.7 kB / 1.21 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007096/2.022, allocations: 0.7763 MB / 1.211 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003104/2.022, allocations: 31.91 kB / 1.211 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0359/2.058, allocations: 14.84 MB / 1.226 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/2.058, allocations: 4 kB / 1.226 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/2.074, allocations: 3.268 MB / 1.229 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/2.076, allocations: 399 kB / 1.229 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004667/2.076, allocations: 16 kB / 1.229 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003886/2.08, allocations: 311.5 kB / 1.229 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004475/2.08, allocations: 76.45 kB / 1.229 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/2.081, allocations: 43.95 kB / 1.23 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001903/2.083, allocations: 0.7327 MB / 1.23 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.11e-07/2.083, allocations: 4 kB / 1.23 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003239/2.086, allocations: 460 kB / 1.231 GB, free: 11.44 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.0005851/2.087, allocations: 149.6 kB / 1.231 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01616/2.103, allocations: 3.675 MB / 1.234 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/2.103, allocations: 4.125 kB / 1.234 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.009423/2.112, allocations: 2.406 MB / 1.237 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/2.116, allocations: 476.7 kB / 1.237 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/2.134, allocations: 4.265 MB / 1.241 GB, free: 204 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/2.136, allocations: 1.415 MB / 1.243 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003031/2.139, allocations: 379.8 kB / 1.243 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007716/2.139, allocations: 115.3 kB / 1.243 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of SimCode: time 1.332e-06/2.139, allocations: 0 / 1.243 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.08006/2.22, allocations: 29.17 MB / 1.272 GB, free: 1.414 MB / 0.7605 GB