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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 238.9 MB, free: 5.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 185.1 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0445/0.0445, allocations: 8.797 MB / 350.1 MB, free: 4.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 8.875 kB / 413.1 MB, free: 42.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1116, allocations: 52.56 MB / 465.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.003247/0.1149, allocations: 2.307 MB / 467.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1164, allocations: 0.651 MB / 468.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.1166, allocations: 4 kB / 468.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.51e-05/0.1166, allocations: 35.69 kB / 468.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.117, allocations: 107.7 kB / 468.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.1171, allocations: 51.94 kB / 468.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.1175, allocations: 247.4 kB / 469 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.1177, allocations: 98.83 kB / 469.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.1178, allocations: 115.6 kB / 469.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.118, allocations: 127.4 kB / 469.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.1181, allocations: 19.94 kB / 469.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.364e-05/0.1181, allocations: 16 kB / 469.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.1182, allocations: 51.77 kB / 469.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.1183, allocations: 89.58 kB / 469.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.1186, allocations: 307.3 kB / 469.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1186, allocations: 0 / 469.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1186, allocations: 4 kB / 469.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1186, allocations: 0 / 469.8 MB, free: 9.309 MB / 302.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.0009997/0.1196, allocations: 0.5419 MB / 470.4 MB, free: 8.719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1197, allocations: 8.031 kB / 470.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.1198, allocations: 39.52 kB / 470.4 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.1201, allocations: 266.5 kB / 470.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.1201, allocations: 20.66 kB / 470.7 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.1202, allocations: 35.91 kB / 470.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.1207, allocations: 274 kB / 471 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1207, allocations: 8 kB / 471 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.1208, allocations: 12 kB / 471 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1208, allocations: 8 kB / 471 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004913/0.1213, allocations: 218.5 kB / 471.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.1228, allocations: 1.056 MB / 472.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.1232, allocations: 146.5 kB / 472.5 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1232, allocations: 4 kB / 472.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1232, allocations: 42.48 kB / 472.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.1232, allocations: 4 kB / 472.5 MB, free: 6.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0016/0.1248, allocations: 0.7027 MB / 473.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.1249, allocations: 51.41 kB / 473.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1251, allocations: 194.6 kB / 473.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1251, allocations: 33.7 kB / 473.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1252, allocations: 192.1 kB / 473.7 MB, free: 5.188 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.1253, allocations: 51.2 kB / 473.7 MB, free: 5.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.1253, allocations: 8 kB / 473.7 MB, free: 5.129 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1254, allocations: 334.8 kB / 474.1 MB, free: 4.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.1256, allocations: 55.97 kB / 474.1 MB, free: 4.738 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.1258, allocations: 118.9 kB / 474.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.126, allocations: 81.45 kB / 474.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.126, allocations: 0 / 474.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005004/0.1265, allocations: 242.2 kB / 474.5 MB, free: 4.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1265, allocations: 4 kB / 474.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1265, allocations: 4 kB / 474.5 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.1267, allocations: 24.78 kB / 474.6 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.1269, allocations: 47.91 kB / 474.6 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.1282, allocations: 1.28 MB / 475.9 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.1283, allocations: 16.02 kB / 475.9 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.1283, allocations: 8 kB / 475.9 MB, free: 2.766 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.1285, allocations: 146 kB / 476.1 MB, free: 2.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.1285, allocations: 15.81 kB / 476.1 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.1286, allocations: 21.86 kB / 476.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1286, allocations: 0 / 476.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1286, allocations: 7.953 kB / 476.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1286, allocations: 0 / 476.1 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.1297, allocations: 0.6217 MB / 476.7 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1297, allocations: 3.953 kB / 476.7 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.13, allocations: 40.03 kB / 476.8 MB, free: 1.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-05/0.13, allocations: 24.84 kB / 476.8 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.1301, allocations: 11.94 kB / 476.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009883/0.1311, allocations: 1.272 MB / 478.1 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.1311, allocations: 7.969 kB / 478.1 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.1318, allocations: 397.5 kB / 478.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.1318, allocations: 96.91 kB / 478.6 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.132, allocations: 12.09 kB / 478.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1322, allocations: 11.98 kB / 478.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.1322, allocations: 27.86 kB / 478.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1322, allocations: 4 kB / 478.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1324, allocations: 139.2 kB / 478.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1324, allocations: 0 / 478.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004032/0.1328, allocations: 56 kB / 478.8 MB, free: 15.6 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001125/0.1329, allocations: 103.2 kB / 478.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000685/0.1336, allocations: 292.1 kB / 479.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1336, allocations: 0 / 479.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.1339, allocations: 193.1 kB / 479.4 MB, free: 14.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1343, allocations: 35.06 kB / 479.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.1355, allocations: 0.8491 MB / 480.3 MB, free: 14.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.1361, allocations: 0.7712 MB / 481 MB, free: 13.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.405e-05/0.1361, allocations: 13.55 kB / 481.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.1362, allocations: 15.44 kB / 481.1 MB, free: 13.25 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1362, allocations: 0 / 481.1 MB, free: 13.25 MB / 318.1 MB Notification: Performance of Templates: time 0.005298/0.1415, allocations: 2.036 MB / 483.1 MB, free: 11.24 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: