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_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.356e-05, allocations: 11.94 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2829, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.4143, allocations: 88.48 MB / 382.6 MB, free: 9.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.4146, allocations: 83.89 kB / 382.7 MB, free: 9.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09243/0.507, allocations: 23.44 MB / 406.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.923e-06/0.5071, allocations: 0 / 406.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.081e-05/0.5071, allocations: 28.59 kB / 406.1 MB, free: 1.797 MB / 346.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.002063/0.5092, allocations: 1.009 MB / 407.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5093, allocations: 12.03 kB / 407.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006789/0.51, allocations: 158.5 kB / 407.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.5117, allocations: 0.6718 MB / 408 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.5118, allocations: 28 kB / 408 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.5119, allocations: 52 kB / 408.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001306/0.5133, allocations: 452 kB / 408.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.5149, allocations: 0.6545 MB / 409.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/0.515, allocations: 3.906 kB / 409.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.515, allocations: 11.95 kB / 409.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.5151, allocations: 20 kB / 409.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006039/0.5211, allocations: 3.318 MB / 412.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.5217, allocations: 209.4 kB / 412.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.522, allocations: 88.8 kB / 412.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.522, allocations: 4 kB / 412.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.522, allocations: 38.52 kB / 412.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.279e-06/0.5221, allocations: 0 / 412.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.00191/0.524, allocations: 0.7749 MB / 413.6 MB, free: 9.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.5241, allocations: 81.11 kB / 413.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009688/0.525, allocations: 0.5113 MB / 414.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.5251, allocations: 25.7 kB / 414.2 MB, free: 9.277 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000457/0.5256, allocations: 0.543 MB / 414.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.5257, allocations: 114.4 kB / 414.9 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.5257, allocations: 0 / 414.9 MB, free: 8.617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.5259, allocations: 330.8 kB / 415.2 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.5262, allocations: 101.6 kB / 415.3 MB, free: 8.188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.5267, allocations: 389.9 kB / 415.7 MB, free: 7.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.5271, allocations: 168.1 kB / 415.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.164e-06/0.5272, allocations: 0 / 415.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001113/0.5283, allocations: 474.3 kB / 416.3 MB, free: 7.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.5283, allocations: 8 kB / 416.3 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.5283, allocations: 12 kB / 416.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.5285, allocations: 32.84 kB / 416.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/0.5292, allocations: 152.1 kB / 416.5 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.5305, allocations: 1.233 MB / 417.8 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/0.5312, allocations: 36.05 kB / 417.8 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.5313, allocations: 28 kB / 417.8 MB, free: 5.414 MB / 362.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 (75): * Single equations (assignments): 74 * 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.0001724/0.5315, allocations: 136.5 kB / 418 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.5316, allocations: 71.19 kB / 418 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/0.5323, allocations: 269.6 kB / 418.3 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-06/0.5324, allocations: 4 kB / 418.3 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.13e-06/0.5324, allocations: 3.938 kB / 418.3 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.721e-06/0.5324, allocations: 4 kB / 418.3 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.5344, allocations: 0.9383 MB / 419.2 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.5344, allocations: 7.984 kB / 419.2 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.5348, allocations: 59.91 kB / 419.3 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001273/0.5349, allocations: 33.02 kB / 419.3 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.535, allocations: 4 kB / 419.3 MB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.5362, allocations: 1.233 MB / 420.6 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.765e-06/0.5363, allocations: 0 / 420.6 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009951/0.5373, allocations: 0.5724 MB / 421.1 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.5376, allocations: 160.4 kB / 421.3 MB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.5377, allocations: 8 kB / 421.3 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.5382, allocations: 27.88 kB / 421.3 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-05/0.5383, allocations: 19.97 kB / 421.4 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.5383, allocations: 11.95 kB / 421.4 MB, free: 1.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007065/0.539, allocations: 391.2 kB / 421.8 MB, free: 1.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.463e-06/0.5391, allocations: 0 / 421.8 MB, free: 1.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009772/0.5401, allocations: 163.9 kB / 421.9 MB, free: 1.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * 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.0005201/0.5406, allocations: 290 kB / 422.2 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009205/0.5415, allocations: 395.8 kB / 422.6 MB, free: 344 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.317e-06/0.5415, allocations: 0 / 422.6 MB, free: 344 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.542, allocations: 205.7 kB / 422.8 MB, free: 128 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2031/0.7451, allocations: 144.4 kB / 422.9 MB, free: 99.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.7477, allocations: 1.064 MB / 424 MB, free: 99.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.7484, allocations: 0.9715 MB / 425 MB, free: 98.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.7486, allocations: 51.03 kB / 425 MB, free: 98.36 MB / 362.7 MB Notification: Performance of SimCode: time 2.271e-06/0.7486, allocations: 3.781 kB / 425 MB, free: 98.36 MB / 362.7 MB Notification: Performance of Templates: time 0.02014/0.7688, allocations: 13.56 MB / 438.6 MB, free: 97.66 MB / 362.7 MB