Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.676/1.676, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.847e-05, allocations: 4 kB / 228.2 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08171/0.08176, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.00981/0.09164, allocations: 5.551 MB / 272.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005199/0.0969, allocations: 2.074 MB / 274.5 MB, free: 8.812 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009219/0.09787, allocations: 31.88 kB / 274.6 MB, free: 8.781 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.09927, allocations: 346.1 kB / 274.9 MB, free: 8.441 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.1009, allocations: 370.8 kB / 275.3 MB, free: 8.078 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.1014, allocations: 115.9 kB / 275.4 MB, free: 7.965 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.1034, allocations: 0.6674 MB / 276.1 MB, free: 7.297 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006525/0.1041, allocations: 254.2 kB / 276.3 MB, free: 7.047 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005973/0.1047, allocations: 295.1 kB / 276.6 MB, free: 6.758 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006024/0.1053, allocations: 338.7 kB / 276.9 MB, free: 6.426 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.1057, allocations: 71.97 kB / 277 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.1059, allocations: 36 kB / 277 MB, free: 6.32 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.1061, allocations: 139.3 kB / 277.2 MB, free: 6.184 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.1063, allocations: 92 kB / 277.3 MB, free: 6.094 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.1081, allocations: 1.075 MB / 278.3 MB, free: 5.016 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1081, allocations: 0 / 278.3 MB, free: 5.016 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.1082, allocations: 4 kB / 278.3 MB, free: 5.012 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.294e-05/0.1082, allocations: 0 / 278.3 MB, free: 5.012 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002316/0.1105, allocations: 0.975 MB / 279.3 MB, free: 3.984 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1106, allocations: 12.03 kB / 279.3 MB, free: 3.973 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005775/0.1112, allocations: 138.7 kB / 279.5 MB, free: 3.836 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.1127, allocations: 0.6134 MB / 280.1 MB, free: 3.18 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/0.1128, allocations: 58 kB / 280.1 MB, free: 3.121 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.113, allocations: 83.98 kB / 280.2 MB, free: 3.039 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.1152, allocations: 0.7715 MB / 281 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.1152, allocations: 7.906 kB / 281 MB, free: 2.23 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.1153, allocations: 28 kB / 281 MB, free: 2.203 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.1154, allocations: 24 kB / 281 MB, free: 2.18 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.1172, allocations: 0.5231 MB / 281.6 MB, free: 1.656 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007356/0.1245, allocations: 3.348 MB / 284.9 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.1256, allocations: 238.6 kB / 285.1 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.821e-05/0.1257, allocations: 4 kB / 285.2 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1257, allocations: 34.52 kB / 285.2 MB, free: 13.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 4.428e-06/0.1258, allocations: 0 / 285.2 MB, free: 13.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.004251/0.13, allocations: 1.076 MB / 286.3 MB, free: 12.67 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.1302, allocations: 81.11 kB / 286.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.1319, allocations: 0.6012 MB / 286.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.418e-05/0.132, allocations: 33.7 kB / 287 MB, free: 11.92 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006458/0.1326, allocations: 0.4904 MB / 287.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.1328, allocations: 102.5 kB / 287.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1329, allocations: 12 kB / 287.6 MB, free: 11.31 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002787/0.1332, allocations: 374.8 kB / 287.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006952/0.1339, allocations: 137.2 kB / 288.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.1349, allocations: 422.1 kB / 288.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008947/0.1358, allocations: 196.1 kB / 288.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.1359, allocations: 4 kB / 288.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00268/0.1386, allocations: 0.6228 MB / 289.3 MB, free: 9.426 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.1387, allocations: 12 kB / 289.3 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.1387, allocations: 12.03 kB / 289.3 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/0.139, allocations: 36.84 kB / 289.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.1403, allocations: 139.8 kB / 289.5 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.1422, allocations: 1.295 MB / 290.8 MB, free: 7.801 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.1434, allocations: 39.89 kB / 290.8 MB, free: 7.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.1435, allocations: 28.22 kB / 290.9 MB, free: 7.734 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.0006827/0.1442, allocations: 233.6 kB / 291.1 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.1444, allocations: 75.09 kB / 291.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.1459, allocations: 333.5 kB / 291.5 MB, free: 7.074 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1459, allocations: 4 kB / 291.5 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.146, allocations: 0 / 291.5 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.146, allocations: 0 / 291.5 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.1494, allocations: 1.096 MB / 292.6 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.1494, allocations: 0 / 292.6 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.1501, allocations: 63.89 kB / 292.7 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.1503, allocations: 24.8 kB / 292.7 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.1504, allocations: 8 kB / 292.7 MB, free: 5.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.1521, allocations: 1.28 MB / 294 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.1521, allocations: 4.031 kB / 294 MB, free: 4.383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.1543, allocations: 0.6541 MB / 294.6 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.1548, allocations: 164.3 kB / 294.8 MB, free: 3.465 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.155, allocations: 8 kB / 294.8 MB, free: 3.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008018/0.1559, allocations: 27.98 kB / 294.8 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.156, allocations: 27.86 kB / 294.8 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.1561, allocations: 8 kB / 294.9 MB, free: 3.395 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001317/0.1574, allocations: 463 kB / 295.3 MB, free: 2.949 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.1574, allocations: 0 / 295.3 MB, free: 2.949 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001511/0.1589, allocations: 160 kB / 295.5 MB, free: 2.793 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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.000316/0.1593, allocations: 123.4 kB / 295.6 MB, free: 2.664 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.1611, allocations: 471.6 kB / 296 MB, free: 2.195 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.1612, allocations: 7.938 kB / 296.1 MB, free: 2.188 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007893/0.162, allocations: 243.5 kB / 296.3 MB, free: 1.938 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.1638, allocations: 163 kB / 296.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2687/0.4325, allocations: 1.732 MB / 298.2 MB, free: 29.62 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009991/0.4336, allocations: 0.9569 MB / 299.1 MB, free: 28.91 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000922/0.4345, allocations: 85.66 kB / 299.2 MB, free: 28.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.4348, allocations: 45.81 kB / 299.3 MB, free: 28.9 MB / 250.7 MB Notification: Performance of SimCode: time 1.452e-06/0.4348, allocations: 3.938 kB / 299.3 MB, free: 28.9 MB / 250.7 MB Notification: Performance of Templates: time 0.03097/0.4658, allocations: 6.854 MB / 306.1 MB, free: 27.42 MB / 250.7 MB