Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 224.7 MB / 241.1 MB, free: 1.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.735e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 50.42 MB / 345 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01069/0.1207, allocations: 6.173 MB / 351.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005872/0.1266, allocations: 2.324 MB / 353.5 MB, free: 388 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.1278, allocations: 32 kB / 353.5 MB, free: 356 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.1294, allocations: 362 kB / 353.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.1313, allocations: 426.5 kB / 354.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007878/0.1322, allocations: 147.8 kB / 354.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002243/0.1344, allocations: 0.6869 MB / 355.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000765/0.1353, allocations: 289.4 kB / 355.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006674/0.136, allocations: 311.1 kB / 355.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007486/0.1367, allocations: 354.7 kB / 356.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.1371, allocations: 83.91 kB / 356.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.1373, allocations: 36 kB / 356.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.1375, allocations: 135.4 kB / 356.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.1378, allocations: 96 kB / 356.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.1397, allocations: 1.091 MB / 357.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1397, allocations: 0 / 357.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1397, allocations: 0 / 357.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-05/0.1398, allocations: 0 / 357.5 MB, free: 12.36 MB / 298.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.002806/0.1426, allocations: 1.052 MB / 358.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.1427, allocations: 11.97 kB / 358.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006191/0.1433, allocations: 138.6 kB / 358.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.1449, allocations: 0.6095 MB / 359.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.633e-05/0.145, allocations: 62 kB / 359.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.1452, allocations: 84 kB / 359.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.1476, allocations: 0.8106 MB / 360.2 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.346e-05/0.1477, allocations: 7.906 kB / 360.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.1478, allocations: 32 kB / 360.3 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.1478, allocations: 23.95 kB / 360.3 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.1497, allocations: 0.5582 MB / 360.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007429/0.1572, allocations: 3.539 MB / 364.4 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00088/0.1581, allocations: 246.6 kB / 364.6 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.1582, allocations: 4 kB / 364.7 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.1583, allocations: 38.56 kB / 364.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 3.066e-06/0.1583, allocations: 0 / 364.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.003588/0.1619, allocations: 1.104 MB / 365.8 MB, free: 3.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.162, allocations: 81.11 kB / 365.9 MB, free: 3.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.1633, allocations: 0.6248 MB / 366.5 MB, free: 2.879 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/0.1634, allocations: 29.7 kB / 366.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.1639, allocations: 0.5277 MB / 367.1 MB, free: 2.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.1641, allocations: 106.5 kB / 367.2 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.1641, allocations: 16 kB / 367.2 MB, free: 2.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1643, allocations: 334.8 kB / 367.5 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.1648, allocations: 137.2 kB / 367.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009043/0.1658, allocations: 450.2 kB / 368.1 MB, free: 1.129 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/0.1665, allocations: 212.1 kB / 368.3 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.1666, allocations: 7.938 kB / 368.3 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001799/0.1684, allocations: 0.6036 MB / 368.9 MB, free: 308 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.1684, allocations: 8 kB / 368.9 MB, free: 300 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.1685, allocations: 16 kB / 368.9 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.1687, allocations: 36.84 kB / 369 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009403/0.1697, allocations: 152.1 kB / 369.1 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.1712, allocations: 1.292 MB / 370.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009254/0.1722, allocations: 44.14 kB / 370.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/0.1723, allocations: 43.94 kB / 370.5 MB, free: 14.58 MB / 314.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.0005606/0.1729, allocations: 237.5 kB / 370.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.173, allocations: 75.06 kB / 370.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.1742, allocations: 345.9 kB / 371.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.1743, allocations: 4 kB / 371.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1743, allocations: 4 kB / 371.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.1743, allocations: 3.953 kB / 371.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.1772, allocations: 1.101 MB / 372.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.1773, allocations: 4 kB / 372.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.1779, allocations: 68.12 kB / 372.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/0.178, allocations: 24.84 kB / 372.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.1781, allocations: 8 kB / 372.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.1795, allocations: 1.284 MB / 373.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.1795, allocations: 8.016 kB / 373.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.1814, allocations: 0.673 MB / 374.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.1819, allocations: 168.2 kB / 374.5 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.1821, allocations: 11.98 kB / 374.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006152/0.1827, allocations: 23.98 kB / 374.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.1828, allocations: 31.86 kB / 374.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.1829, allocations: 8 kB / 374.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001011/0.1839, allocations: 475 kB / 375 MB, free: 9.715 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1839, allocations: 0 / 375 MB, free: 9.715 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001101/0.185, allocations: 175.9 kB / 375.2 MB, free: 9.543 MB / 314.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.0002855/0.1853, allocations: 119.2 kB / 375.3 MB, free: 9.414 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.1869, allocations: 484.8 kB / 375.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.187, allocations: 8.062 kB / 375.8 MB, free: 8.922 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.1876, allocations: 250.5 kB / 376 MB, free: 8.664 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.1891, allocations: 167.8 kB / 376.2 MB, free: 8.504 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.1934, allocations: 1.83 MB / 378 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.1942, allocations: 0.9682 MB / 379 MB, free: 5.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.1945, allocations: 59.42 kB / 379 MB, free: 5.559 MB / 314.7 MB Notification: Performance of SimCode: time 1.282e-06/0.1945, allocations: 0 / 379 MB, free: 5.559 MB / 314.7 MB Notification: Performance of Templates: time 0.02925/0.2238, allocations: 12.99 MB / 392 MB, free: 8.609 MB / 330.7 MB