Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 222.9 MB / 238.9 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 195.6 kB / 289.1 MB, free: 2.406 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05953/0.05953, allocations: 8.798 MB / 348.1 MB, free: 4.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 75.48 kB / 410.4 MB, free: 42.35 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08148/0.0828, allocations: 51.56 MB / 461.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001535/0.08437, allocations: 0.5557 MB / 462.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00011/0.08449, allocations: 19.91 kB / 462.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.806e-05/0.08452, allocations: 0 / 462.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.268e-05/0.08454, allocations: 0 / 462.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.398e-05/0.08457, allocations: 4 kB / 462.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.536e-05/0.08467, allocations: 12 kB / 462.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.716e-05/0.08471, allocations: 7.984 kB / 462.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.08476, allocations: 0 / 462.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.674e-05/0.08478, allocations: 7.938 kB / 462.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.228e-05/0.08483, allocations: 4 kB / 462.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.08485, allocations: 3.938 kB / 462.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-06/0.08486, allocations: 0 / 462.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.08487, allocations: 7.984 kB / 462.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.0849, allocations: 7.922 kB / 462.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.705e-05/0.08494, allocations: 3.938 kB / 462.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.08495, allocations: 8 kB / 462.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.08496, allocations: 0 / 462.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.08496, allocations: 0 / 462.6 MB, free: 14.26 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003057/0.08527, allocations: 323.5 kB / 462.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.08531, allocations: 8.031 kB / 462.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.08534, allocations: 0.9375 kB / 462.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.08545, allocations: 172.4 kB / 463.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.08546, allocations: 4.375 kB / 463.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.08548, allocations: 384 / 463.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.852e-05/0.08557, allocations: 34.27 kB / 463.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.08558, allocations: 192 / 463.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.0856, allocations: 3.938 kB / 463.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.0856, allocations: 4 kB / 463.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.294e-05/0.08564, allocations: 19.86 kB / 463.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.08579, allocations: 153.7 kB / 463.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.237e-05/0.08586, allocations: 30.58 kB / 463.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.08589, allocations: 20.94 kB / 463.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.0859, allocations: 0 / 463.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.08593, allocations: 34.56 kB / 463.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.08593, allocations: 0 / 463.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001283/0.08607, allocations: 57.47 kB / 463.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.0861, allocations: 51.41 kB / 463.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.543e-05/0.08616, allocations: 97.86 kB / 463.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.08619, allocations: 25.7 kB / 463.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.08622, allocations: 84.14 kB / 463.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.08625, allocations: 16.11 kB / 463.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.08628, allocations: 17.72 kB / 463.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.08638, allocations: 310.8 kB / 464 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.0864, allocations: 8 kB / 464 MB, free: 12.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.08642, allocations: 11.92 kB / 464 MB, free: 12.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.08647, allocations: 17.33 kB / 464.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.08648, allocations: 3.938 kB / 464.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.021e-05/0.08655, allocations: 49.69 kB / 464.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.08656, allocations: 4 kB / 464.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.08657, allocations: 3.984 kB / 464.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.08659, allocations: 3.984 kB / 464.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.08667, allocations: 12 kB / 464.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.08668, allocations: 0 / 464.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.0867, allocations: 11.91 kB / 464.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.08671, allocations: 0 / 464.1 MB, free: 12.47 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/0.08677, allocations: 109.8 kB / 464.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.08679, allocations: 11.98 kB / 464.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.08682, allocations: 11.44 kB / 464.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-06/0.08683, allocations: 0 / 464.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.08683, allocations: 0 / 464.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.08684, allocations: 0 / 464.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.206e-05/0.08692, allocations: 149.7 kB / 464.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.08693, allocations: 0 / 464.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.087, allocations: 11.94 kB / 464.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.087, allocations: 0 / 464.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.08702, allocations: 3.938 kB / 464.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.08702, allocations: 4 kB / 464.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.08703, allocations: 4 kB / 464.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.08714, allocations: 77.11 kB / 464.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.08718, allocations: 77.11 kB / 464.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.0872, allocations: 11.88 kB / 464.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.522e-05/0.08722, allocations: 0 / 464.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.08723, allocations: 4.031 kB / 464.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.08724, allocations: 0 / 464.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.08728, allocations: 83.33 kB / 464.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08729, allocations: 4 kB / 464.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001602/0.08745, allocations: 0 / 464.7 MB, free: 11.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.597e-05/0.08752, allocations: 95.19 kB / 464.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.023e-05/0.08759, allocations: 16 kB / 464.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.0876, allocations: 0 / 464.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.08762, allocations: 19.92 kB / 464.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.08774, allocations: 2.188 kB / 464.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.08795, allocations: 123.5 kB / 465 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/0.08816, allocations: 0.6809 MB / 465.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.382e-05/0.08818, allocations: 0 / 465.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.0882, allocations: 11.44 kB / 465.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.08821, allocations: 0 / 465.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of Templates: time 0.001586/0.0898, allocations: 233.1 kB / 465.9 MB, free: 10.59 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1)