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.0008818/0.0008818, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.133/1.133, allocations: 177.1 MB / 200.3 MB, free: 5.359 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.00131/0.00131, allocations: 155.4 kB / 256.9 MB, free: 12.82 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.03301/0.03301, allocations: 6.654 MB / 320.1 MB, free: 26.35 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.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.603e-06/1.603e-06, allocations: 0 / 392.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.832e-05, allocations: 5.969 kB / 392.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003434/0.003463, allocations: 1.851 MB / 393.9 MB, free: 420 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.004493, allocations: 482.8 kB / 394.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.004596, allocations: 0 / 394.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.004718, allocations: 19.84 kB / 394.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.595e-05/0.004814, allocations: 39.64 kB / 394.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.00496, allocations: 27.97 kB / 394.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.005145, allocations: 127.4 kB / 394.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.005274, allocations: 29.23 kB / 394.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.005393, allocations: 79.8 kB / 394.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.005491, allocations: 31.89 kB / 394.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.005517, allocations: 12 kB / 394.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.005536, allocations: 8 kB / 394.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.005565, allocations: 23.92 kB / 394.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.062e-05/0.005616, allocations: 43.84 kB / 394.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.005777, allocations: 79.67 kB / 394.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.00578, allocations: 4 kB / 394.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005781, allocations: 0 / 394.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.005786, allocations: 4 kB / 394.9 MB, free: 15.41 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.0005077/0.006293, allocations: 436.1 kB / 395.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.00634, allocations: 8.031 kB / 395.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.006394, allocations: 24.88 kB / 395.4 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.006574, allocations: 148.4 kB / 395.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.006587, allocations: 12.31 kB / 395.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.006615, allocations: 12.38 kB / 395.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.006762, allocations: 103.9 kB / 395.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.00677, allocations: 192 / 395.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.006783, allocations: 4.375 kB / 395.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.006791, allocations: 7.938 kB / 395.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.757e-05/0.006848, allocations: 31.91 kB / 395.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.007455, allocations: 442.2 kB / 396.1 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.007539, allocations: 47.05 kB / 396.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.007562, allocations: 15.69 kB / 396.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.007569, allocations: 0 / 396.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.007592, allocations: 33.39 kB / 396.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.007593, allocations: 0 / 396.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001486/0.007742, allocations: 61.66 kB / 396.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.007768, allocations: 51.41 kB / 396.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.007882, allocations: 189.5 kB / 396.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.007897, allocations: 29.7 kB / 396.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/0.007981, allocations: 174.5 kB / 396.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.007994, allocations: 15.91 kB / 396.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.008039, allocations: 31.3 kB / 396.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.008186, allocations: 0.4884 MB / 397.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.008204, allocations: 7.984 kB / 397.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.00824, allocations: 35.05 kB / 397.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.773e-05/0.008298, allocations: 47 kB / 397.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.0083, allocations: 0 / 397.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001032/0.008403, allocations: 69.58 kB / 397.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.008419, allocations: 8.062 kB / 397.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.008427, allocations: 7.938 kB / 397.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.008439, allocations: 0 / 397.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.008523, allocations: 15.98 kB / 397.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.008529, allocations: 7.938 kB / 397.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.008564, allocations: 3.938 kB / 397.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.008571, allocations: 8 kB / 397.4 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 7.7e-05/0.008648, allocations: 152.6 kB / 397.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.008677, allocations: 7.953 kB / 397.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.008707, allocations: 15.94 kB / 397.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.008709, allocations: 4 kB / 397.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008711, allocations: 0 / 397.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.008714, allocations: 0 / 397.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.008872, allocations: 121.2 kB / 397.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008874, allocations: 0 / 397.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.008936, allocations: 8.188 kB / 397.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.008939, allocations: 0 / 397.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.008946, allocations: 4 kB / 397.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008948, allocations: 0 / 397.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.008952, allocations: 7.922 kB / 397.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.009116, allocations: 207.8 kB / 398 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.009133, allocations: 11.98 kB / 398 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.009145, allocations: 0 / 398 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.009222, allocations: 4.062 kB / 398 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.009238, allocations: 11.92 kB / 398 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.009243, allocations: 0 / 398 MB, free: 12.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.618e-05/0.009299, allocations: 143.2 kB / 398.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009299, allocations: 0 / 398.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.009562, allocations: 19.94 kB / 398.2 MB, free: 11.88 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 9.154e-05/0.009654, allocations: 95.19 kB / 398.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9e-05/0.009744, allocations: 39.61 kB / 398.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.009747, allocations: 4 kB / 398.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.56e-05/0.009763, allocations: 11.69 kB / 398.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.01003, allocations: 7.984 kB / 398.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006901/0.01072, allocations: 261.6 kB / 398.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.72e-05/0.01076, allocations: 65.58 kB / 398.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.858e-05/0.0108, allocations: 15.97 kB / 398.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.01087, allocations: 74.2 kB / 398.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01087, allocations: 0 / 398.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of Templates: time 0.002993/0.01386, allocations: 0.665 MB / 399.4 MB, free: 10.59 MB / 330.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: 3.0516532799229026]