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.001769/0.001769, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.486/1.486, allocations: 230.6 MB / 253.4 MB, free: 14.29 MB / 206.1 MB " [Timeout remaining time 178] 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.001624/0.001624, allocations: 211.6 kB / 310 MB, free: 3.133 MB / 238.1 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.04245/0.04245, allocations: 8.923 MB / 375.3 MB, free: 6.59 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 91.86 kB / 0.4903 GB, free: 44.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.107, allocations: 55.61 MB / 0.5447 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.004924/0.1119, allocations: 2.703 MB / 0.5473 GB, free: 1.852 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1135, allocations: 0.6544 MB / 0.5479 GB, free: 1.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.1136, allocations: 4 kB / 0.5479 GB, free: 1.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1138, allocations: 51.52 kB / 0.548 GB, free: 1.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.1141, allocations: 99.11 kB / 0.5481 GB, free: 1.039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.1143, allocations: 95.89 kB / 0.5482 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.1148, allocations: 370.4 kB / 0.5485 GB, free: 0.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.1151, allocations: 100.9 kB / 0.5486 GB, free: 492 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.1153, allocations: 147.4 kB / 0.5488 GB, free: 344 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.1156, allocations: 131.4 kB / 0.5489 GB, free: 212 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/0.1157, allocations: 36 kB / 0.5489 GB, free: 176 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.1157, allocations: 36 kB / 0.549 GB, free: 140 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.047e-05/0.1158, allocations: 75.77 kB / 0.549 GB, free: 64 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.116, allocations: 143.4 kB / 0.5492 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005276/0.1165, allocations: 418.3 kB / 0.5496 GB, free: 15.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1165, allocations: 4 kB / 0.5496 GB, free: 15.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1165, allocations: 0 / 0.5496 GB, free: 15.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1165, allocations: 0 / 0.5496 GB, free: 15.51 MB / 382.1 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.001043/0.1176, allocations: 0.5209 MB / 0.5501 GB, free: 14.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1176, allocations: 8.031 kB / 0.5501 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.517e-05/0.1177, allocations: 32.75 kB / 0.5501 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.1182, allocations: 222 kB / 0.5503 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.1182, allocations: 25.02 kB / 0.5503 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.1183, allocations: 32.38 kB / 0.5504 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.1189, allocations: 299.8 kB / 0.5507 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.1189, allocations: 3.953 kB / 0.5507 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.1189, allocations: 16 kB / 0.5507 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1189, allocations: 4 kB / 0.5507 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/0.1195, allocations: 206.5 kB / 0.5509 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.1211, allocations: 0.8448 MB / 0.5517 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.1215, allocations: 146.5 kB / 0.5519 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.1217, allocations: 68.83 kB / 0.5519 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1217, allocations: 4 kB / 0.5519 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1217, allocations: 42.44 kB / 0.552 GB, free: 12.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.1217, allocations: 4 kB / 0.552 GB, free: 12.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001475/0.1232, allocations: 0.5236 MB / 0.5525 GB, free: 12.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.1232, allocations: 63.34 kB / 0.5525 GB, free: 12.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.1235, allocations: 187.6 kB / 0.5527 GB, free: 12.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1235, allocations: 25.7 kB / 0.5527 GB, free: 12.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1237, allocations: 184.4 kB / 0.5529 GB, free: 11.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.1237, allocations: 63.47 kB / 0.553 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.1238, allocations: 37.67 kB / 0.553 GB, free: 11.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.124, allocations: 330.8 kB / 0.5533 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.1242, allocations: 59.97 kB / 0.5534 GB, free: 11.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.1244, allocations: 104.2 kB / 0.5535 GB, free: 11.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.1247, allocations: 176.1 kB / 0.5537 GB, free: 11.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1247, allocations: 3.938 kB / 0.5537 GB, free: 11.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004899/0.1252, allocations: 232.5 kB / 0.5539 GB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1252, allocations: 4 kB / 0.5539 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1252, allocations: 7.984 kB / 0.5539 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.1254, allocations: 20.84 kB / 0.5539 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.1256, allocations: 39.98 kB / 0.5539 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.1268, allocations: 1.244 MB / 0.5552 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.127, allocations: 16.02 kB / 0.5552 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.127, allocations: 4 kB / 0.5552 GB, free: 9.391 MB / 382.1 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.0001725/0.1272, allocations: 145.8 kB / 0.5553 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.1272, allocations: 19.86 kB / 0.5553 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.1273, allocations: 25.73 kB / 0.5554 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1273, allocations: 4 kB / 0.5554 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1273, allocations: 0 / 0.5554 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1273, allocations: 4.094 kB / 0.5554 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009467/0.1282, allocations: 0.5083 MB / 0.5559 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1282, allocations: 0 / 0.5559 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.1284, allocations: 31.98 kB / 0.5559 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.423e-05/0.1285, allocations: 24.84 kB / 0.5559 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1285, allocations: 0 / 0.5559 GB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.1296, allocations: 1.252 MB / 0.5571 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1296, allocations: 3.938 kB / 0.5571 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.1302, allocations: 368 kB / 0.5575 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.1303, allocations: 19.94 kB / 0.5575 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1303, allocations: 12.09 kB / 0.5575 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1304, allocations: 15.98 kB / 0.5575 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.1305, allocations: 7.984 kB / 0.5576 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1305, allocations: 4 kB / 0.5576 GB, free: 6.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1306, allocations: 137.2 kB / 0.5577 GB, free: 6.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1306, allocations: 4 kB / 0.5577 GB, free: 6.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003383/0.131, allocations: 52 kB / 0.5577 GB, free: 6.586 MB / 382.1 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 0.000139/0.1311, allocations: 103.2 kB / 0.5578 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006341/0.1318, allocations: 270.4 kB / 0.5581 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1318, allocations: 0 / 0.5581 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.1321, allocations: 186.5 kB / 0.5583 GB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1325, allocations: 49.34 kB / 0.5583 GB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.1338, allocations: 0.7102 MB / 0.559 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.134, allocations: 150.5 kB / 0.5592 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.1341, allocations: 15.44 kB / 0.5592 GB, free: 5.027 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1341, allocations: 0 / 0.5592 GB, free: 5.027 MB / 382.1 MB Notification: Performance of Templates: time 0.006804/0.1409, allocations: 4.203 MB / 0.5633 GB, free: 0.8281 MB / 382.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.822906844317913] Failed to read output from testmodel.py, exit status != 0: 0.35339933913201094 0.37069501199999993 0.25068410199999996 Calling exit ...