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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.282/1.282, allocations: 222.9 MB / 238.8 MB, free: 4.773 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.001682/0.001682, allocations: 188.5 kB / 289.1 MB, free: 2.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03228/0.03228, allocations: 8.789 MB / 348.1 MB, free: 4.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 73.17 kB / 410.4 MB, free: 42.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07921/0.08057, allocations: 51.56 MB / 461.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002753/0.08335, allocations: 1.861 MB / 463.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006407/0.08401, allocations: 462.9 kB / 464.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.0841, allocations: 0 / 464.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.08423, allocations: 15.91 kB / 464.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.0843, allocations: 31.77 kB / 464.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.08444, allocations: 23.98 kB / 464.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.08458, allocations: 111.5 kB / 464.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.08471, allocations: 45.17 kB / 464.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.3e-05/0.08477, allocations: 39.8 kB / 464.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.08484, allocations: 51.77 kB / 464.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.08487, allocations: 8 kB / 464.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.064e-05/0.08489, allocations: 12 kB / 464.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.08492, allocations: 19.92 kB / 464.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.08498, allocations: 51.73 kB / 464.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.08511, allocations: 115.9 kB / 464.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.08512, allocations: 0 / 464.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.08513, allocations: 0 / 464.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.08514, allocations: 3.938 kB / 464.8 MB, free: 12.07 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004574/0.0856, allocations: 407.1 kB / 465.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.08564, allocations: 16.03 kB / 465.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.08568, allocations: 12.78 kB / 465.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.08587, allocations: 196.2 kB / 465.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.08589, allocations: 8.375 kB / 465.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.08592, allocations: 12.38 kB / 465.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.08609, allocations: 102.8 kB / 465.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.08611, allocations: 3.938 kB / 465.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.08613, allocations: 8 kB / 465.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.08614, allocations: 0 / 465.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.08625, allocations: 63.97 kB / 465.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.0869, allocations: 0.4981 MB / 466.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.531e-05/0.087, allocations: 50.56 kB / 466.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.08703, allocations: 12.86 kB / 466.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-06/0.08705, allocations: 4 kB / 466.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.285e-05/0.08712, allocations: 30.56 kB / 466.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.08712, allocations: 0 / 466.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001479/0.08727, allocations: 61.72 kB / 466.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.08731, allocations: 55.41 kB / 466.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.08742, allocations: 159.7 kB / 466.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.08744, allocations: 25.7 kB / 466.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.0875, allocations: 116 kB / 466.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.131e-05/0.08752, allocations: 11.81 kB / 466.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.08756, allocations: 21.7 kB / 466.6 MB, free: 10 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.08767, allocations: 322.8 kB / 466.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.0877, allocations: 15.98 kB / 467 MB, free: 9.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.08774, allocations: 30.58 kB / 467 MB, free: 9.621 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.225e-05/0.08781, allocations: 54.5 kB / 467 MB, free: 9.559 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.08782, allocations: 0 / 467 MB, free: 9.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001047/0.08793, allocations: 81.73 kB / 467.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.08794, allocations: 7.984 kB / 467.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.08795, allocations: 64 / 467.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.08797, allocations: 7.984 kB / 467.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.08806, allocations: 16 kB / 467.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.08807, allocations: 0 / 467.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.08812, allocations: 3.938 kB / 467.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.08813, allocations: 4 kB / 467.2 MB, free: 9.434 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.814e-05/0.08822, allocations: 133.6 kB / 467.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.08826, allocations: 15.83 kB / 467.3 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.08829, allocations: 12.25 kB / 467.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.0883, allocations: 4 kB / 467.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.0883, allocations: 0 / 467.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.08831, allocations: 0 / 467.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.08848, allocations: 197.5 kB / 467.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.08849, allocations: 0 / 467.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.08856, allocations: 8 kB / 467.5 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.08856, allocations: 0 / 467.5 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.08858, allocations: 4 kB / 467.5 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.08858, allocations: 4 kB / 467.5 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.08859, allocations: 3.938 kB / 467.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.08874, allocations: 175.3 kB / 467.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.08879, allocations: 81.02 kB / 467.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.08881, allocations: 4.031 kB / 467.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.08889, allocations: 0 / 467.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.08892, allocations: 7.984 kB / 467.8 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.08892, allocations: 4.062 kB / 467.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.061e-05/0.089, allocations: 109.3 kB / 467.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08901, allocations: 0 / 467.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.08923, allocations: 31.91 kB / 467.9 MB, free: 8.559 MB / 302.1 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 () * Number of clocked 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 (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.856e-05/0.08931, allocations: 91.25 kB / 468 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.66e-05/0.08941, allocations: 35.92 kB / 468.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.08942, allocations: 0 / 468.1 MB, free: 8.426 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.771e-05/0.08944, allocations: 12 kB / 468.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.08972, allocations: 19.86 kB / 468.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.09026, allocations: 313.1 kB / 468.4 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.09053, allocations: 0.6965 MB / 469.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.271e-05/0.09058, allocations: 8.672 kB / 469.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.09061, allocations: 11.44 kB / 469.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09062, allocations: 0 / 469.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of Templates: time 0.002555/0.09318, allocations: 0.6784 MB / 469.8 MB, free: 6.652 MB / 302.1 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)