Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.TestDCPMMachine.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.0008963/0.0008963, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.9499/0.9499, allocations: 177.2 MB / 200.5 MB, free: 5.824 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.001489/0.001489, allocations: 160.6 kB / 257 MB, free: 13.2 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.02288/0.02288, allocations: 6.66 MB / 320.1 MB, free: 26.59 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.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 391.6 MB, free: 2.984 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.45e-05/9.662e-05, allocations: 2.312 kB / 391.6 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.004747/0.004844, allocations: 2.9 MB / 394.5 MB, free: 60 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.006004, allocations: 0.6738 MB / 395.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.006171, allocations: 15.94 kB / 395.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.006364, allocations: 47.5 kB / 395.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.006631, allocations: 99.12 kB / 395.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.006811, allocations: 83.89 kB / 395.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.007206, allocations: 390.2 kB / 395.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.007428, allocations: 93.05 kB / 395.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.00768, allocations: 219.5 kB / 396.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.007877, allocations: 127.6 kB / 396.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.007935, allocations: 36 kB / 396.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.144e-05/0.007987, allocations: 36 kB / 396.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.008051, allocations: 71.75 kB / 396.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.008179, allocations: 123.7 kB / 396.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.00853, allocations: 255.1 kB / 396.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.008532, allocations: 0 / 396.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.008533, allocations: 0 / 396.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.008539, allocations: 3.938 kB / 396.8 MB, free: 13.8 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001257/0.009796, allocations: 0.613 MB / 397.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.009851, allocations: 15.98 kB / 397.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.009965, allocations: 60.7 kB / 397.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.01028, allocations: 212.6 kB / 397.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.01031, allocations: 21.03 kB / 397.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.01037, allocations: 40.31 kB / 397.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.01081, allocations: 237 kB / 398 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.01083, allocations: 192 / 398 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.01087, allocations: 24.12 kB / 398 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.01089, allocations: 8 kB / 398 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002629/0.01115, allocations: 103.8 kB / 398.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.01262, allocations: 0.872 MB / 399 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.01291, allocations: 114.9 kB / 399.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.929e-05/0.013, allocations: 35.67 kB / 399.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.01302, allocations: 4 kB / 399.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.01305, allocations: 41.39 kB / 399.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.01306, allocations: 0 / 399.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001083/0.01414, allocations: 416.4 kB / 399.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.01417, allocations: 51.41 kB / 399.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.01435, allocations: 234.7 kB / 399.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.01437, allocations: 33.7 kB / 399.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.01448, allocations: 239 kB / 400.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.01453, allocations: 59.53 kB / 400.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.0146, allocations: 39.38 kB / 400.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.01474, allocations: 0.5001 MB / 400.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/0.01481, allocations: 23.98 kB / 400.7 MB, free: 9.594 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.01492, allocations: 84.58 kB / 400.8 MB, free: 9.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.01508, allocations: 114.3 kB / 400.9 MB, free: 9.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01509, allocations: 4 kB / 400.9 MB, free: 9.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003032/0.01539, allocations: 171.8 kB / 401.1 MB, free: 9.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.01541, allocations: 4 kB / 401.1 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01541, allocations: 3.984 kB / 401.1 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.01559, allocations: 31.67 kB / 401.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.01575, allocations: 47.98 kB / 401.2 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.01677, allocations: 1.732 MB / 402.9 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.01685, allocations: 8 kB / 402.9 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.01687, allocations: 4 kB / 402.9 MB, free: 7.223 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.01698, allocations: 164.7 kB / 403.1 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.01703, allocations: 23.91 kB / 403.1 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.487e-05/0.01706, allocations: 29.8 kB / 403.1 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01707, allocations: 0 / 403.1 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01707, allocations: 7.938 kB / 403.1 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.01708, allocations: 3.938 kB / 403.1 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.01771, allocations: 0.4964 MB / 403.6 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01771, allocations: 0 / 403.6 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.01787, allocations: 43.86 kB / 403.7 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.751e-05/0.01795, allocations: 23.73 kB / 403.7 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01796, allocations: 0 / 403.7 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.01906, allocations: 1.72 MB / 405.4 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01906, allocations: 0 / 405.4 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.01938, allocations: 350.7 kB / 405.8 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.0194, allocations: 11.91 kB / 405.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.01943, allocations: 8 kB / 405.8 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01953, allocations: 7.984 kB / 405.8 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.01959, allocations: 19.92 kB / 405.8 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.0196, allocations: 4 kB / 405.8 MB, free: 4.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.01969, allocations: 169 kB / 406 MB, free: 3.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01969, allocations: 0 / 406 MB, free: 3.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.02002, allocations: 60 kB / 406 MB, free: 3.875 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (machine.inductor.i,machine.inertia.w,load.phi) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.606e-05/0.02012, allocations: 95.25 kB / 406.1 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.02043, allocations: 270.8 kB / 406.4 MB, free: 3.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02043, allocations: 0 / 406.4 MB, free: 3.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.02056, allocations: 225.5 kB / 406.6 MB, free: 3.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.02082, allocations: 47.11 kB / 406.7 MB, free: 3.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.02185, allocations: 0.6072 MB / 407.3 MB, free: 2.559 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.855e-05/0.0219, allocations: 83.97 kB / 407.4 MB, free: 2.457 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.02195, allocations: 17.64 kB / 407.4 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.02199, allocations: 20.5 kB / 407.4 MB, free: 2.418 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02199, allocations: 3.938 kB / 407.4 MB, free: 2.414 MB / 330.7 MB Notification: Performance of Templates: time 0.004037/0.02602, allocations: 2.224 MB / 409.6 MB, free: 228 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe >> ../files/HanserModelica_HanserModelica.Rotational.TestDCPMMachine.sim & ./HanserModelica_HanserModelica.Rotational.TestDCPMMachine -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1955540981143713]