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.001385/0.001385, allocations: 92.22 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 1.018/1.018, allocations: 177.2 MB / 200 MB, free: 5.543 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.00182/0.00182, allocations: 160.6 kB / 256.6 MB, free: 13.01 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.03082/0.03082, allocations: 6.655 MB / 319.8 MB, free: 26.54 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.993e-06/1.993e-06, allocations: 0 / 391.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.444e-05, allocations: 6.312 kB / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.003601/0.003626, allocations: 2.911 MB / 394.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.004922, allocations: 0.6777 MB / 395.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.005164, allocations: 7.938 kB / 395.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.005364, allocations: 47.56 kB / 395.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.00573, allocations: 111 kB / 395.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.005936, allocations: 83.89 kB / 395.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.00651, allocations: 386.2 kB / 395.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.006765, allocations: 97.05 kB / 395.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.007009, allocations: 215.5 kB / 396.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.007159, allocations: 123.6 kB / 396.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.007205, allocations: 36 kB / 396.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.64e-05/0.007241, allocations: 36 kB / 396.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.00729, allocations: 79.73 kB / 396.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.007381, allocations: 119.8 kB / 396.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.007715, allocations: 251.1 kB / 396.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.007722, allocations: 0 / 396.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.007723, allocations: 0 / 396.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.007729, allocations: 0 / 396.8 MB, free: 13.42 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.0006553/0.008384, allocations: 0.6169 MB / 397.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.008422, allocations: 11.98 kB / 397.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.008559, allocations: 60.7 kB / 397.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.008885, allocations: 212.6 kB / 397.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.008906, allocations: 25.03 kB / 397.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.008957, allocations: 36.33 kB / 397.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.009321, allocations: 237 kB / 398 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.009339, allocations: 8.172 kB / 398 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.00936, allocations: 12.12 kB / 398 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.009372, allocations: 8 kB / 398 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.009541, allocations: 107.8 kB / 398.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.01067, allocations: 0.8681 MB / 399 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.01091, allocations: 91.03 kB / 399 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.01097, allocations: 35.67 kB / 399.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.01099, allocations: 7.938 kB / 399.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.01101, allocations: 33.39 kB / 399.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.745e-06/0.01102, allocations: 4 kB / 399.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004152/0.01143, allocations: 157.2 kB / 399.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.01147, allocations: 55.41 kB / 399.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.01162, allocations: 250.5 kB / 399.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.01164, allocations: 29.7 kB / 399.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.01174, allocations: 235.1 kB / 399.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.01178, allocations: 51.53 kB / 399.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.01183, allocations: 39.38 kB / 399.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.01197, allocations: 0.504 MB / 400.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.946e-05/0.01202, allocations: 19.98 kB / 400.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.0121, allocations: 86.05 kB / 400.5 MB, free: 9.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.01222, allocations: 109.6 kB / 400.6 MB, free: 9.281 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01222, allocations: 4 kB / 400.6 MB, free: 9.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00023/0.01245, allocations: 173 kB / 400.8 MB, free: 9.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.01247, allocations: 7.938 kB / 400.8 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01248, allocations: 0 / 400.8 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.01261, allocations: 27.67 kB / 400.8 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.01271, allocations: 31.98 kB / 400.9 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000893/0.01361, allocations: 1.747 MB / 402.6 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-05/0.01369, allocations: 19.89 kB / 402.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.0137, allocations: 7.984 kB / 402.6 MB, free: 7.129 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 0.0001044/0.01381, allocations: 164.6 kB / 402.8 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.01383, allocations: 23.84 kB / 402.8 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.01386, allocations: 17.47 kB / 402.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01386, allocations: 0 / 402.9 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01387, allocations: 4.094 kB / 402.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01387, allocations: 3.984 kB / 402.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.01405, allocations: 216.4 kB / 403.1 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01406, allocations: 0 / 403.1 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.946e-05/0.01416, allocations: 35.91 kB / 403.1 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.026e-05/0.01424, allocations: 19.69 kB / 403.1 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.01425, allocations: 3.938 kB / 403.1 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007188/0.01497, allocations: 1.728 MB / 404.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01497, allocations: 0 / 404.9 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.01523, allocations: 303.4 kB / 405.2 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.01524, allocations: 15.91 kB / 405.2 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.01525, allocations: 0 / 405.2 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.01532, allocations: 15.98 kB / 405.2 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.01536, allocations: 8.109 kB / 405.2 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.01537, allocations: 4 kB / 405.2 MB, free: 4.387 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.171e-05/0.01545, allocations: 181 kB / 405.4 MB, free: 4.211 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01545, allocations: 0 / 405.4 MB, free: 4.211 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.01567, allocations: 71.78 kB / 405.4 MB, free: 4.141 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 9.426e-05/0.01577, allocations: 99.28 kB / 405.5 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.01618, allocations: 262.9 kB / 405.8 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01618, allocations: 4.125 kB / 405.8 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.01633, allocations: 213.5 kB / 406 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.01661, allocations: 39.67 kB / 406 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.01767, allocations: 0.5856 MB / 406.6 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.469e-05/0.01773, allocations: 87.91 kB / 406.7 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.143e-05/0.01778, allocations: 17.47 kB / 406.7 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.01782, allocations: 16.5 kB / 406.8 MB, free: 2.727 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.01782, allocations: 0 / 406.8 MB, free: 2.727 MB / 330.7 MB Notification: Performance of Templates: time 0.00496/0.02278, allocations: 2.242 MB / 409 MB, free: 0.5156 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.2380484687164426]