Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.667e-05, allocations: 6.188 kB / 228.1 MB, free: 7.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08974/0.08981, allocations: 38.78 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.0108/0.1007, allocations: 6.161 MB / 273.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00599/0.1067, allocations: 2.293 MB / 275.4 MB, free: 8.621 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.108, allocations: 31.94 kB / 275.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.1096, allocations: 362 kB / 275.7 MB, free: 8.234 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.1117, allocations: 434.6 kB / 276.2 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007755/0.1125, allocations: 135.9 kB / 276.3 MB, free: 7.676 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.1148, allocations: 0.6908 MB / 277 MB, free: 6.984 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007562/0.1156, allocations: 285.5 kB / 277.3 MB, free: 6.703 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007502/0.1164, allocations: 315 kB / 277.6 MB, free: 6.395 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007838/0.1172, allocations: 362.6 kB / 277.9 MB, free: 6.039 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.1177, allocations: 83.91 kB / 278 MB, free: 5.957 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.1179, allocations: 36 kB / 278.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.118, allocations: 131.4 kB / 278.2 MB, free: 5.793 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.1184, allocations: 100 kB / 278.3 MB, free: 5.695 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.1202, allocations: 1.079 MB / 279.4 MB, free: 4.613 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1203, allocations: 0 / 279.4 MB, free: 4.613 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.576e-06/0.1203, allocations: 0 / 279.4 MB, free: 4.613 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.981e-05/0.1203, allocations: 0 / 279.4 MB, free: 4.613 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002906/0.1233, allocations: 1.049 MB / 280.4 MB, free: 3.512 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.1233, allocations: 8.031 kB / 280.4 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007118/0.1241, allocations: 134.7 kB / 280.5 MB, free: 3.371 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.1258, allocations: 0.6211 MB / 281.2 MB, free: 2.707 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.843e-05/0.1259, allocations: 66 kB / 281.2 MB, free: 2.641 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.1261, allocations: 80 kB / 281.3 MB, free: 2.562 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.1286, allocations: 0.8145 MB / 282.1 MB, free: 1.719 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/0.1287, allocations: 7.844 kB / 282.1 MB, free: 1.711 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.1289, allocations: 32 kB / 282.2 MB, free: 1.68 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.1289, allocations: 20 kB / 282.2 MB, free: 1.66 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.1309, allocations: 0.5543 MB / 282.7 MB, free: 1.105 MB / 234.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007592/0.1386, allocations: 3.471 MB / 286.2 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000917/0.1395, allocations: 242.7 kB / 286.4 MB, free: 13.17 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.1396, allocations: 4 kB / 286.4 MB, free: 13.17 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1396, allocations: 34.56 kB / 286.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 2.836e-06/0.1397, allocations: 0 / 286.5 MB, free: 13.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.003558/0.1432, allocations: 1.103 MB / 287.6 MB, free: 11.95 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.1433, allocations: 81.11 kB / 287.7 MB, free: 11.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.1447, allocations: 0.621 MB / 288.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.874e-05/0.1448, allocations: 29.7 kB / 288.3 MB, free: 11.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/0.1453, allocations: 0.5316 MB / 288.8 MB, free: 10.64 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.1455, allocations: 106.5 kB / 288.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.1455, allocations: 16 kB / 289 MB, free: 10.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1457, allocations: 334.8 kB / 289.3 MB, free: 10.19 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/0.1462, allocations: 137.2 kB / 289.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007496/0.147, allocations: 454.2 kB / 289.9 MB, free: 9.461 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/0.1477, allocations: 211.9 kB / 290.1 MB, free: 9.254 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.1477, allocations: 4 kB / 290.1 MB, free: 9.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001751/0.1495, allocations: 0.5997 MB / 290.7 MB, free: 8.641 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/0.1496, allocations: 15.95 kB / 290.7 MB, free: 8.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.1496, allocations: 12 kB / 290.7 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.1498, allocations: 44.78 kB / 290.8 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009134/0.1508, allocations: 148.2 kB / 290.9 MB, free: 8.422 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.1522, allocations: 1.303 MB / 292.2 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009276/0.1532, allocations: 44.14 kB / 292.2 MB, free: 6.941 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/0.1533, allocations: 35.98 kB / 292.3 MB, free: 6.906 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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.0005307/0.1538, allocations: 241.5 kB / 292.5 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.154, allocations: 79.02 kB / 292.6 MB, free: 6.582 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.1552, allocations: 354.5 kB / 292.9 MB, free: 6.227 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.1552, allocations: 4 kB / 292.9 MB, free: 6.223 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1552, allocations: 4 kB / 292.9 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.1552, allocations: 0 / 292.9 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.158, allocations: 1.088 MB / 294 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1581, allocations: 0 / 294 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.1586, allocations: 72.12 kB / 294.1 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.1588, allocations: 24.84 kB / 294.1 MB, free: 4.953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.1588, allocations: 8 kB / 294.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.1602, allocations: 1.28 MB / 295.4 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.1602, allocations: 4 kB / 295.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.162, allocations: 0.6775 MB / 296.1 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.1624, allocations: 168.2 kB / 296.3 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.1626, allocations: 11.98 kB / 296.3 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/0.1632, allocations: 31.86 kB / 296.3 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1634, allocations: 27.97 kB / 296.3 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.1634, allocations: 8 kB / 296.3 MB, free: 2.5 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.1645, allocations: 475 kB / 296.8 MB, free: 2.039 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.1645, allocations: 0 / 296.8 MB, free: 2.039 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001086/0.1656, allocations: 172 kB / 297 MB, free: 1.871 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 (28): * Single equations (assignments): 27 * 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.0002844/0.1659, allocations: 123.1 kB / 297.1 MB, free: 1.742 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/0.1675, allocations: 495.9 kB / 297.6 MB, free: 1.25 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.1675, allocations: 0.5 kB / 297.6 MB, free: 1.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.1682, allocations: 254.5 kB / 297.8 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.1698, allocations: 167.8 kB / 298 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2143/0.3841, allocations: 1.803 MB / 299.8 MB, free: 29.23 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/0.3849, allocations: 0.9702 MB / 300.8 MB, free: 28.53 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.3851, allocations: 51.97 kB / 300.8 MB, free: 28.52 MB / 250.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3851, allocations: 0 / 300.8 MB, free: 28.52 MB / 250.7 MB Notification: Performance of Templates: time 0.03054/0.4157, allocations: 13 MB / 313.8 MB, free: 23.76 MB / 250.7 MB