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.66/1.66, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.417e-05/2.424e-05, allocations: 4 kB / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2045, allocations: 38.78 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.3325, allocations: 84.02 MB / 347.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.3328, allocations: 83.95 kB / 347.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2744/0.6072, allocations: 23.86 MB / 371.7 MB, free: 82.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.23e-06/0.6073, allocations: 0 / 371.7 MB, free: 82.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.938e-05/0.6073, allocations: 21.91 kB / 371.8 MB, free: 82.94 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.001679/0.609, allocations: 1.01 MB / 372.8 MB, free: 82.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.6091, allocations: 9.594 kB / 372.8 MB, free: 82.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006558/0.6097, allocations: 150.7 kB / 372.9 MB, free: 82.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.6112, allocations: 0.6672 MB / 373.6 MB, free: 82.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.478e-05/0.6112, allocations: 61.56 kB / 373.6 MB, free: 82.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.6114, allocations: 94.11 kB / 373.7 MB, free: 82.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.613, allocations: 0.771 MB / 374.5 MB, free: 81.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.6131, allocations: 7.438 kB / 374.5 MB, free: 81.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.092e-05/0.6132, allocations: 37.38 kB / 374.6 MB, free: 81.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.6132, allocations: 22.19 kB / 374.6 MB, free: 81.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.6144, allocations: 485 kB / 375.1 MB, free: 81.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005051/0.6195, allocations: 3.511 MB / 378.6 MB, free: 80.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000526/0.62, allocations: 214.1 kB / 378.8 MB, free: 80.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.6203, allocations: 102.1 kB / 378.9 MB, free: 80.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.6203, allocations: 3.656 kB / 378.9 MB, free: 80.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.6204, allocations: 38.94 kB / 378.9 MB, free: 80.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.455e-06/0.6204, allocations: 3.844 kB / 378.9 MB, free: 80.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001707/0.6221, allocations: 0.8471 MB / 379.8 MB, free: 79.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.6221, allocations: 80.45 kB / 379.8 MB, free: 79.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.6232, allocations: 0.6756 MB / 380.5 MB, free: 79.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.6233, allocations: 29.52 kB / 380.5 MB, free: 79.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.6235, allocations: 0.5164 MB / 381.1 MB, free: 79.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.6236, allocations: 102.2 kB / 381.2 MB, free: 79.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.6237, allocations: 14.88 kB / 381.2 MB, free: 79.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.6238, allocations: 344 kB / 381.5 MB, free: 78.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.624, allocations: 105.6 kB / 381.6 MB, free: 78.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/0.6244, allocations: 397.2 kB / 382 MB, free: 78.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.6248, allocations: 176.4 kB / 382.2 MB, free: 78.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.951e-06/0.6248, allocations: 3.969 kB / 382.2 MB, free: 78.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001089/0.6259, allocations: 0.5045 MB / 382.7 MB, free: 78.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.626, allocations: 7.719 kB / 382.7 MB, free: 78.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.626, allocations: 17.86 kB / 382.7 MB, free: 78.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000164/0.6262, allocations: 35.94 kB / 382.7 MB, free: 78.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.6268, allocations: 149.8 kB / 382.9 MB, free: 78.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008753/0.6277, allocations: 1.292 MB / 384.2 MB, free: 77.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/0.6285, allocations: 42.42 kB / 384.2 MB, free: 77.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.6286, allocations: 30.97 kB / 384.3 MB, free: 77.01 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.0001254/0.6288, allocations: 152.6 kB / 384.4 MB, free: 76.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.6289, allocations: 81.88 kB / 384.5 MB, free: 76.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006792/0.6296, allocations: 309.5 kB / 384.8 MB, free: 76.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.82e-06/0.6296, allocations: 3.906 kB / 384.8 MB, free: 76.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.599e-06/0.6296, allocations: 0 / 384.8 MB, free: 76.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.6297, allocations: 3.516 kB / 384.8 MB, free: 76.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.6315, allocations: 1.056 MB / 385.8 MB, free: 76.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.155e-06/0.6315, allocations: 2.719 kB / 385.9 MB, free: 76.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.6319, allocations: 70.22 kB / 385.9 MB, free: 76.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.6321, allocations: 17.92 kB / 385.9 MB, free: 76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.6321, allocations: 10.84 kB / 385.9 MB, free: 76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008174/0.6329, allocations: 1.272 MB / 387.2 MB, free: 74.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.323e-06/0.633, allocations: 7.75 kB / 387.2 MB, free: 74.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008973/0.6339, allocations: 0.6156 MB / 387.8 MB, free: 74.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.6342, allocations: 179.1 kB / 388 MB, free: 74.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.6344, allocations: 14.39 kB / 388 MB, free: 74.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.6349, allocations: 25.97 kB / 388.1 MB, free: 74.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.635, allocations: 25.27 kB / 388.1 MB, free: 74.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.635, allocations: 7.594 kB / 388.1 MB, free: 74.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008826/0.6359, allocations: 0.5169 MB / 388.6 MB, free: 73.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.6359, allocations: 1.5 kB / 388.6 MB, free: 73.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001024/0.6369, allocations: 209.6 kB / 388.8 MB, free: 73.76 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.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.0004472/0.6374, allocations: 327.5 kB / 389.1 MB, free: 73.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008144/0.6382, allocations: 416.2 kB / 389.5 MB, free: 73.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.782e-06/0.6383, allocations: 0 / 389.5 MB, free: 73.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.6386, allocations: 220.8 kB / 389.8 MB, free: 73.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.6399, allocations: 202.8 kB / 390 MB, free: 73.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.642, allocations: 1.097 MB / 391 MB, free: 72.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.6425, allocations: 0.971 MB / 392 MB, free: 71.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.6427, allocations: 57.56 kB / 392.1 MB, free: 71.85 MB / 314.7 MB Notification: Performance of SimCode: time 1.508e-06/0.6427, allocations: 0 / 392.1 MB, free: 71.85 MB / 314.7 MB Notification: Performance of Templates: time 0.02108/0.6638, allocations: 14.8 MB / 406.9 MB, free: 63.36 MB / 314.7 MB