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.001787/0.001787, allocations: 89.48 kB / 19.44 MB, free: 332 kB / 13.93 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.566/1.566, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 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.002155/0.002155, allocations: 160.5 kB / 256.3 MB, free: 13.16 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.04065/0.04065, allocations: 6.652 MB / 319.4 MB, free: 26.57 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.833e-06/1.833e-06, allocations: 0 / 390.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.414e-05, allocations: 2.312 kB / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.008346/0.00838, allocations: 2.876 MB / 393.8 MB, free: 104 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.01079, allocations: 0.666 MB / 394.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.01102, allocations: 15.94 kB / 394.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.01129, allocations: 51.5 kB / 394.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.01173, allocations: 99.12 kB / 394.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.01204, allocations: 87.83 kB / 394.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007335/0.01278, allocations: 390.2 kB / 395.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.01311, allocations: 97.05 kB / 395.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.01358, allocations: 219.5 kB / 395.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.01393, allocations: 119.6 kB / 395.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.895e-05/0.01403, allocations: 40 kB / 395.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.01413, allocations: 36 kB / 395.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.01426, allocations: 71.75 kB / 395.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.0145, allocations: 119.7 kB / 395.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008638/0.01536, allocations: 422.7 kB / 396.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.01537, allocations: 0 / 396.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01537, allocations: 0 / 396.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.01538, allocations: 0 / 396.2 MB, free: 13.69 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.001642/0.01702, allocations: 0.6478 MB / 396.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.01707, allocations: 11.98 kB / 396.8 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.01727, allocations: 64.64 kB / 396.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.01783, allocations: 212.6 kB / 397.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.01787, allocations: 25.03 kB / 397.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-05/0.01797, allocations: 40.27 kB / 397.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009023/0.01887, allocations: 280.4 kB / 397.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.0189, allocations: 192 / 397.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.01896, allocations: 20.11 kB / 397.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.01897, allocations: 12 kB / 397.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.0198, allocations: 194.5 kB / 397.7 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003178/0.02298, allocations: 1.02 MB / 398.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/0.02368, allocations: 155 kB / 398.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.02398, allocations: 71.64 kB / 398.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.02402, allocations: 4.281 kB / 398.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/0.02407, allocations: 37.39 kB / 398.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.02407, allocations: 0 / 398.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.002334/0.02641, allocations: 0.5272 MB / 399.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.02648, allocations: 55.41 kB / 399.5 MB, free: 10.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.02696, allocations: 270.6 kB / 399.8 MB, free: 9.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.027, allocations: 29.7 kB / 399.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.0273, allocations: 239.1 kB / 400 MB, free: 9.574 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.02766, allocations: 67.47 kB / 400.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.02781, allocations: 51.36 kB / 400.2 MB, free: 9.449 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004554/0.02826, allocations: 0.5079 MB / 400.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.02852, allocations: 55.91 kB / 400.7 MB, free: 8.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.02886, allocations: 110.4 kB / 400.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006026/0.02946, allocations: 174.3 kB / 401 MB, free: 8.555 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02946, allocations: 0 / 401 MB, free: 8.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008779/0.03034, allocations: 239.5 kB / 401.2 MB, free: 8.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.03037, allocations: 8 kB / 401.2 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.03038, allocations: 0 / 401.2 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/0.03064, allocations: 31.8 kB / 401.3 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.03099, allocations: 39.92 kB / 401.3 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.03348, allocations: 1.767 MB / 403.1 MB, free: 6.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.03369, allocations: 8 kB / 403.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.03373, allocations: 19.97 kB / 403.1 MB, free: 6.312 MB / 330.7 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.0003121/0.03404, allocations: 188.6 kB / 403.3 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/0.03414, allocations: 27.84 kB / 403.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.236e-05/0.03421, allocations: 17.81 kB / 403.3 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.03421, allocations: 0 / 403.3 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.03421, allocations: 0 / 403.3 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.03423, allocations: 11.92 kB / 403.3 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.03597, allocations: 0.5979 MB / 403.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.03597, allocations: 8.062 kB / 404 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.03635, allocations: 39.86 kB / 404 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001625/0.03651, allocations: 23.67 kB / 404 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.03653, allocations: 8 kB / 404 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.03892, allocations: 1.755 MB / 405.8 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.03893, allocations: 8.031 kB / 405.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.04007, allocations: 421.9 kB / 406.2 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.04013, allocations: 15.89 kB / 406.2 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.04017, allocations: 8 kB / 406.2 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.04042, allocations: 8 kB / 406.2 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/0.04051, allocations: 19.91 kB / 406.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.04054, allocations: 4 kB / 406.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003008/0.04084, allocations: 185.1 kB / 406.4 MB, free: 2.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-07/0.04084, allocations: 8 kB / 406.4 MB, free: 2.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006412/0.04148, allocations: 56 kB / 406.5 MB, free: 2.703 MB / 330.7 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.0001939/0.04167, allocations: 95.23 kB / 406.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.04268, allocations: 334.8 kB / 406.9 MB, free: 2.254 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.04268, allocations: 0 / 406.9 MB, free: 2.254 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.04323, allocations: 253.7 kB / 407.2 MB, free: 1.984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009295/0.04416, allocations: 39.45 kB / 407.2 MB, free: 1.949 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.0462, allocations: 0.6151 MB / 407.8 MB, free: 1.293 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.04648, allocations: 150.5 kB / 408 MB, free: 1.125 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.04662, allocations: 17.62 kB / 408 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/0.04671, allocations: 16.5 kB / 408 MB, free: 1.094 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.04671, allocations: 4 kB / 408 MB, free: 1.09 MB / 330.7 MB Notification: Performance of Templates: time 0.1247/0.1714, allocations: 2.198 MB / 410.2 MB, free: 82.71 MB / 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: 4.82313088607043]