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.0008776/0.0008776, allocations: 93.06 kB / 19.65 MB, free: 276 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 0.9854/0.9854, allocations: 177.1 MB / 200 MB, free: 5.832 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.001671/0.001671, allocations: 168.6 kB / 256.6 MB, free: 13.13 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.0239/0.0239, allocations: 6.66 MB / 319.8 MB, free: 26.49 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 1.683e-06/1.683e-06, allocations: 0 / 391.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.432e-05, allocations: 9.906 kB / 391.6 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.003294/0.003318, allocations: 2.915 MB / 394.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.004233, allocations: 0.6739 MB / 395.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.004359, allocations: 7.938 kB / 395.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.004509, allocations: 51.44 kB / 395.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.004705, allocations: 103.1 kB / 395.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.004841, allocations: 79.91 kB / 395.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.00537, allocations: 398.2 kB / 395.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.005553, allocations: 89.08 kB / 395.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.005742, allocations: 223.5 kB / 396.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.005879, allocations: 115.7 kB / 396.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.005919, allocations: 36 kB / 396.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.005955, allocations: 36 kB / 396.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.006002, allocations: 83.69 kB / 396.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.292e-05/0.006085, allocations: 119.7 kB / 396.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.006346, allocations: 247.1 kB / 396.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.006349, allocations: 0 / 396.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00635, allocations: 0 / 396.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.006355, allocations: 4 kB / 396.8 MB, free: 13.39 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.0006091/0.006964, allocations: 0.6208 MB / 397.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.006999, allocations: 11.98 kB / 397.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.768e-05/0.007077, allocations: 64.7 kB / 397.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.007314, allocations: 208.6 kB / 397.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.007332, allocations: 21.03 kB / 397.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.007377, allocations: 40.33 kB / 397.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.007686, allocations: 233 kB / 397.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.0077, allocations: 4.188 kB / 398 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.007724, allocations: 20.11 kB / 398 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.007734, allocations: 11.94 kB / 398 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.007899, allocations: 103.8 kB / 398.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009442/0.008843, allocations: 0.8759 MB / 399 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.009057, allocations: 107 kB / 399.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.18e-05/0.009118, allocations: 43.66 kB / 399.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.009137, allocations: 4 kB / 399.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.009379, allocations: 37.39 kB / 399.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.009381, allocations: 0 / 399.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007904/0.01017, allocations: 420.5 kB / 399.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.0102, allocations: 59.34 kB / 399.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.01033, allocations: 230.7 kB / 399.8 MB, free: 10.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.01034, allocations: 29.7 kB / 399.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.01043, allocations: 239 kB / 400.1 MB, free: 9.809 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.01047, allocations: 59.53 kB / 400.2 MB, free: 9.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.01052, allocations: 47.36 kB / 400.2 MB, free: 9.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.01062, allocations: 0.4923 MB / 400.7 MB, free: 9.191 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.01067, allocations: 23.98 kB / 400.7 MB, free: 9.168 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.01074, allocations: 78.41 kB / 400.8 MB, free: 9.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.01086, allocations: 121.6 kB / 400.9 MB, free: 8.934 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01086, allocations: 0 / 400.9 MB, free: 8.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002128/0.01107, allocations: 169 kB / 401.1 MB, free: 8.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.01108, allocations: 4 kB / 401.1 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.01109, allocations: 4 kB / 401.1 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.01122, allocations: 31.8 kB / 401.1 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01133, allocations: 39.92 kB / 401.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007342/0.01207, allocations: 1.732 MB / 402.9 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.01212, allocations: 8 kB / 402.9 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.01213, allocations: 12.11 kB / 402.9 MB, free: 6.801 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 9e-05/0.01222, allocations: 168.5 kB / 403.1 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.01225, allocations: 19.91 kB / 403.1 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.01227, allocations: 21.81 kB / 403.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01228, allocations: 8 kB / 403.1 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01228, allocations: 0 / 403.1 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.01228, allocations: 7.922 kB / 403.1 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.01272, allocations: 0.4963 MB / 403.6 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01272, allocations: 4.062 kB / 403.6 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.01283, allocations: 43.86 kB / 403.7 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.635e-05/0.01288, allocations: 19.67 kB / 403.7 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.0129, allocations: 8 kB / 403.7 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006196/0.01352, allocations: 1.72 MB / 405.4 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01352, allocations: 4 kB / 405.4 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.01376, allocations: 334.6 kB / 405.8 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.01378, allocations: 15.91 kB / 405.8 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.01379, allocations: 7.984 kB / 405.8 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.01386, allocations: 8 kB / 405.8 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.0139, allocations: 23.94 kB / 405.8 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.01391, allocations: 4 kB / 405.8 MB, free: 3.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.413e-05/0.01398, allocations: 173.1 kB / 406 MB, free: 3.508 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01398, allocations: 4 kB / 406 MB, free: 3.504 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.01419, allocations: 52 kB / 406 MB, free: 3.453 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 8.209e-05/0.01427, allocations: 103.2 kB / 406.1 MB, free: 3.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005163/0.01479, allocations: 262.8 kB / 406.4 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01479, allocations: 0 / 406.4 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.01492, allocations: 229.8 kB / 406.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.01519, allocations: 39.66 kB / 406.7 MB, free: 2.781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.01622, allocations: 0.6033 MB / 407.3 MB, free: 2.137 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.838e-05/0.01627, allocations: 87.97 kB / 407.3 MB, free: 2.031 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.01632, allocations: 17.64 kB / 407.4 MB, free: 2.012 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.01636, allocations: 16.5 kB / 407.4 MB, free: 1.996 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01636, allocations: 0 / 407.4 MB, free: 1.996 MB / 330.7 MB Notification: Performance of Templates: time 0.1034/0.1198, allocations: 2.224 MB / 409.6 MB, free: 81.04 MB / 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.1168553573079407]