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.999/1.999, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.799e-05, allocations: 6.344 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07784/0.07789, allocations: 44.51 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.4256, allocations: 89.13 MB / 389 MB, free: 19.63 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4259, allocations: 83.27 kB / 389.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08929/0.5152, allocations: 23.79 MB / 412.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.029e-06/0.5152, allocations: 0 / 412.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.401e-05/0.5153, allocations: 15.72 kB / 412.9 MB, free: 13.13 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.001581/0.5169, allocations: 1.008 MB / 413.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.5169, allocations: 7.75 kB / 413.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006957/0.5176, allocations: 152.8 kB / 414.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.5191, allocations: 0.6796 MB / 414.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/0.5192, allocations: 64.28 kB / 414.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.5194, allocations: 81.72 kB / 414.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.5209, allocations: 0.7682 MB / 415.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.521, allocations: 3.906 kB / 415.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/0.5211, allocations: 34.69 kB / 415.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.5211, allocations: 27.39 kB / 415.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.5223, allocations: 493.4 kB / 416.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005146/0.5275, allocations: 3.506 MB / 419.7 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.528, allocations: 216.6 kB / 419.9 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.5283, allocations: 107.6 kB / 420 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.5283, allocations: 3.906 kB / 420 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.5284, allocations: 41.75 kB / 420.1 MB, free: 9.281 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.511e-06/0.5284, allocations: 0 / 420.1 MB, free: 9.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001745/0.5301, allocations: 0.8389 MB / 420.9 MB, free: 8.797 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.5302, allocations: 81.02 kB / 421 MB, free: 8.703 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.5313, allocations: 0.6795 MB / 421.7 MB, free: 8.512 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.5314, allocations: 40.42 kB / 421.7 MB, free: 8.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.5317, allocations: 0.5083 MB / 422.2 MB, free: 8.125 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.5318, allocations: 116.3 kB / 422.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.5318, allocations: 7.312 kB / 422.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.5319, allocations: 337.2 kB / 422.6 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.5321, allocations: 112 kB / 422.8 MB, free: 7.719 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.5325, allocations: 393.5 kB / 423.1 MB, free: 7.332 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.5329, allocations: 184.3 kB / 423.3 MB, free: 7.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.695e-06/0.5329, allocations: 0 / 423.3 MB, free: 7.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001096/0.534, allocations: 0.5027 MB / 423.8 MB, free: 7.141 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5341, allocations: 11.7 kB / 423.8 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.5341, allocations: 12.47 kB / 423.8 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.5343, allocations: 39.58 kB / 423.9 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.5349, allocations: 143.7 kB / 424 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009179/0.5358, allocations: 1.292 MB / 425.3 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009008/0.5368, allocations: 42.36 kB / 425.4 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/0.5369, allocations: 42.41 kB / 425.4 MB, free: 5.781 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.0001432/0.537, allocations: 143.3 kB / 425.5 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.5372, allocations: 78.12 kB / 425.6 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007928/0.538, allocations: 300.8 kB / 425.9 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.44e-06/0.5381, allocations: 3.875 kB / 425.9 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5381, allocations: 0 / 425.9 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.027e-06/0.5381, allocations: 3.953 kB / 425.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.54, allocations: 1.068 MB / 427 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.75e-06/0.54, allocations: 3.906 kB / 427 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.5405, allocations: 66.98 kB / 427.1 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.5406, allocations: 24 kB / 427.1 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.5407, allocations: 11.84 kB / 427.1 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.5418, allocations: 1.271 MB / 428.4 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.251e-06/0.5419, allocations: 7.156 kB / 428.4 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.5428, allocations: 0.612 MB / 429 MB, free: 19.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.5431, allocations: 182.9 kB / 429.2 MB, free: 19.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.5433, allocations: 7.531 kB / 429.2 MB, free: 19.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.5438, allocations: 22.17 kB / 429.2 MB, free: 19.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.5439, allocations: 31.08 kB / 429.2 MB, free: 19.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.5439, allocations: 7.75 kB / 429.2 MB, free: 19.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008948/0.5448, allocations: 0.5155 MB / 429.7 MB, free: 18.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.64e-07/0.5448, allocations: 0 / 429.7 MB, free: 18.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001059/0.5459, allocations: 207.3 kB / 429.9 MB, free: 18.91 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.0005075/0.5464, allocations: 331.2 kB / 430.3 MB, free: 18.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008802/0.5473, allocations: 409 kB / 430.7 MB, free: 18.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.743e-06/0.5473, allocations: 2.25 kB / 430.7 MB, free: 18.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003884/0.5477, allocations: 221 kB / 430.9 MB, free: 18.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.5491, allocations: 218 kB / 431.1 MB, free: 18.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.5514, allocations: 1.101 MB / 432.2 MB, free: 17.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/0.5521, allocations: 0.972 MB / 433.2 MB, free: 16.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.5523, allocations: 54.06 kB / 433.2 MB, free: 16.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.677e-06/0.5524, allocations: 0 / 433.2 MB, free: 16.89 MB / 330.7 MB Notification: Performance of Templates: time 0.02385/0.5762, allocations: 14.78 MB / 448 MB, free: 4.914 MB / 330.7 MB