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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009803/0.0009803, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9973/0.9973, allocations: 177.1 MB / 201 MB, free: 5.668 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 159.2 kB / 257.7 MB, free: 12.94 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02516/0.02516, allocations: 6.658 MB / 320.9 MB, free: 11.45 MB / 298.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 392.9 MB, free: 3.371 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.896e-05, allocations: 5.969 kB / 392.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002014/0.002033, allocations: 1.836 MB / 394.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005829/0.002616, allocations: 490.7 kB / 395.2 MB, free: 1.031 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.002689, allocations: 4 kB / 395.2 MB, free: 1.027 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.002795, allocations: 15.84 kB / 395.2 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.002858, allocations: 35.66 kB / 395.2 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.002978, allocations: 27.95 kB / 395.3 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.003373, allocations: 123.4 kB / 395.4 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.003483, allocations: 41.2 kB / 395.4 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.003554, allocations: 71.81 kB / 395.5 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.003632, allocations: 39.89 kB / 395.5 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.003652, allocations: 8 kB / 395.5 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.003667, allocations: 12 kB / 395.6 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.00369, allocations: 19.92 kB / 395.6 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.003725, allocations: 43.84 kB / 395.6 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.003841, allocations: 79.73 kB / 395.7 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003843, allocations: 0 / 395.7 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.003844, allocations: 4 kB / 395.7 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.003847, allocations: 0 / 395.7 MB, free: 0.5156 MB / 362.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.0003614/0.004209, allocations: 444.1 kB / 396.1 MB, free: 48 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.004243, allocations: 16.02 kB / 396.1 MB, free: 32 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.004282, allocations: 20.84 kB / 396.2 MB, free: 12 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.004424, allocations: 132.5 kB / 396.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.004434, allocations: 8.375 kB / 396.3 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.004455, allocations: 16.31 kB / 396.3 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.00456, allocations: 99.92 kB / 396.4 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.004567, allocations: 8.188 kB / 396.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.004576, allocations: 384 / 396.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.004581, allocations: 7.938 kB / 396.4 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.666e-05/0.004617, allocations: 27.91 kB / 396.5 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.005041, allocations: 442.3 kB / 396.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.353e-05/0.005104, allocations: 47.03 kB / 396.9 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.005122, allocations: 19.69 kB / 397 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.005127, allocations: 0 / 397 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.005146, allocations: 37.39 kB / 397 MB, free: 15.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005147, allocations: 0 / 397 MB, free: 15.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001063/0.005253, allocations: 57.61 kB / 397.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.005277, allocations: 55.41 kB / 397.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.005352, allocations: 185.9 kB / 397.3 MB, free: 14.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.005361, allocations: 25.7 kB / 397.3 MB, free: 14.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.005421, allocations: 170.5 kB / 397.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-06/0.005431, allocations: 11.91 kB / 397.5 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.005458, allocations: 27.36 kB / 397.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.005559, allocations: 0.4962 MB / 398 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-06/0.005568, allocations: 4 kB / 398 MB, free: 13.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.005593, allocations: 35.05 kB / 398.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.968e-05/0.005633, allocations: 46.98 kB / 398.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005634, allocations: 0 / 398.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.922e-05/0.005703, allocations: 77.7 kB / 398.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.005714, allocations: 4 kB / 398.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.005719, allocations: 4.094 kB / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.005727, allocations: 8.047 kB / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.005788, allocations: 19.98 kB / 398.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.005792, allocations: 4.047 kB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.005819, allocations: 7.938 kB / 398.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-06/0.005822, allocations: 7.938 kB / 398.2 MB, free: 13.75 MB / 378.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 () * 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 5.753e-05/0.00588, allocations: 156.6 kB / 398.4 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.005899, allocations: 11.95 kB / 398.4 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.005918, allocations: 7.938 kB / 398.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.00592, allocations: 0 / 398.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.005921, allocations: 0 / 398.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.005924, allocations: 7.984 kB / 398.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.295e-05/0.006017, allocations: 113.2 kB / 398.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006019, allocations: 4 kB / 398.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.006055, allocations: 8 kB / 398.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.006056, allocations: 0 / 398.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.006062, allocations: 0 / 398.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.006062, allocations: 0 / 398.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.006064, allocations: 3.938 kB / 398.5 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.006175, allocations: 215.8 kB / 398.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.006185, allocations: 3.953 kB / 398.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.006195, allocations: 8.031 kB / 398.8 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.206e-05/0.006237, allocations: 4 kB / 398.8 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.006249, allocations: 7.922 kB / 398.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.006252, allocations: 4 kB / 398.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.91e-05/0.006291, allocations: 135.7 kB / 398.9 MB, free: 13 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006291, allocations: 0 / 398.9 MB, free: 13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.006442, allocations: 31.89 kB / 398.9 MB, free: 12.97 MB / 378.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 () * 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 7.187e-05/0.006513, allocations: 91.25 kB / 399 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.144e-05/0.006575, allocations: 31.73 kB / 399.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006576, allocations: 4 kB / 399.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.006589, allocations: 19.67 kB / 399.1 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.006759, allocations: 8 kB / 399.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.007208, allocations: 273.6 kB / 399.4 MB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.138e-05/0.007239, allocations: 63.28 kB / 399.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.392e-05/0.007263, allocations: 11.77 kB / 399.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.007312, allocations: 78.2 kB / 399.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.007313, allocations: 0 / 399.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of Templates: time 0.002073/0.009386, allocations: 0.6791 MB / 400.2 MB, free: 11.67 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.957132712006569]