Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 173.7 kB / 7.642 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04027/0.04027, allocations: 8.714 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.5 MB / 240.8 MB, free: 13.2 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 91.48 kB / 293.9 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.359e-05/1.361e-05, allocations: 0 / 352.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 52.55 MB / 405.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3381/0.4618, allocations: 77.97 MB / 483.2 MB, free: 9.348 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.462, allocations: 65.22 kB / 483.2 MB, free: 9.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004375/0.4664, allocations: 2.035 MB / 485.3 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4664, allocations: 0 / 485.3 MB, free: 7.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4664, allocations: 4 kB / 485.3 MB, free: 7.621 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000281/0.4667, allocations: 380.9 kB / 485.6 MB, free: 7.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.4668, allocations: 15.98 kB / 485.6 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.4668, allocations: 15.25 kB / 485.7 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.467, allocations: 190.4 kB / 485.8 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.467, allocations: 5.5 kB / 485.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.467, allocations: 4 kB / 485.9 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/0.4671, allocations: 57.67 kB / 485.9 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.4673, allocations: 84.19 kB / 486 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.4673, allocations: 5.75 kB / 486 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4673, allocations: 7.625 kB / 486 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.4673, allocations: 6.156 kB / 486 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.4679, allocations: 461.7 kB / 486.5 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.839e-05/0.4679, allocations: 45.2 kB / 486.5 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.468, allocations: 16.42 kB / 486.5 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.468, allocations: 0 / 486.5 MB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.468, allocations: 42.5 kB / 486.6 MB, free: 6.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.468, allocations: 0 / 486.6 MB, free: 6.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001235/0.4681, allocations: 53.33 kB / 486.6 MB, free: 6.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.441e-05/0.4682, allocations: 51.41 kB / 486.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.4682, allocations: 122.3 kB / 486.8 MB, free: 6.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.4683, allocations: 25.7 kB / 486.8 MB, free: 6.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.4683, allocations: 118.9 kB / 486.9 MB, free: 5.906 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/0.4683, allocations: 11.81 kB / 486.9 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.4683, allocations: 4 kB / 486.9 MB, free: 5.891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.4684, allocations: 321 kB / 487.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.4684, allocations: 11.69 kB / 487.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.4684, allocations: 29.83 kB / 487.3 MB, free: 5.535 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.4685, allocations: 19.61 kB / 487.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4685, allocations: 0 / 487.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.198e-05/0.4686, allocations: 72.62 kB / 487.4 MB, free: 5.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.4686, allocations: 5.719 kB / 487.4 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4686, allocations: 0 / 487.4 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4686, allocations: 0 / 487.4 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.4687, allocations: 20.5 kB / 487.4 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.4687, allocations: 3.953 kB / 487.4 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.4687, allocations: 7.844 kB / 487.4 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.4688, allocations: 4 kB / 487.4 MB, free: 5.414 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.4688, allocations: 101 kB / 487.5 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.4688, allocations: 12.05 kB / 487.5 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.4689, allocations: 8.844 kB / 487.5 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4689, allocations: 4 kB / 487.5 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4689, allocations: 0 / 487.5 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4689, allocations: 3.953 kB / 487.6 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.469, allocations: 165 kB / 487.7 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.469, allocations: 0 / 487.7 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.4691, allocations: 8 kB / 487.7 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4691, allocations: 3.938 kB / 487.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.4691, allocations: 1.203 kB / 487.7 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4691, allocations: 7.984 kB / 487.7 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4691, allocations: 1.031 kB / 487.7 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.4692, allocations: 159 kB / 487.9 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.4693, allocations: 81.02 kB / 488 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.4693, allocations: 4.031 kB / 488 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.4694, allocations: 0 / 488 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.4694, allocations: 7.984 kB / 488 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.4694, allocations: 4.062 kB / 488 MB, free: 4.805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.454e-05/0.4694, allocations: 95.41 kB / 488.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.4694, allocations: 0 / 488.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.4697, allocations: 29.48 kB / 488.1 MB, free: 4.691 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.565e-05/0.4698, allocations: 91.25 kB / 488.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.57e-05/0.4698, allocations: 36.08 kB / 488.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4699, allocations: 0 / 488.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.349e-05/0.4699, allocations: 11.56 kB / 488.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.47, allocations: 16.48 kB / 488.3 MB, free: 4.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.4704, allocations: 185.6 kB / 488.4 MB, free: 4.367 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.4705, allocations: 0.6963 MB / 489.1 MB, free: 3.645 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.445e-05/0.4705, allocations: 15.05 kB / 489.2 MB, free: 3.633 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.4706, allocations: 11.44 kB / 489.2 MB, free: 3.621 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4706, allocations: 0 / 489.2 MB, free: 3.621 MB / 346.7 MB Notification: Performance of Templates: time 0.002175/0.4727, allocations: 0.5249 MB / 489.7 MB, free: 3.137 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1)