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.0008949/0.0008948, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 223.3 MB / 240 MB, free: 5.465 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.0009016/0.0009016, allocations: 172.6 kB / 291.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03416/0.03416, allocations: 8.799 MB / 351.2 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003308, allocations: 10.69 kB / 414.5 MB, free: 42.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06463/0.06497, allocations: 52.55 MB / 467 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.0004898/0.06549, allocations: 234.2 kB / 467.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001104/0.06562, allocations: 27.89 kB / 467.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.06565, allocations: 0 / 467.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.06567, allocations: 0 / 467.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.11e-05/0.06569, allocations: 0 / 467.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.75e-05/0.06579, allocations: 0 / 467.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.757e-05/0.06583, allocations: 8 kB / 467.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.06588, allocations: 4 kB / 467.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.654e-05/0.0659, allocations: 7.922 kB / 467.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.665e-05/0.06594, allocations: 4 kB / 467.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.06596, allocations: 0 / 467.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-06/0.06597, allocations: 0 / 467.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.06599, allocations: 11.92 kB / 467.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.06602, allocations: 33.7 kB / 467.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 2.87e-05/0.06606, allocations: 3.984 kB / 467.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.06607, allocations: 3.938 kB / 467.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.06607, allocations: 0 / 467.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.766e-06/0.06608, allocations: 0 / 467.4 MB, free: 12.76 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.0002664/0.06635, allocations: 319.5 kB / 467.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.06639, allocations: 12.02 kB / 467.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.06642, allocations: 4.938 kB / 467.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.623e-05/0.06651, allocations: 168.7 kB / 467.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.06653, allocations: 384 / 467.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.06655, allocations: 4.375 kB / 467.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.363e-05/0.06663, allocations: 38.19 kB / 467.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-06/0.06664, allocations: 192 / 467.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.06666, allocations: 7.922 kB / 467.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.06667, allocations: 4 kB / 467.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.148e-05/0.06671, allocations: 8 kB / 467.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.06684, allocations: 161.5 kB / 468.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.251e-05/0.06692, allocations: 38.61 kB / 468.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.06695, allocations: 12.86 kB / 468.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.06696, allocations: 0 / 468.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.06699, allocations: 34.56 kB / 468.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.06699, allocations: 0 / 468.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001203/0.06712, allocations: 53.66 kB / 468.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.06715, allocations: 55.41 kB / 468.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.198e-05/0.06721, allocations: 101.8 kB / 468.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.06723, allocations: 25.7 kB / 468.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.58e-05/0.06726, allocations: 84.08 kB / 468.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.06729, allocations: 11.81 kB / 468.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.06732, allocations: 13.72 kB / 468.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.0674, allocations: 310.8 kB / 468.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.06742, allocations: 7.984 kB / 468.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.06744, allocations: 8 kB / 468.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.249e-05/0.06748, allocations: 20.86 kB / 468.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.06749, allocations: 0 / 468.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.779e-05/0.06756, allocations: 49.62 kB / 468.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.06758, allocations: 8 kB / 468.9 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.06759, allocations: 3.938 kB / 468.9 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.0676, allocations: 0 / 468.9 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.06768, allocations: 8 kB / 468.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.0677, allocations: 3.984 kB / 468.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.06771, allocations: 0 / 468.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.06772, allocations: 0 / 468.9 MB, free: 10.98 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.827e-05/0.06779, allocations: 121.8 kB / 469 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-06/0.0678, allocations: 3.906 kB / 469 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.06782, allocations: 7.438 kB / 469 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.06783, allocations: 0.5156 kB / 469 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.06784, allocations: 0 / 469 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-06/0.06785, allocations: 7.938 kB / 469 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.482e-05/0.06794, allocations: 153.7 kB / 469.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.06795, allocations: 0 / 469.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.06802, allocations: 8 kB / 469.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.06803, allocations: 7.938 kB / 469.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.06804, allocations: 11.91 kB / 469.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.06805, allocations: 0 / 469.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.06806, allocations: 0 / 469.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.06816, allocations: 73.12 kB / 469.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.0682, allocations: 77.11 kB / 469.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.06822, allocations: 7.969 kB / 469.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.733e-05/0.06824, allocations: 4 kB / 469.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-06/0.06826, allocations: 4.062 kB / 469.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.06827, allocations: 3.984 kB / 469.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.812e-05/0.0683, allocations: 83.28 kB / 469.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.0683, allocations: 0 / 469.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001777/0.06849, allocations: 4 kB / 469.5 MB, free: 10.32 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.477e-05/0.06856, allocations: 91.25 kB / 469.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.066e-05/0.06862, allocations: 19.92 kB / 469.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.06863, allocations: 4 kB / 469.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.06865, allocations: 8 kB / 469.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.06879, allocations: 5.656 kB / 469.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001937/0.06899, allocations: 142.6 kB / 469.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.06917, allocations: 0.677 MB / 470.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.0692, allocations: 11.44 kB / 470.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.06921, allocations: 3.938 kB / 470.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of Templates: time 0.001399/0.07061, allocations: 476.2 kB / 470.9 MB, free: 8.824 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)