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.81/1.81, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.652e-05, allocations: 4 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07888/0.07893, allocations: 44.49 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3509/0.4299, allocations: 89.15 MB / 389 MB, free: 19.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.4302, allocations: 78.23 kB / 389.1 MB, free: 19.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0825/0.5127, allocations: 23.78 MB / 412.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5127, allocations: 0 / 412.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.204e-05/0.5128, allocations: 15.62 kB / 412.9 MB, free: 13.37 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.001576/0.5144, allocations: 1.011 MB / 413.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5144, allocations: 11.81 kB / 413.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005913/0.515, allocations: 152 kB / 414 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.5164, allocations: 0.677 MB / 414.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.5165, allocations: 63.28 kB / 414.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.5166, allocations: 82.38 kB / 414.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.5181, allocations: 0.7773 MB / 415.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.5182, allocations: 8.547 kB / 415.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.041e-05/0.5183, allocations: 37.88 kB / 415.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.5183, allocations: 27.48 kB / 415.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.5195, allocations: 499.2 kB / 416.2 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004792/0.5243, allocations: 3.505 MB / 419.7 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.5248, allocations: 219 kB / 419.9 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.525, allocations: 107.4 kB / 420 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.5251, allocations: 3.938 kB / 420 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.5251, allocations: 38.56 kB / 420 MB, free: 9.508 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.917e-06/0.5251, allocations: 3.984 kB / 420.1 MB, free: 9.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001752/0.5269, allocations: 0.8442 MB / 420.9 MB, free: 9.016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.527, allocations: 81.05 kB / 421 MB, free: 8.918 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.528, allocations: 0.6804 MB / 421.7 MB, free: 8.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.5281, allocations: 29.64 kB / 421.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.5284, allocations: 0.5161 MB / 422.2 MB, free: 8.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.008e-05/0.5285, allocations: 116.4 kB / 422.3 MB, free: 8.262 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.5285, allocations: 11 kB / 422.3 MB, free: 8.262 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.5286, allocations: 341.3 kB / 422.7 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.5288, allocations: 103.1 kB / 422.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.5292, allocations: 398.1 kB / 423.1 MB, free: 7.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.5295, allocations: 179.4 kB / 423.3 MB, free: 7.512 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.548e-06/0.5296, allocations: 3.875 kB / 423.3 MB, free: 7.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001029/0.5306, allocations: 0.5361 MB / 423.9 MB, free: 7.344 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5306, allocations: 7.875 kB / 423.9 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.5307, allocations: 11.72 kB / 423.9 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.5308, allocations: 32.08 kB / 423.9 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.5314, allocations: 156.4 kB / 424.1 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008394/0.5323, allocations: 1.283 MB / 425.3 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/0.5331, allocations: 50.45 kB / 425.4 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.5331, allocations: 30.86 kB / 425.4 MB, free: 5.992 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.0001209/0.5333, allocations: 145.6 kB / 425.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.5334, allocations: 81.53 kB / 425.7 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006577/0.5341, allocations: 300.7 kB / 425.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5341, allocations: 3.875 kB / 425.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.86e-06/0.5341, allocations: 7.875 kB / 426 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.5341, allocations: 3.953 kB / 426 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.5358, allocations: 1.07 MB / 427 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.598e-06/0.5358, allocations: 0 / 427 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.5362, allocations: 66.39 kB / 427.1 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.5364, allocations: 32.14 kB / 427.1 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.5364, allocations: 7.469 kB / 427.1 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000962/0.5374, allocations: 1.273 MB / 428.4 MB, free: 19.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.542e-06/0.5374, allocations: 0 / 428.4 MB, free: 19.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008674/0.5383, allocations: 0.6145 MB / 429 MB, free: 19.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.5387, allocations: 179.6 kB / 429.2 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.5388, allocations: 10.94 kB / 429.2 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.5393, allocations: 23.7 kB / 429.2 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.5394, allocations: 25.08 kB / 429.3 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.5394, allocations: 15.22 kB / 429.3 MB, free: 19.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008669/0.5403, allocations: 0.517 MB / 429.8 MB, free: 19.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.5403, allocations: 0 / 429.8 MB, free: 19.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001001/0.5413, allocations: 200.7 kB / 430 MB, free: 19.12 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.0004747/0.5418, allocations: 323.2 kB / 430.3 MB, free: 18.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008743/0.5427, allocations: 440.4 kB / 430.7 MB, free: 18.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5427, allocations: 0 / 430.7 MB, free: 18.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.5431, allocations: 226.6 kB / 430.9 MB, free: 18.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.5443, allocations: 219.5 kB / 431.2 MB, free: 18.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.5465, allocations: 1.105 MB / 432.3 MB, free: 17.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/0.5472, allocations: 0.9688 MB / 433.2 MB, free: 17.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.5474, allocations: 56.7 kB / 433.3 MB, free: 17.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.803e-06/0.5475, allocations: 0 / 433.3 MB, free: 17.08 MB / 330.7 MB Notification: Performance of Templates: time 0.04596/0.5934, allocations: 14.84 MB / 448.1 MB, free: 5.156 MB / 330.7 MB