Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.0009808/0.0009808, allocations: 92.2 kB / 20.19 MB, free: 4.363 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 0.9377/0.9377, allocations: 177.1 MB / 200.5 MB, free: 5.539 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.001254/0.001254, allocations: 164.6 kB / 257 MB, free: 13.07 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.02571/0.02571, allocations: 6.657 MB / 320.1 MB, free: 11.72 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.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") translateModel(HanserModelica.FirstSteps.Electrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 3.938 kB / 391.6 MB, free: 4.098 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.717e-05, allocations: 2.312 kB / 391.7 MB, free: 4.094 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.004777/0.004794, allocations: 1.27 MB / 392.9 MB, free: 2.816 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001046/0.004899, allocations: 19.91 kB / 392.9 MB, free: 2.797 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.00492, allocations: 0 / 392.9 MB, free: 2.797 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.004936, allocations: 7.922 kB / 392.9 MB, free: 2.789 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.517e-05/0.004972, allocations: 0 / 392.9 MB, free: 2.789 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.425e-05/0.005056, allocations: 7.938 kB / 393 MB, free: 2.781 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.94e-05/0.005105, allocations: 19.86 kB / 393 MB, free: 2.762 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.005138, allocations: 3.984 kB / 393 MB, free: 2.758 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.005169, allocations: 8 kB / 393 MB, free: 2.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.311e-05/0.005212, allocations: 11.98 kB / 393 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.005227, allocations: 0 / 393 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-06/0.005233, allocations: 0 / 393 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.005245, allocations: 0 / 393 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.005262, allocations: 11.94 kB / 393 MB, free: 2.727 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 4.71e-05/0.005309, allocations: 7.984 kB / 393 MB, free: 2.719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.005311, allocations: 0 / 393 MB, free: 2.719 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005311, allocations: 0 / 393 MB, free: 2.719 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.005314, allocations: 0 / 393 MB, free: 2.719 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003077/0.005622, allocations: 356.7 kB / 393.4 MB, free: 2.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.005658, allocations: 8.031 kB / 393.4 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.005693, allocations: 8.938 kB / 393.4 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/0.00578, allocations: 112.5 kB / 393.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.005792, allocations: 4.375 kB / 393.5 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.00581, allocations: 4.375 kB / 393.5 MB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.899e-05/0.005889, allocations: 34.25 kB / 393.5 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.005895, allocations: 192 / 393.5 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.005903, allocations: 4.375 kB / 393.5 MB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.00591, allocations: 384 / 393.5 MB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.005938, allocations: 7.938 kB / 393.5 MB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.006063, allocations: 116.7 kB / 393.7 MB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.501e-05/0.006128, allocations: 43 kB / 393.7 MB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.006156, allocations: 23.77 kB / 393.7 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-06/0.006162, allocations: 0 / 393.7 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.006183, allocations: 37.39 kB / 393.8 MB, free: 1.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 6.52e-07/0.006184, allocations: 0 / 393.8 MB, free: 1.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.000133/0.006317, allocations: 53.77 kB / 393.8 MB, free: 1.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.006347, allocations: 51.41 kB / 393.9 MB, free: 1.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.006422, allocations: 161.9 kB / 394 MB, free: 1.547 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.006432, allocations: 29.64 kB / 394.1 MB, free: 1.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.006473, allocations: 130.9 kB / 394.2 MB, free: 1.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.006498, allocations: 15.88 kB / 394.2 MB, free: 1.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.006535, allocations: 27.38 kB / 394.2 MB, free: 1.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.006652, allocations: 492.1 kB / 394.7 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.006665, allocations: 4 kB / 394.7 MB, free: 0.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-06/0.006675, allocations: 3.984 kB / 394.7 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.006707, allocations: 19.69 kB / 394.7 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006709, allocations: 0 / 394.7 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.999e-05/0.006769, allocations: 53.58 kB / 394.8 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.006781, allocations: 8 kB / 394.8 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.006785, allocations: 0 / 394.8 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.006796, allocations: 0 / 394.8 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.006873, allocations: 12 kB / 394.8 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.006877, allocations: 0 / 394.8 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.42e-05/0.006892, allocations: 3.938 kB / 394.8 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.006895, allocations: 0 / 394.8 MB, free: 0.7227 MB / 362.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 6.121e-05/0.006956, allocations: 164.6 kB / 395 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-06/0.006963, allocations: 0 / 395 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.006981, allocations: 7.688 kB / 395 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.006982, allocations: 0 / 395 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.006985, allocations: 0 / 395 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.006991, allocations: 3.938 kB / 395 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.858e-05/0.00706, allocations: 112.6 kB / 395.1 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.007061, allocations: 4 kB / 395.1 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.007113, allocations: 11.98 kB / 395.1 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007114, allocations: 0 / 395.1 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.007125, allocations: 0 / 395.1 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007126, allocations: 0 / 395.1 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.007129, allocations: 3.938 kB / 395.1 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.007239, allocations: 88.33 kB / 395.2 MB, free: 268 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.007248, allocations: 8 kB / 395.2 MB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.007259, allocations: 3.984 kB / 395.2 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.552e-05/0.007275, allocations: 4 kB / 395.2 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.007288, allocations: 4.031 kB / 395.2 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.007291, allocations: 4 kB / 395.2 MB, free: 244 kB / 362.7 MB Notification: Performance of sorting global known variables: time 3.527e-05/0.007326, allocations: 123.5 kB / 395.3 MB, free: 120 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.007326, allocations: 0 / 395.3 MB, free: 120 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.007517, allocations: 7.938 kB / 395.3 MB, free: 112 kB / 362.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 6.608e-05/0.007583, allocations: 91.25 kB / 395.4 MB, free: 8 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.027e-05/0.007673, allocations: 35.78 kB / 395.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007675, allocations: 0 / 395.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/0.007688, allocations: 11.69 kB / 395.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.007809, allocations: 7.938 kB / 395.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.0081, allocations: 158.3 kB / 395.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.008133, allocations: 55.34 kB / 395.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.32e-05/0.008146, allocations: 0 / 395.7 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.008166, allocations: 16.5 kB / 395.7 MB, free: 15.67 MB / 378.7 MB Notification: Performance of SimCode: time 4e-07/0.008166, allocations: 0 / 395.7 MB, free: 15.67 MB / 378.7 MB Notification: Performance of Templates: time 0.001801/0.009967, allocations: 270.5 kB / 396 MB, free: 15.41 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical3.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9674990728963166]