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_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.856/1.856, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.732e-05, allocations: 4 kB / 255.4 MB, free: 2.723 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07647/0.07652, allocations: 44.5 MB / 299.9 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/0.4264, allocations: 89.13 MB / 389 MB, free: 19.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.4268, allocations: 83.84 kB / 389.1 MB, free: 19.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09937/0.5262, allocations: 23.8 MB / 412.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.5263, allocations: 0 / 412.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.167e-05/0.5264, allocations: 19.66 kB / 412.9 MB, free: 13.2 MB / 314.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.002765/0.5292, allocations: 1.008 MB / 413.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5293, allocations: 7.781 kB / 413.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009422/0.5302, allocations: 148.3 kB / 414.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.5324, allocations: 0.6768 MB / 414.8 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-05/0.5326, allocations: 64.25 kB / 414.8 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.5328, allocations: 97.36 kB / 414.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.5354, allocations: 0.7646 MB / 415.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.505e-05/0.5355, allocations: 12.41 kB / 415.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.5357, allocations: 33.06 kB / 415.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.5357, allocations: 23.58 kB / 415.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.5377, allocations: 490.6 kB / 416.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008135/0.5458, allocations: 3.502 MB / 419.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/0.5467, allocations: 211.9 kB / 419.9 MB, free: 9.414 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/0.5471, allocations: 103.4 kB / 420 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.5472, allocations: 7.938 kB / 420 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.5472, allocations: 38.47 kB / 420.1 MB, free: 9.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 5.423e-06/0.5473, allocations: 0 / 420.1 MB, free: 9.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002672/0.5499, allocations: 0.8387 MB / 420.9 MB, free: 8.867 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.55, allocations: 81.02 kB / 421 MB, free: 8.773 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.5518, allocations: 0.6855 MB / 421.7 MB, free: 8.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.5519, allocations: 33.2 kB / 421.7 MB, free: 8.547 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.5524, allocations: 0.4986 MB / 422.2 MB, free: 8.246 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.5525, allocations: 112 kB / 422.3 MB, free: 8.168 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.5526, allocations: 7.188 kB / 422.3 MB, free: 8.168 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.5527, allocations: 335.9 kB / 422.7 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.5532, allocations: 107 kB / 422.8 MB, free: 7.852 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/0.5538, allocations: 396.5 kB / 423.2 MB, free: 7.465 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000605/0.5544, allocations: 189.3 kB / 423.3 MB, free: 7.414 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.5544, allocations: 3.906 kB / 423.3 MB, free: 7.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001941/0.5564, allocations: 0.5558 MB / 423.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.5565, allocations: 7.844 kB / 423.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.5565, allocations: 11.81 kB / 423.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.5568, allocations: 36.78 kB / 424 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.5579, allocations: 152.7 kB / 424.1 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.5592, allocations: 1.285 MB / 425.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.5606, allocations: 45.92 kB / 425.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/0.5607, allocations: 30.73 kB / 425.5 MB, free: 5.887 MB / 314.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.0001983/0.5609, allocations: 150.1 kB / 425.6 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.5611, allocations: 81.55 kB / 425.7 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.5623, allocations: 297 kB / 426 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.5623, allocations: 7.969 kB / 426 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.943e-06/0.5623, allocations: 7.922 kB / 426 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5624, allocations: 7.922 kB / 426 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/0.5654, allocations: 1.062 MB / 427.1 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.644e-06/0.5654, allocations: 0 / 427.1 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/0.5661, allocations: 69.61 kB / 427.1 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.5663, allocations: 23.98 kB / 427.2 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.5664, allocations: 7.812 kB / 427.2 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.5678, allocations: 1.279 MB / 428.4 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.5679, allocations: 3.75 kB / 428.4 MB, free: 19.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.5692, allocations: 0.6041 MB / 429 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/0.5697, allocations: 180.3 kB / 429.2 MB, free: 19.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.57, allocations: 10.56 kB / 429.2 MB, free: 19.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009178/0.5709, allocations: 26.97 kB / 429.3 MB, free: 19.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.5711, allocations: 34.42 kB / 429.3 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.5711, allocations: 7.406 kB / 429.3 MB, free: 19.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001356/0.5725, allocations: 0.5142 MB / 429.8 MB, free: 19.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.5725, allocations: 0 / 429.8 MB, free: 19.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001688/0.5742, allocations: 209 kB / 430 MB, free: 19 MB / 330.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.0006808/0.575, allocations: 319.7 kB / 430.3 MB, free: 18.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.5762, allocations: 407.6 kB / 430.7 MB, free: 18.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.924e-06/0.5763, allocations: 0 / 430.7 MB, free: 18.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005945/0.5769, allocations: 218.4 kB / 430.9 MB, free: 18.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.579, allocations: 217.9 kB / 431.2 MB, free: 18.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003392/0.5824, allocations: 1.069 MB / 432.2 MB, free: 17.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009914/0.5834, allocations: 0.9714 MB / 433.2 MB, free: 17.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008696/0.5843, allocations: 101.1 kB / 433.3 MB, free: 16.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.5846, allocations: 52.41 kB / 433.3 MB, free: 16.98 MB / 330.7 MB Notification: Performance of SimCode: time 3.013e-06/0.5846, allocations: 0 / 433.3 MB, free: 16.98 MB / 330.7 MB Notification: Performance of Templates: time 0.0491/0.6337, allocations: 11.67 MB / 445 MB, free: 7.789 MB / 330.7 MB