Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.001831/0.001831, 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.591/1.591, allocations: 177.1 MB / 199.7 MB, free: 5.812 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.002235/0.002235, allocations: 168.5 kB / 256.3 MB, free: 13.17 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.0424/0.0424, allocations: 6.664 MB / 319.4 MB, free: 26.58 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.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 390.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.604e-05, allocations: 6.109 kB / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001483/0.001509, allocations: 0.505 MB / 391.4 MB, free: 2.488 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000132/0.001641, allocations: 27.89 kB / 391.4 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.001665, allocations: 4 kB / 391.4 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.001677, allocations: 0 / 391.4 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.001722, allocations: 3.938 kB / 391.5 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.484e-05/0.001807, allocations: 0 / 391.5 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.001867, allocations: 19.92 kB / 391.5 MB, free: 2.434 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.342e-05/0.0019, allocations: 0 / 391.5 MB, free: 2.434 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.001937, allocations: 11.98 kB / 391.5 MB, free: 2.422 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.001985, allocations: 7.984 kB / 391.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.001999, allocations: 0 / 391.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.00201, allocations: 7.938 kB / 391.5 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.002021, allocations: 0 / 391.5 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.002038, allocations: 3.938 kB / 391.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 5.566e-05/0.002093, allocations: 19.92 kB / 391.5 MB, free: 2.383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.002095, allocations: 0 / 391.5 MB, free: 2.383 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.002096, allocations: 0 / 391.5 MB, free: 2.383 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.002099, allocations: 0 / 391.5 MB, free: 2.383 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004158/0.002515, allocations: 352.4 kB / 391.9 MB, free: 2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.002549, allocations: 8.031 kB / 391.9 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.002583, allocations: 8.891 kB / 391.9 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.002689, allocations: 104.6 kB / 392 MB, free: 1.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.002699, allocations: 4.375 kB / 392 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.002716, allocations: 384 / 392 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.855e-05/0.002804, allocations: 38.25 kB / 392 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.002811, allocations: 192 / 392 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.002819, allocations: 384 / 392 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.002828, allocations: 8.375 kB / 392 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.002867, allocations: 11.88 kB / 392 MB, free: 1.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.003036, allocations: 124.6 kB / 392.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.709e-05/0.003123, allocations: 39.06 kB / 392.2 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.003159, allocations: 15.77 kB / 392.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.003172, allocations: 4 kB / 392.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.00322, allocations: 37.39 kB / 392.3 MB, free: 1.512 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.003221, allocations: 0 / 392.3 MB, free: 1.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.000154/0.003375, allocations: 53.62 kB / 392.3 MB, free: 1.453 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.003419, allocations: 51.41 kB / 392.4 MB, free: 1.391 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.003541, allocations: 158.2 kB / 392.5 MB, free: 1.219 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.003561, allocations: 29.7 kB / 392.5 MB, free: 1.184 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.003644, allocations: 134.9 kB / 392.7 MB, free: 1.047 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.003676, allocations: 19.83 kB / 392.7 MB, free: 1.027 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.003717, allocations: 19.38 kB / 392.7 MB, free: 1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002533/0.003971, allocations: 496.1 kB / 393.2 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.003987, allocations: 4 kB / 393.2 MB, free: 0.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.569e-05/0.004003, allocations: 11.98 kB / 393.2 MB, free: 500 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.00405, allocations: 23.81 kB / 393.2 MB, free: 472 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004051, allocations: 3.938 kB / 393.2 MB, free: 468 kB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.606e-05/0.004137, allocations: 45.69 kB / 393.3 MB, free: 416 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.004153, allocations: 8 kB / 393.3 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.004156, allocations: 0 / 393.3 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.004168, allocations: 4 kB / 393.3 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.004251, allocations: 8 kB / 393.3 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.004255, allocations: 0 / 393.3 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.004275, allocations: 7.891 kB / 393.3 MB, free: 388 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.004283, allocations: 3.984 kB / 393.3 MB, free: 384 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 0.0001106/0.004393, allocations: 164.6 kB / 393.5 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.004401, allocations: 0 / 393.5 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.004421, allocations: 3.688 kB / 393.5 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.004427, allocations: 4 kB / 393.5 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.00443, allocations: 0 / 393.5 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.004434, allocations: 7.938 kB / 393.5 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.004544, allocations: 116.6 kB / 393.6 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.004545, allocations: 0 / 393.6 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.004612, allocations: 11.98 kB / 393.6 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.004613, allocations: 0 / 393.6 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.00462, allocations: 3.938 kB / 393.6 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.004621, allocations: 0 / 393.6 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004621, allocations: 0 / 393.6 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.004784, allocations: 92.38 kB / 393.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.004792, allocations: 3.953 kB / 393.7 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.004805, allocations: 4.016 kB / 393.7 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.735e-05/0.004822, allocations: 4 kB / 393.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.004839, allocations: 8 kB / 393.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.004842, allocations: 0 / 393.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.72e-05/0.004909, allocations: 123.2 kB / 393.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004909, allocations: 3.938 kB / 393.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001823/0.005091, allocations: 11.94 kB / 393.9 MB, free: 15.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (3): * Single equations (assignments): 3 * 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.503e-05/0.005186, allocations: 91.25 kB / 394 MB, free: 15.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.359e-05/0.00528, allocations: 23.67 kB / 394 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.005284, allocations: 4 kB / 394 MB, free: 15.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.076e-05/0.005304, allocations: 15.69 kB / 394 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.005435, allocations: 4.406 kB / 394 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.005795, allocations: 158.1 kB / 394.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.913e-05/0.005854, allocations: 59.34 kB / 394.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.574e-05/0.00587, allocations: 4 kB / 394.2 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.005894, allocations: 12.5 kB / 394.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005895, allocations: 0 / 394.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of Templates: time 0.00257/0.008464, allocations: 254.4 kB / 394.5 MB, free: 15.07 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.638369010994211]