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.00145/0.00145, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.069/1.069, allocations: 177.1 MB / 200.3 MB, free: 5.656 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.001316/0.001316, allocations: 156.6 kB / 256.9 MB, free: 12.93 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.02669/0.02669, allocations: 6.661 MB / 320.1 MB, free: 11.44 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.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 8.52e-07/8.52e-07, allocations: 0 / 392.1 MB, free: 3.359 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.174e-05, allocations: 2.312 kB / 392.1 MB, free: 3.355 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002033/0.002044, allocations: 1.847 MB / 393.9 MB, free: 1.496 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005522/0.002597, allocations: 490.7 kB / 394.4 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.002657, allocations: 4 kB / 394.4 MB, free: 1.008 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 6.443e-05/0.002721, allocations: 15.84 kB / 394.4 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.002776, allocations: 39.64 kB / 394.5 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.809e-05/0.002854, allocations: 27.97 kB / 394.5 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.002959, allocations: 123.3 kB / 394.6 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.003042, allocations: 41.2 kB / 394.7 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.003098, allocations: 71.86 kB / 394.7 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.003153, allocations: 35.91 kB / 394.8 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.003167, allocations: 8 kB / 394.8 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.00318, allocations: 12 kB / 394.8 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.0032, allocations: 23.84 kB / 394.8 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.003233, allocations: 39.92 kB / 394.9 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.00334, allocations: 79.73 kB / 394.9 MB, free: 0.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-06/0.003341, allocations: 0 / 394.9 MB, free: 0.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003342, allocations: 4 kB / 394.9 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.003345, allocations: 0 / 394.9 MB, free: 0.4961 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.0003678/0.003713, allocations: 444.1 kB / 395.4 MB, free: 28 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.003746, allocations: 8.031 kB / 395.4 MB, free: 20 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.003781, allocations: 21.45 kB / 395.4 MB, free: 0 / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.003911, allocations: 140.5 kB / 395.5 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.003922, allocations: 8.375 kB / 395.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.003942, allocations: 12.38 kB / 395.6 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/0.004033, allocations: 103.9 kB / 395.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-06/0.004037, allocations: 4.188 kB / 395.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.004044, allocations: 7.75 kB / 395.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-06/0.004047, allocations: 0 / 395.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.00408, allocations: 31.91 kB / 395.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.004475, allocations: 442.3 kB / 396.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.864e-05/0.004533, allocations: 50.97 kB / 396.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.004548, allocations: 23.67 kB / 396.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-06/0.004551, allocations: 0 / 396.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.004568, allocations: 45.16 kB / 396.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 5.11e-07/0.004568, allocations: 0 / 396.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 7.431e-05/0.004643, allocations: 53.72 kB / 396.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/0.004661, allocations: 55.39 kB / 396.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.247e-05/0.004734, allocations: 185.8 kB / 396.5 MB, free: 14.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.004743, allocations: 25.7 kB / 396.6 MB, free: 14.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.004794, allocations: 166.5 kB / 396.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.004805, allocations: 19.89 kB / 396.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.00483, allocations: 27.38 kB / 396.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.004932, allocations: 0.4923 MB / 397.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-06/0.004941, allocations: 4 kB / 397.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.004965, allocations: 35.05 kB / 397.3 MB, free: 13.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.005, allocations: 46.98 kB / 397.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.005001, allocations: 0 / 397.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.15e-05/0.005062, allocations: 77.58 kB / 397.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.00507, allocations: 8 kB / 397.4 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-06/0.005072, allocations: 4.219 kB / 397.4 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.005078, allocations: 0 / 397.4 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.585e-05/0.005123, allocations: 15.98 kB / 397.5 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.005127, allocations: 7.984 kB / 397.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.005149, allocations: 3.938 kB / 397.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-06/0.005152, allocations: 4 kB / 397.5 MB, free: 13.73 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.65e-05/0.005208, allocations: 160.5 kB / 397.6 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.005224, allocations: 11.89 kB / 397.6 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.484e-05/0.005239, allocations: 11.98 kB / 397.6 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.00524, allocations: 0 / 397.6 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.005241, allocations: 4 kB / 397.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-06/0.005243, allocations: 0 / 397.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.356e-05/0.005336, allocations: 117.2 kB / 397.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005337, allocations: 0 / 397.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.00537, allocations: 12 kB / 397.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005371, allocations: 0 / 397.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.005376, allocations: 0 / 397.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.005377, allocations: 3.938 kB / 397.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.005379, allocations: 3.984 kB / 397.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.005766, allocations: 207.8 kB / 398 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.005775, allocations: 7.953 kB / 398 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.005784, allocations: 8.031 kB / 398 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.005827, allocations: 7.938 kB / 398 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-06/0.005835, allocations: 3.984 kB / 398 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.005838, allocations: 4 kB / 398 MB, free: 13.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.572e-05/0.005873, allocations: 131.7 kB / 398.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005873, allocations: 0 / 398.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001484/0.006022, allocations: 27.94 kB / 398.2 MB, free: 12.95 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 4.799e-05/0.00607, allocations: 91.25 kB / 398.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.891e-05/0.006119, allocations: 39.59 kB / 398.3 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.00612, allocations: 0 / 398.3 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.006131, allocations: 15.67 kB / 398.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.006273, allocations: 8 kB / 398.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.00667, allocations: 274 kB / 398.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.792e-05/0.006698, allocations: 59.34 kB / 398.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.079e-05/0.006718, allocations: 11.77 kB / 398.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.006763, allocations: 78.2 kB / 398.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.006764, allocations: 0 / 398.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of Templates: time 0.001751/0.008514, allocations: 0.6714 MB / 399.4 MB, free: 11.66 MB / 378.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: 2.8638735176064074]