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.0009891/0.0009891, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.955/0.955, allocations: 177.2 MB / 200.3 MB, free: 5.402 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.00188/0.00188, allocations: 160.9 kB / 256.9 MB, free: 12.83 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.03458/0.03458, allocations: 6.653 MB / 320.1 MB, free: 26.34 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.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.027e-06/1.046e-05, allocations: 2.312 kB / 392.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.002652/0.002663, allocations: 2.896 MB / 395 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.00522, allocations: 0.67 MB / 395.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003255/0.005545, allocations: 19.88 kB / 395.6 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.005771, allocations: 51.5 kB / 395.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.006174, allocations: 99.12 kB / 395.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.00644, allocations: 83.89 kB / 395.9 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005825/0.007023, allocations: 390.2 kB / 396.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.007286, allocations: 89.05 kB / 396.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.00767, allocations: 227.5 kB / 396.6 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.007891, allocations: 115.7 kB / 396.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.905e-05/0.00796, allocations: 40 kB / 396.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.642e-05/0.008017, allocations: 36 kB / 396.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.008079, allocations: 79.67 kB / 396.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.008193, allocations: 115.8 kB / 396.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.008472, allocations: 251.1 kB / 397.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.008475, allocations: 0 / 397.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.008476, allocations: 0 / 397.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.00848, allocations: 0 / 397.2 MB, free: 13.12 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.0005654/0.009045, allocations: 0.6207 MB / 397.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.009081, allocations: 15.98 kB / 397.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.009142, allocations: 60.7 kB / 397.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.009354, allocations: 208.7 kB / 398.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.009372, allocations: 28.95 kB / 398.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.00941, allocations: 36.33 kB / 398.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.009651, allocations: 221 kB / 398.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.009662, allocations: 192 / 398.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.009678, allocations: 12.12 kB / 398.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.009684, allocations: 12 kB / 398.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-05/0.009784, allocations: 84.5 kB / 398.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008484/0.01063, allocations: 0.8335 MB / 399.3 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.01077, allocations: 86.58 kB / 399.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.01081, allocations: 35.67 kB / 399.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.01083, allocations: 4 kB / 399.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.01085, allocations: 41.39 kB / 399.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.01085, allocations: 0 / 399.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002905/0.01114, allocations: 145.4 kB / 399.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.01116, allocations: 55.41 kB / 399.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.01128, allocations: 242.5 kB / 399.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.0113, allocations: 29.7 kB / 399.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.01139, allocations: 235.1 kB / 400.2 MB, free: 9.949 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.01141, allocations: 59.5 kB / 400.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.01146, allocations: 39.36 kB / 400.3 MB, free: 9.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.01157, allocations: 0.4962 MB / 400.8 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.0116, allocations: 15.98 kB / 400.8 MB, free: 9.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.813e-05/0.01166, allocations: 82.02 kB / 400.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.676e-05/0.01175, allocations: 110 kB / 401 MB, free: 9.082 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01176, allocations: 7.938 kB / 401 MB, free: 9.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001861/0.01194, allocations: 149.1 kB / 401.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.01196, allocations: 8 kB / 401.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01196, allocations: 0 / 401.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.698e-05/0.01205, allocations: 19.67 kB / 401.1 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.01214, allocations: 44.08 kB / 401.2 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007361/0.01288, allocations: 1.713 MB / 402.9 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.01294, allocations: 19.89 kB / 402.9 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.01295, allocations: 4 kB / 402.9 MB, free: 6.992 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 9.201e-05/0.01304, allocations: 160.7 kB / 403.1 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.01307, allocations: 23.91 kB / 403.1 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.0131, allocations: 21.45 kB / 403.1 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.0131, allocations: 7.875 kB / 403.1 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.0131, allocations: 7.938 kB / 403.1 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.0131, allocations: 0 / 403.1 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.01328, allocations: 177 kB / 403.3 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01328, allocations: 0 / 403.3 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.01337, allocations: 27.98 kB / 403.3 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.137e-05/0.01344, allocations: 23.67 kB / 403.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.01345, allocations: 4 kB / 403.4 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000636/0.01408, allocations: 1.709 MB / 405.1 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01408, allocations: 0 / 405.1 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.0143, allocations: 291.3 kB / 405.4 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.01431, allocations: 12.03 kB / 405.4 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.01433, allocations: 12 kB / 405.4 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.01439, allocations: 7.984 kB / 405.4 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.01442, allocations: 16.02 kB / 405.4 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.01443, allocations: 4 kB / 405.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.01451, allocations: 169 kB / 405.6 MB, free: 4.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01451, allocations: 0 / 405.6 MB, free: 4.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.01475, allocations: 71.78 kB / 405.6 MB, free: 4.09 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 7.989e-05/0.01483, allocations: 95.25 kB / 405.7 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.01508, allocations: 262.7 kB / 406 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01508, allocations: 0 / 406 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.01519, allocations: 201.5 kB / 406.2 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01543, allocations: 47.59 kB / 406.2 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/0.01634, allocations: 0.5857 MB / 406.8 MB, free: 2.828 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.01639, allocations: 83.97 kB / 406.9 MB, free: 2.723 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.01645, allocations: 17.48 kB / 406.9 MB, free: 2.707 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.522e-05/0.01653, allocations: 98.19 kB / 407 MB, free: 2.609 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01653, allocations: 0 / 407 MB, free: 2.609 MB / 330.7 MB Notification: Performance of Templates: time 0.004326/0.02086, allocations: 2.314 MB / 409.3 MB, free: 344 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.145826911088079]