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.00178/0.00178, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.55/1.55, allocations: 177.1 MB / 199.7 MB, free: 5.793 MB / 186.7 MB " [Timeout remaining time 178] 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.002055/0.002055, allocations: 160.6 kB / 256.3 MB, free: 13.14 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.04085/0.04085, allocations: 6.661 MB / 319.4 MB, free: 26.55 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.313e-06/1.313e-06, allocations: 0 / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.09e-05, allocations: 13.7 kB / 390.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003236/0.003267, allocations: 1.828 MB / 392.7 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009/0.004167, allocations: 478.7 kB / 393.2 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.882e-05/0.004236, allocations: 4 kB / 393.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.00435, allocations: 15.8 kB / 393.2 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 8.767e-05/0.004437, allocations: 43.69 kB / 393.3 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.00457, allocations: 23.97 kB / 393.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.00477, allocations: 127.4 kB / 393.4 MB, free: 452 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.00489, allocations: 29.28 kB / 393.4 MB, free: 424 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.005007, allocations: 71.77 kB / 393.5 MB, free: 352 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.005109, allocations: 43.88 kB / 393.6 MB, free: 308 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.005136, allocations: 8 kB / 393.6 MB, free: 300 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.632e-05/0.005162, allocations: 12 kB / 393.6 MB, free: 288 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.005195, allocations: 19.92 kB / 393.6 MB, free: 268 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.248e-05/0.005258, allocations: 43.84 kB / 393.6 MB, free: 224 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.005448, allocations: 127.6 kB / 393.8 MB, free: 96 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005451, allocations: 0 / 393.8 MB, free: 96 kB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005451, allocations: 0 / 393.8 MB, free: 96 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005456, allocations: 0 / 393.8 MB, free: 96 kB / 314.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.0006499/0.006106, allocations: 448.1 kB / 394.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.006145, allocations: 8.031 kB / 394.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.006214, allocations: 20.89 kB / 394.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.006441, allocations: 140.4 kB / 394.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.006459, allocations: 8.375 kB / 394.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.00649, allocations: 16.38 kB / 394.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.006724, allocations: 123.9 kB / 394.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.006734, allocations: 192 / 394.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.006753, allocations: 8.125 kB / 394.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.006765, allocations: 7.984 kB / 394.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.006894, allocations: 59.91 kB / 394.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/0.007762, allocations: 0.4899 MB / 395.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.00789, allocations: 59.05 kB / 395.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.007927, allocations: 11.69 kB / 395.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.007948, allocations: 7.938 kB / 395.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.007986, allocations: 41.33 kB / 395.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.007987, allocations: 0 / 395.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002126/0.008199, allocations: 61.78 kB / 395.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.008247, allocations: 51.41 kB / 395.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.008425, allocations: 197.9 kB / 395.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.008443, allocations: 25.7 kB / 395.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.008566, allocations: 166.6 kB / 395.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.008587, allocations: 23.86 kB / 395.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.008634, allocations: 27.38 kB / 395.7 MB, free: 13.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.008886, allocations: 0.4884 MB / 396.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.983e-05/0.008916, allocations: 12 kB / 396.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.008974, allocations: 50.97 kB / 396.3 MB, free: 13.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.108e-05/0.009055, allocations: 55 kB / 396.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.009056, allocations: 4 kB / 396.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002453/0.009302, allocations: 77.62 kB / 396.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.009315, allocations: 12 kB / 396.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.009319, allocations: 0 / 396.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.009331, allocations: 3.938 kB / 396.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.00944, allocations: 23.98 kB / 396.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.009445, allocations: 0 / 396.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.009487, allocations: 7.891 kB / 396.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.009495, allocations: 4 kB / 396.5 MB, free: 13.14 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 0.0001168/0.009612, allocations: 160.6 kB / 396.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.009643, allocations: 11.89 kB / 396.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.009678, allocations: 15.98 kB / 396.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.00968, allocations: 4 kB / 396.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.009684, allocations: 0 / 396.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.009687, allocations: 0 / 396.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.00988, allocations: 152.6 kB / 396.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.009881, allocations: 0 / 396.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.966e-05/0.00995, allocations: 11.94 kB / 396.8 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.009952, allocations: 4 kB / 396.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.009962, allocations: 3.938 kB / 396.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.009967, allocations: 4.062 kB / 396.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009968, allocations: 0 / 396.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.01019, allocations: 223.9 kB / 397 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.0102, allocations: 0 / 397 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.01022, allocations: 3.938 kB / 397 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.0103, allocations: 8.234 kB / 397.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.01033, allocations: 7.984 kB / 397.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.01033, allocations: 0 / 397.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.01043, allocations: 143.2 kB / 397.2 MB, free: 12.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01043, allocations: 4 kB / 397.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.01066, allocations: 23.89 kB / 397.2 MB, free: 12.3 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.0001049/0.01076, allocations: 103.2 kB / 397.3 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.01088, allocations: 39.67 kB / 397.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.01088, allocations: 0 / 397.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.984e-05/0.01091, allocations: 23.62 kB / 397.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.01114, allocations: 11.92 kB / 397.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.01169, allocations: 253.7 kB / 397.6 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.952e-05/0.01178, allocations: 84.31 kB / 397.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.9e-05/0.01182, allocations: 7.859 kB / 397.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.01185, allocations: 12.5 kB / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01185, allocations: 4 kB / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of Templates: time 0.003446/0.01529, allocations: 0.6246 MB / 398.4 MB, free: 11.1 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: 4.785843198071234]