Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.0009798/0.0009798, allocations: 73.88 kB / 20.66 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 1.063/1.063, allocations: 177.2 MB / 201 MB, free: 5.672 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.00198/0.00198, allocations: 160.6 kB / 257.7 MB, free: 12.95 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.02396/0.02396, allocations: 6.661 MB / 320.9 MB, free: 26.36 MB / 266.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.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 392.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.238e-05, allocations: 2.312 kB / 392.9 MB, free: 2.277 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002519/0.002541, allocations: 1.87 MB / 394.7 MB, free: 404 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007163/0.003258, allocations: 486.7 kB / 395.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.838e-05/0.003346, allocations: 4 kB / 395.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.76e-05/0.003444, allocations: 15.8 kB / 395.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.003514, allocations: 35.7 kB / 395.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.003627, allocations: 27.95 kB / 395.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.003766, allocations: 123.4 kB / 395.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003872, allocations: 37.16 kB / 395.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.003957, allocations: 71.83 kB / 395.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.004037, allocations: 39.88 kB / 395.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.004058, allocations: 8 kB / 395.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.004075, allocations: 16 kB / 395.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.004105, allocations: 27.86 kB / 395.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.004148, allocations: 35.91 kB / 395.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.004282, allocations: 79.73 kB / 395.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004284, allocations: 0 / 395.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004285, allocations: 0 / 395.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.004288, allocations: 0 / 395.7 MB, free: 15.4 MB / 330.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.0003925/0.004681, allocations: 440.1 kB / 396.1 MB, free: 14.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.004713, allocations: 12.03 kB / 396.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.004752, allocations: 20.89 kB / 396.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.004893, allocations: 140.4 kB / 396.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.004905, allocations: 8.375 kB / 396.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.004927, allocations: 12.36 kB / 396.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.005049, allocations: 103.9 kB / 396.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.005056, allocations: 192 / 396.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.005066, allocations: 8.375 kB / 396.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.005072, allocations: 3.938 kB / 396.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.921e-05/0.005121, allocations: 27.92 kB / 396.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.005636, allocations: 450.2 kB / 396.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.343e-05/0.00571, allocations: 51.03 kB / 397 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.005729, allocations: 15.77 kB / 397 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-06/0.005735, allocations: 0 / 397 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.005756, allocations: 41.33 kB / 397 MB, free: 13.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.005757, allocations: 0 / 397 MB, free: 13.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001204/0.005878, allocations: 53.62 kB / 397.1 MB, free: 13.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.005903, allocations: 55.41 kB / 397.1 MB, free: 13.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.005996, allocations: 185.8 kB / 397.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.006012, allocations: 25.7 kB / 397.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.006081, allocations: 174.5 kB / 397.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.006091, allocations: 11.91 kB / 397.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.006131, allocations: 31.34 kB / 397.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.006247, allocations: 0.4884 MB / 398 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.006264, allocations: 7.984 kB / 398 MB, free: 12.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.006294, allocations: 35 kB / 398.1 MB, free: 12.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.023e-05/0.006344, allocations: 55.03 kB / 398.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006346, allocations: 0 / 398.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.137e-05/0.006437, allocations: 73.58 kB / 398.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.006448, allocations: 4 kB / 398.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006453, allocations: 3.938 kB / 398.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.006461, allocations: 0 / 398.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.006533, allocations: 19.94 kB / 398.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.006536, allocations: 0 / 398.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.006567, allocations: 3.938 kB / 398.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.006572, allocations: 4 kB / 398.2 MB, free: 12.64 MB / 330.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 6.628e-05/0.006638, allocations: 164.6 kB / 398.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.006662, allocations: 7.953 kB / 398.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.006682, allocations: 15.94 kB / 398.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006683, allocations: 0 / 398.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.006685, allocations: 0 / 398.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.006688, allocations: 0 / 398.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.006816, allocations: 109.2 kB / 398.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006817, allocations: 0 / 398.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.006866, allocations: 19.98 kB / 398.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006868, allocations: 0 / 398.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.006873, allocations: 4 kB / 398.6 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.006875, allocations: 3.938 kB / 398.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.006877, allocations: 3.938 kB / 398.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.007013, allocations: 199.9 kB / 398.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.007027, allocations: 15.92 kB / 398.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.007038, allocations: 0 / 398.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.007103, allocations: 4 kB / 398.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.007114, allocations: 3.938 kB / 398.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.00712, allocations: 4 kB / 398.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.007167, allocations: 138.7 kB / 398.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007167, allocations: 7.969 kB / 398.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.007391, allocations: 23.94 kB / 399 MB, free: 11.87 MB / 330.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 0.0002978/0.007688, allocations: 95.23 kB / 399 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.239e-05/0.007761, allocations: 39.91 kB / 399.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.007762, allocations: 0 / 399.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.631e-05/0.007778, allocations: 23.61 kB / 399.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.008003, allocations: 0 / 399.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.008494, allocations: 269.6 kB / 399.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.071e-05/0.008535, allocations: 61.58 kB / 399.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.018e-05/0.008565, allocations: 11.86 kB / 399.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.008623, allocations: 82.19 kB / 399.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.008624, allocations: 0 / 399.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of Templates: time 0.002492/0.01112, allocations: 0.679 MB / 400.2 MB, free: 10.57 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.06107331905514]