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.001357/0.001357, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001/1.001, allocations: 177.1 MB / 201 MB, free: 5.691 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.001243/0.001243, allocations: 156.6 kB / 257.7 MB, free: 12.98 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.04819/0.04819, allocations: 6.658 MB / 320.9 MB, free: 26.36 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.432e-06/1.432e-06, allocations: 0 / 392.8 MB, free: 2.301 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.642e-05, allocations: 6.109 kB / 392.8 MB, free: 2.297 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.003955/0.003982, allocations: 2.888 MB / 395.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.00526, allocations: 0.6777 MB / 396.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.005453, allocations: 7.938 kB / 396.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.005647, allocations: 51.52 kB / 396.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.005982, allocations: 103.1 kB / 396.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.006161, allocations: 83.89 kB / 396.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.006584, allocations: 390.2 kB / 397 MB, free: 14.08 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.00678, allocations: 93.05 kB / 397.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.007065, allocations: 215.5 kB / 397.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.007237, allocations: 131.6 kB / 397.5 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.007277, allocations: 36 kB / 397.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.688e-05/0.007314, allocations: 36 kB / 397.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.007366, allocations: 71.75 kB / 397.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.216e-05/0.007458, allocations: 115.8 kB / 397.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.00776, allocations: 251.1 kB / 398 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.007764, allocations: 3.984 kB / 398 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.007766, allocations: 0 / 398 MB, free: 13.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.007772, allocations: 3.938 kB / 398 MB, free: 13.14 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.0006286/0.0084, allocations: 0.6168 MB / 398.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.008435, allocations: 11.98 kB / 398.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.808e-05/0.008513, allocations: 64.69 kB / 398.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.008744, allocations: 224.6 kB / 398.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.008762, allocations: 21.03 kB / 398.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.008801, allocations: 32.33 kB / 398.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.009054, allocations: 213 kB / 399.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.009069, allocations: 192 / 399.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.009092, allocations: 20.12 kB / 399.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.009106, allocations: 8 kB / 399.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.009214, allocations: 76.52 kB / 399.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009279/0.01014, allocations: 0.8452 MB / 400.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.01029, allocations: 82.95 kB / 400.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.01033, allocations: 31.67 kB / 400.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.01034, allocations: 4 kB / 400.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.01036, allocations: 33.39 kB / 400.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.01037, allocations: 4 kB / 400.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003261/0.01069, allocations: 149.4 kB / 400.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.01071, allocations: 51.41 kB / 400.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.01083, allocations: 238.5 kB / 400.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.01085, allocations: 33.7 kB / 400.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.01095, allocations: 231.1 kB / 400.9 MB, free: 9.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.01098, allocations: 55.52 kB / 401 MB, free: 9.926 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.01103, allocations: 43.34 kB / 401 MB, free: 9.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004217/0.01145, allocations: 0.4962 MB / 401.5 MB, free: 9.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.489e-05/0.01149, allocations: 19.98 kB / 401.5 MB, free: 9.348 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.01155, allocations: 85.2 kB / 401.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.39e-05/0.01164, allocations: 110 kB / 401.7 MB, free: 9.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.01164, allocations: 4 kB / 401.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001749/0.01182, allocations: 156.8 kB / 401.9 MB, free: 8.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.01183, allocations: 4 kB / 401.9 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01184, allocations: 3.984 kB / 401.9 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.391e-05/0.01193, allocations: 23.69 kB / 401.9 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.01204, allocations: 39.91 kB / 402 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006982/0.01274, allocations: 1.713 MB / 403.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.0128, allocations: 27.81 kB / 403.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.01281, allocations: 4 kB / 403.7 MB, free: 7.012 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 19 * 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 8.35e-05/0.01289, allocations: 164.5 kB / 403.9 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.01292, allocations: 19.91 kB / 403.9 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.01294, allocations: 17.47 kB / 403.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01294, allocations: 7.938 kB / 403.9 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01295, allocations: 4.062 kB / 403.9 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01295, allocations: 3.984 kB / 403.9 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.01314, allocations: 173 kB / 404.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01314, allocations: 0 / 404.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.01324, allocations: 31.97 kB / 404.1 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.078e-05/0.01331, allocations: 15.69 kB / 404.1 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.01332, allocations: 4 kB / 404.1 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006177/0.01393, allocations: 1.713 MB / 405.8 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01393, allocations: 0 / 405.8 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.01416, allocations: 295 kB / 406.1 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.01417, allocations: 19.89 kB / 406.2 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.01419, allocations: 4.047 kB / 406.2 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.01425, allocations: 7.984 kB / 406.2 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.01429, allocations: 16.06 kB / 406.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.01429, allocations: 8 kB / 406.2 MB, free: 4.348 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.693e-05/0.01436, allocations: 161 kB / 406.3 MB, free: 4.191 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01436, allocations: 0 / 406.3 MB, free: 4.191 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002088/0.01457, allocations: 75.78 kB / 406.4 MB, free: 4.117 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (machine.emf.phi,machine.inductor.i,machine.inertia.w) * 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 (12): * Single equations (assignments): 11 * 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.486e-05/0.01465, allocations: 99.17 kB / 406.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.01489, allocations: 251 kB / 406.8 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01489, allocations: 4.062 kB / 406.8 MB, free: 3.742 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.015, allocations: 213.5 kB / 407 MB, free: 3.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.01524, allocations: 39.61 kB / 407 MB, free: 3.473 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008695/0.01611, allocations: 0.5818 MB / 407.6 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.01616, allocations: 83.97 kB / 407.7 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.738e-05/0.0162, allocations: 13.48 kB / 407.7 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.657e-05/0.01629, allocations: 102.2 kB / 407.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01629, allocations: 3.938 kB / 407.8 MB, free: 2.633 MB / 330.7 MB Notification: Performance of Templates: time 0.004425/0.02072, allocations: 2.348 MB / 410.1 MB, free: 332 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.117248339112848]