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.001344/0.001344, 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 1.11/1.11, allocations: 177.1 MB / 200.5 MB, free: 5.551 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.001454/0.001454, allocations: 160.6 kB / 257 MB, free: 13.05 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.02398/0.02398, allocations: 6.656 MB / 320.1 MB, free: 26.6 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.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 2.295e-06/2.295e-06, allocations: 0 / 391.6 MB, free: 2.988 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.355e-05, allocations: 9.828 kB / 391.7 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003267/0.003301, allocations: 1.863 MB / 393.5 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.004046, allocations: 490.8 kB / 394 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.146e-05/0.004138, allocations: 0 / 394 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.004272, allocations: 23.78 kB / 394 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.76e-05/0.004349, allocations: 35.7 kB / 394.1 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.004499, allocations: 19.97 kB / 394.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.004678, allocations: 127.3 kB / 394.2 MB, free: 424 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.004814, allocations: 41.23 kB / 394.2 MB, free: 384 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.0049, allocations: 67.81 kB / 394.3 MB, free: 316 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/0.004989, allocations: 43.83 kB / 394.3 MB, free: 272 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.005016, allocations: 12 kB / 394.4 MB, free: 260 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.741e-05/0.005033, allocations: 8 kB / 394.4 MB, free: 252 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.00506, allocations: 23.91 kB / 394.4 MB, free: 228 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.005107, allocations: 43.91 kB / 394.4 MB, free: 184 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.005253, allocations: 75.73 kB / 394.5 MB, free: 108 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005256, allocations: 0 / 394.5 MB, free: 108 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005257, allocations: 0 / 394.5 MB, free: 108 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.005263, allocations: 0 / 394.5 MB, free: 108 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.0005223/0.005786, allocations: 440 kB / 394.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.005829, allocations: 12.03 kB / 395 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.005886, allocations: 24.84 kB / 395 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.006082, allocations: 136.5 kB / 395.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.006095, allocations: 8.375 kB / 395.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.006121, allocations: 12.31 kB / 395.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.006282, allocations: 115.9 kB / 395.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.00629, allocations: 192 / 395.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.006305, allocations: 8.562 kB / 395.2 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.006315, allocations: 7.938 kB / 395.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.152e-05/0.006387, allocations: 39.91 kB / 395.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006332/0.00702, allocations: 461.7 kB / 395.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.007123, allocations: 47.05 kB / 395.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.007157, allocations: 23.77 kB / 395.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.007166, allocations: 7.984 kB / 395.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.007199, allocations: 37.33 kB / 395.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.007201, allocations: 0 / 395.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001876/0.007388, allocations: 61.58 kB / 395.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.007419, allocations: 51.41 kB / 396 MB, free: 14.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.00753, allocations: 189.7 kB / 396.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.007546, allocations: 25.7 kB / 396.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.007618, allocations: 170.5 kB / 396.3 MB, free: 14.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.007628, allocations: 7.906 kB / 396.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.007667, allocations: 35.36 kB / 396.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.007796, allocations: 492.1 kB / 396.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.456e-05/0.007821, allocations: 19.98 kB / 396.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.007858, allocations: 38.98 kB / 396.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.007917, allocations: 47.05 kB / 397 MB, free: 13.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.00792, allocations: 0 / 397 MB, free: 13.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.49e-05/0.008015, allocations: 73.58 kB / 397 MB, free: 13.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.008033, allocations: 7.938 kB / 397.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.008039, allocations: 4 kB / 397.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.008054, allocations: 0 / 397.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.045e-05/0.008145, allocations: 20 kB / 397.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.008152, allocations: 0 / 397.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.008178, allocations: 11.94 kB / 397.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.008184, allocations: 4.062 kB / 397.1 MB, free: 13.28 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.78e-05/0.008262, allocations: 156.6 kB / 397.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.008282, allocations: 11.95 kB / 397.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.008313, allocations: 15.94 kB / 397.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.008315, allocations: 0 / 397.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.008318, allocations: 3.938 kB / 397.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008322, allocations: 0 / 397.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.008452, allocations: 148.6 kB / 397.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008453, allocations: 0 / 397.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.008505, allocations: 11.98 kB / 397.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.008506, allocations: 0 / 397.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.008515, allocations: 0 / 397.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.008518, allocations: 7.875 kB / 397.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008519, allocations: 4 kB / 397.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.008679, allocations: 203.9 kB / 397.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.008693, allocations: 7.953 kB / 397.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.008708, allocations: 3.984 kB / 397.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/0.008758, allocations: 11.97 kB / 397.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.008776, allocations: 0 / 397.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.008779, allocations: 0 / 397.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.295e-05/0.008832, allocations: 139.2 kB / 397.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008832, allocations: 4 kB / 397.8 MB, free: 12.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.008991, allocations: 23.94 kB / 397.8 MB, free: 12.47 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 8.1e-05/0.009072, allocations: 91.25 kB / 397.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.935e-05/0.009171, allocations: 39.59 kB / 398 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009173, allocations: 0 / 398 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/0.009189, allocations: 23.75 kB / 398 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.009394, allocations: 8 kB / 398 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/0.01021, allocations: 270 kB / 398.3 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.01025, allocations: 63.34 kB / 398.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.118e-05/0.01028, allocations: 7.859 kB / 398.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.01031, allocations: 12.5 kB / 398.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01031, allocations: 0 / 398.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of Templates: time 0.002494/0.0128, allocations: 0.6129 MB / 398.9 MB, free: 11.3 MB / 330.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: 3.079918102128431]