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.000888/0.000888, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.9496/0.9496, 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.001189/0.001189, allocations: 164.6 kB / 257 MB, free: 12.81 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.02443/0.02443, allocations: 6.662 MB / 266.9 MB, free: 3.062 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.102e-06/1.102e-06, allocations: 0 / 285.7 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.725e-05, allocations: 6.25 kB / 285.7 MB, free: 320 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.1256/0.1256, allocations: 2.914 MB / 288.6 MB, free: 20.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1268, allocations: 0.6932 MB / 289.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.127, allocations: 9.344 kB / 289.3 MB, free: 20.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.1271, allocations: 47.72 kB / 289.3 MB, free: 20.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.1273, allocations: 110.5 kB / 289.4 MB, free: 20.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.1275, allocations: 78.78 kB / 289.5 MB, free: 20.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.1278, allocations: 388.7 kB / 289.9 MB, free: 20.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.128, allocations: 102.5 kB / 290 MB, free: 19.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.1283, allocations: 223.9 kB / 290.2 MB, free: 19.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1284, allocations: 117.1 kB / 290.3 MB, free: 19.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.913e-05/0.1285, allocations: 36 kB / 290.4 MB, free: 19.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.861e-05/0.1285, allocations: 37.59 kB / 290.4 MB, free: 19.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.1286, allocations: 76.53 kB / 290.5 MB, free: 19.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.845e-05/0.1287, allocations: 123.9 kB / 290.6 MB, free: 19.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.129, allocations: 247.5 kB / 290.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.129, allocations: 0 / 290.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.129, allocations: 0 / 290.8 MB, free: 19.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.129, allocations: 1.188 kB / 290.8 MB, free: 19.57 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.0005572/0.1295, allocations: 0.5007 MB / 291.3 MB, free: 19.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.1295, allocations: 16.86 kB / 291.4 MB, free: 19.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.1296, allocations: 45.41 kB / 291.4 MB, free: 19.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1298, allocations: 176.7 kB / 291.6 MB, free: 19.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1298, allocations: 24.31 kB / 291.6 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.1299, allocations: 38.34 kB / 291.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.1302, allocations: 220.1 kB / 291.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1302, allocations: 1.312 kB / 291.9 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.1302, allocations: 14.28 kB / 291.9 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1302, allocations: 9.219 kB / 291.9 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.1303, allocations: 70.41 kB / 291.9 MB, free: 18.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.1312, allocations: 0.6624 MB / 292.6 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.1314, allocations: 81.44 kB / 292.7 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.1314, allocations: 23.62 kB / 292.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.1314, allocations: 3.016 kB / 292.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.1314, allocations: 35.88 kB / 292.7 MB, free: 18.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1314, allocations: 0 / 292.7 MB, free: 18.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003057/0.1317, allocations: 129.6 kB / 292.9 MB, free: 18.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.549e-05/0.1317, allocations: 54.61 kB / 292.9 MB, free: 18.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.1318, allocations: 188.8 kB / 293.1 MB, free: 18.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.1318, allocations: 31.05 kB / 293.1 MB, free: 18.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.1319, allocations: 179.4 kB / 293.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.1319, allocations: 51.42 kB / 293.4 MB, free: 17.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.132, allocations: 36.2 kB / 293.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.271e-05/0.132, allocations: 327.7 kB / 293.7 MB, free: 17.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/0.132, allocations: 15.14 kB / 293.7 MB, free: 17.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.1321, allocations: 57.77 kB / 293.8 MB, free: 17.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.821e-05/0.1321, allocations: 96.55 kB / 293.9 MB, free: 17.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1321, allocations: 4.5 kB / 293.9 MB, free: 17.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001541/0.1323, allocations: 124.1 kB / 294 MB, free: 17.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1323, allocations: 6.062 kB / 294 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1323, allocations: 1.922 kB / 294 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.61e-05/0.1324, allocations: 20.23 kB / 294 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1325, allocations: 45.92 kB / 294.1 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003801/0.1329, allocations: 1.17 MB / 295.3 MB, free: 16.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.1329, allocations: 19.67 kB / 295.3 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.133, allocations: 3.375 kB / 295.3 MB, free: 16.16 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.129e-05/0.133, allocations: 122.9 kB / 295.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.133, allocations: 14.08 kB / 295.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.1331, allocations: 19.84 kB / 295.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1331, allocations: 9.094 kB / 295.4 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1331, allocations: 1.484 kB / 295.4 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1331, allocations: 3.422 kB / 295.4 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.1332, allocations: 138 kB / 295.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1332, allocations: 0.875 kB / 295.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.1333, allocations: 31.31 kB / 295.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-05/0.1334, allocations: 19.47 kB / 295.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1334, allocations: 4.969 kB / 295.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003171/0.1337, allocations: 1.164 MB / 296.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1337, allocations: 1.875 kB / 296.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1339, allocations: 216.7 kB / 297 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.1339, allocations: 21.17 kB / 297 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.1339, allocations: 5.344 kB / 297 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.049e-05/0.1339, allocations: 7.344 kB / 297 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.134, allocations: 16.27 kB / 297.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.134, allocations: 5.812 kB / 297.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.327e-05/0.134, allocations: 49.33 kB / 297.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.134, allocations: 0 / 297.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000186/0.1342, allocations: 76.09 kB / 297.2 MB, free: 14.52 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.69e-05/0.1343, allocations: 74.92 kB / 297.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.1345, allocations: 189.9 kB / 297.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1345, allocations: 1.469 kB / 297.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.1345, allocations: 147.9 kB / 297.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.1347, allocations: 41.78 kB / 297.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.1355, allocations: 0.5538 MB / 298.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.1356, allocations: 82.78 kB / 298.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.322e-05/0.1356, allocations: 18.62 kB / 298.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.1357, allocations: 81.98 kB / 298.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.1357, allocations: 0 / 298.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of Templates: time 0.004298/0.14, allocations: 2.289 MB / 300.7 MB, free: 13.13 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.587200751993805]