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.000861/0.000861, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.8748/0.8748, allocations: 177.2 MB / 200.3 MB, free: 5.379 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.001133/0.001133, allocations: 152.6 kB / 257 MB, free: 12.82 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.02413/0.02413, allocations: 6.66 MB / 266.9 MB, free: 3.059 MB / 250.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.203e-06/1.203e-06, allocations: 0 / 285.6 MB, free: 368 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.459e-05, allocations: 6.25 kB / 285.6 MB, free: 360 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.1119/0.1119, allocations: 2.869 MB / 288.5 MB, free: 20.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.113, allocations: 0.6891 MB / 289.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1132, allocations: 10.09 kB / 289.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1133, allocations: 50.05 kB / 289.2 MB, free: 20.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.1135, allocations: 103.1 kB / 289.3 MB, free: 20.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.1137, allocations: 82.91 kB / 289.4 MB, free: 20.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.114, allocations: 388.5 kB / 289.8 MB, free: 20.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1141, allocations: 110.3 kB / 289.9 MB, free: 20.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.1143, allocations: 219.4 kB / 290.1 MB, free: 19.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1145, allocations: 117.8 kB / 290.2 MB, free: 19.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.1145, allocations: 37.44 kB / 290.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.695e-05/0.1146, allocations: 36.19 kB / 290.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.1146, allocations: 81.48 kB / 290.4 MB, free: 19.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.1147, allocations: 115.3 kB / 290.5 MB, free: 19.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.1149, allocations: 249.2 kB / 290.8 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1149, allocations: 0 / 290.8 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1149, allocations: 2.469 kB / 290.8 MB, free: 19.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1149, allocations: 0.5625 kB / 290.8 MB, free: 19.64 MB / 266.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.0004714/0.1154, allocations: 0.4932 MB / 291.2 MB, free: 19.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.1154, allocations: 14.62 kB / 291.3 MB, free: 19.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.1155, allocations: 53.81 kB / 291.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.1156, allocations: 179.6 kB / 291.5 MB, free: 19.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1157, allocations: 22.41 kB / 291.5 MB, free: 19.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.1157, allocations: 33.41 kB / 291.5 MB, free: 19.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.1159, allocations: 224 kB / 291.8 MB, free: 18.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1159, allocations: 3.297 kB / 291.8 MB, free: 18.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1159, allocations: 15.19 kB / 291.8 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1159, allocations: 6.688 kB / 291.8 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1161, allocations: 72.45 kB / 291.9 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006989/0.1168, allocations: 0.6582 MB / 292.5 MB, free: 18.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1169, allocations: 80.5 kB / 292.6 MB, free: 18.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.1169, allocations: 23.27 kB / 292.6 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.1169, allocations: 3.188 kB / 292.6 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.24e-05/0.1169, allocations: 37.42 kB / 292.7 MB, free: 18.42 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.1169, allocations: 6.578 kB / 292.7 MB, free: 18.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002417/0.1172, allocations: 123.9 kB / 292.8 MB, free: 18.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.315e-05/0.1172, allocations: 57.94 kB / 292.8 MB, free: 18.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.1173, allocations: 183.9 kB / 293 MB, free: 18.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.1173, allocations: 27.55 kB / 293 MB, free: 18.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.1173, allocations: 185.2 kB / 293.2 MB, free: 17.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1173, allocations: 49.66 kB / 293.3 MB, free: 17.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.1174, allocations: 35.88 kB / 293.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.869e-05/0.1174, allocations: 328.7 kB / 293.6 MB, free: 17.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.1174, allocations: 17.59 kB / 293.7 MB, free: 17.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.1175, allocations: 56.66 kB / 293.7 MB, free: 17.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/0.1176, allocations: 96.23 kB / 293.8 MB, free: 17.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1176, allocations: 2.531 kB / 293.8 MB, free: 17.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001357/0.1177, allocations: 124.8 kB / 293.9 MB, free: 17.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.1177, allocations: 8 kB / 293.9 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1177, allocations: 0.875 kB / 293.9 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.183e-05/0.1178, allocations: 22.23 kB / 294 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.1179, allocations: 40.31 kB / 294 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003548/0.1182, allocations: 1.174 MB / 295.2 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/0.1183, allocations: 19.06 kB / 295.2 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1183, allocations: 4.375 kB / 295.2 MB, free: 16.23 MB / 266.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 5.396e-05/0.1184, allocations: 117.6 kB / 295.3 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1184, allocations: 16.48 kB / 295.3 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.1184, allocations: 19.95 kB / 295.3 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1184, allocations: 4.906 kB / 295.3 MB, free: 16.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1184, allocations: 3.938 kB / 295.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1184, allocations: 1.766 kB / 295.4 MB, free: 16.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1185, allocations: 136.6 kB / 295.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1185, allocations: 1.094 kB / 295.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.441e-05/0.1186, allocations: 31.55 kB / 295.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-05/0.1187, allocations: 22.27 kB / 295.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1187, allocations: 5.75 kB / 295.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002976/0.119, allocations: 1.149 MB / 296.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.119, allocations: 0 / 296.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.1191, allocations: 222.3 kB / 296.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.1192, allocations: 21.36 kB / 296.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1192, allocations: 10.44 kB / 296.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.1192, allocations: 7.453 kB / 297 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.1193, allocations: 18.61 kB / 297 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1193, allocations: 2.5 kB / 297 MB, free: 14.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.1193, allocations: 48.39 kB / 297 MB, free: 14.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1193, allocations: 0 / 297 MB, free: 14.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001794/0.1195, allocations: 72.19 kB / 297.1 MB, free: 14.59 MB / 266.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 5.934e-05/0.1195, allocations: 81.02 kB / 297.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1197, allocations: 191.1 kB / 297.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1197, allocations: 1.438 kB / 297.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.1198, allocations: 153.5 kB / 297.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.12, allocations: 27.52 kB / 297.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.1207, allocations: 0.555 MB / 298.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.1208, allocations: 84.23 kB / 298.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.1208, allocations: 18.39 kB / 298.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.1209, allocations: 84.05 kB / 298.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1209, allocations: 0 / 298.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of Templates: time 0.003972/0.1249, allocations: 2.239 MB / 300.5 MB, free: 13.23 MB / 266.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: 2.477632278110832]