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.0008763/0.0008763, allocations: 92.31 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.272/1.272, allocations: 223.3 MB / 240 MB, free: 5.512 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.0009397/0.0009397, allocations: 183.3 kB / 291.3 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.034/0.034, allocations: 8.805 MB / 351.2 MB, free: 4.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 13.14 kB / 414.5 MB, free: 42.74 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06548/0.06582, allocations: 52.56 MB / 467 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.001603/0.06745, allocations: 1.519 MB / 468.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005687/0.06803, allocations: 439 kB / 469 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.06812, allocations: 3.938 kB / 469 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.775e-05/0.06821, allocations: 19.91 kB / 469 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.659e-05/0.06828, allocations: 31.77 kB / 469 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.0684, allocations: 19.98 kB / 469.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.06855, allocations: 111.5 kB / 469.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.06868, allocations: 45.19 kB / 469.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.06873, allocations: 39.8 kB / 469.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.06881, allocations: 43.78 kB / 469.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.06883, allocations: 4 kB / 469.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.06886, allocations: 8 kB / 469.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.06888, allocations: 19.91 kB / 469.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.06895, allocations: 77.44 kB / 469.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.322e-05/0.06905, allocations: 80.05 kB / 469.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.06906, allocations: 0 / 469.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.06907, allocations: 3.984 kB / 469.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.06908, allocations: 0 / 469.5 MB, free: 10.64 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.0004134/0.0695, allocations: 403.2 kB / 469.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.06954, allocations: 8.031 kB / 469.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.06958, allocations: 16.75 kB / 469.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.06975, allocations: 200 kB / 470.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.06978, allocations: 8.375 kB / 470.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.06981, allocations: 12.38 kB / 470.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.06999, allocations: 102.8 kB / 470.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.07001, allocations: 7.938 kB / 470.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.07003, allocations: 7.938 kB / 470.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.07004, allocations: 4 kB / 470.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.07016, allocations: 59.97 kB / 470.3 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000683/0.07085, allocations: 0.4943 MB / 470.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.07095, allocations: 50.5 kB / 470.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.07099, allocations: 24.94 kB / 470.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.071, allocations: 0 / 470.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.07103, allocations: 34.56 kB / 470.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.07103, allocations: 0 / 470.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001536/0.07119, allocations: 61.59 kB / 471 MB, free: 8.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.07123, allocations: 51.41 kB / 471 MB, free: 8.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.07134, allocations: 147.3 kB / 471.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.07136, allocations: 25.7 kB / 471.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.07143, allocations: 120 kB / 471.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.07144, allocations: 15.73 kB / 471.3 MB, free: 8.598 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.07148, allocations: 21.72 kB / 471.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.07157, allocations: 318.8 kB / 471.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.0716, allocations: 12 kB / 471.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.07164, allocations: 34.56 kB / 471.7 MB, free: 8.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.307e-05/0.07171, allocations: 50.52 kB / 471.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.07172, allocations: 4 kB / 471.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001138/0.07184, allocations: 81.53 kB / 471.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.07186, allocations: 4 kB / 471.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.07187, allocations: 0 / 471.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.07188, allocations: 4 kB / 471.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/0.07197, allocations: 15.98 kB / 471.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.07198, allocations: 0 / 471.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.07204, allocations: 12.09 kB / 471.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.07205, allocations: 0 / 471.9 MB, free: 8.012 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 7.104e-05/0.07212, allocations: 129.7 kB / 472 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.07216, allocations: 11.89 kB / 472 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.07219, allocations: 12.25 kB / 472 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.0722, allocations: 0 / 472 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.07221, allocations: 0 / 472 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.07221, allocations: 3.938 kB / 472 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.07239, allocations: 201.5 kB / 472.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.0724, allocations: 3.938 kB / 472.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.07248, allocations: 11.98 kB / 472.2 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.07249, allocations: 4 kB / 472.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.0725, allocations: 4 kB / 472.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.07251, allocations: 0 / 472.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.07251, allocations: 0 / 472.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.07265, allocations: 163.4 kB / 472.4 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.0727, allocations: 88.98 kB / 472.5 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.07272, allocations: 4.047 kB / 472.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.638e-05/0.07282, allocations: 8 kB / 472.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.07284, allocations: 8.062 kB / 472.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.07285, allocations: 0 / 472.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.714e-05/0.07292, allocations: 117.2 kB / 472.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07292, allocations: 0 / 472.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.07317, allocations: 16 kB / 472.6 MB, free: 7.145 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.53e-05/0.07324, allocations: 95.25 kB / 472.7 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.874e-05/0.07333, allocations: 31.98 kB / 472.7 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.07335, allocations: 4.125 kB / 472.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.826e-05/0.07337, allocations: 11.94 kB / 472.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.07366, allocations: 15.94 kB / 472.8 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.07416, allocations: 369.3 kB / 473.1 MB, free: 6.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.07439, allocations: 0.7043 MB / 473.8 MB, free: 5.859 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.07442, allocations: 11.44 kB / 473.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of SimCode: time 1.533e-06/0.07443, allocations: 0 / 473.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of Templates: time 0.002223/0.07665, allocations: 1.09 MB / 474.9 MB, free: 4.758 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)