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.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.809/1.809, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.037e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08172/0.08177, allocations: 47.56 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5061, allocations: 93.76 MB / 410.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.5064, allocations: 81.2 kB / 410.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09293/0.5993, allocations: 23.92 MB / 434.7 MB, free: 6.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.282e-06/0.5994, allocations: 0 / 434.7 MB, free: 6.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.842e-05/0.5995, allocations: 16 kB / 434.7 MB, free: 6.305 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.001895/0.6014, allocations: 1.004 MB / 435.7 MB, free: 5.309 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.6014, allocations: 8.031 kB / 435.7 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/0.6021, allocations: 155 kB / 435.9 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.6036, allocations: 0.6729 MB / 436.5 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.6037, allocations: 65.31 kB / 436.6 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.6039, allocations: 86.81 kB / 436.7 MB, free: 4.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.6056, allocations: 0.7712 MB / 437.5 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.6056, allocations: 10.41 kB / 437.5 MB, free: 3.926 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.244e-05/0.6057, allocations: 35.19 kB / 437.5 MB, free: 3.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.6058, allocations: 24 kB / 437.5 MB, free: 3.895 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.607, allocations: 484.3 kB / 438 MB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005892/0.6129, allocations: 3.66 MB / 441.7 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.6135, allocations: 214.9 kB / 441.9 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.6137, allocations: 100.1 kB / 442 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.6138, allocations: 4 kB / 442 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.6138, allocations: 33.88 kB / 442 MB, free: 124 kB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.133e-06/0.6139, allocations: 3.938 kB / 442 MB, free: 120 kB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001874/0.6157, allocations: 0.8451 MB / 442.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.6158, allocations: 81.11 kB / 442.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.617, allocations: 0.6829 MB / 443.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.6171, allocations: 29.64 kB / 443.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.6175, allocations: 0.5034 MB / 444.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.6177, allocations: 105 kB / 444.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.6177, allocations: 9.938 kB / 444.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.6179, allocations: 333.6 kB / 444.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.6182, allocations: 103.8 kB / 444.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.6187, allocations: 403.9 kB / 445.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.6192, allocations: 186.6 kB / 445.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.597e-06/0.6192, allocations: 0 / 445.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001285/0.6205, allocations: 0.5639 MB / 445.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6205, allocations: 8 kB / 445.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.6205, allocations: 16.78 kB / 445.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.6207, allocations: 40.78 kB / 445.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/0.6214, allocations: 150.2 kB / 446 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.6228, allocations: 1.282 MB / 447.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.6235, allocations: 42.33 kB / 447.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.35e-05/0.6236, allocations: 27.44 kB / 447.4 MB, free: 11.15 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.0001712/0.6238, allocations: 161.8 kB / 447.6 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.6239, allocations: 82.97 kB / 447.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/0.6247, allocations: 292.2 kB / 447.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6247, allocations: 7.984 kB / 447.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6247, allocations: 0 / 447.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.6247, allocations: 0 / 447.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.6268, allocations: 1.055 MB / 449 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.6268, allocations: 7.953 kB / 449 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.6273, allocations: 69.67 kB / 449.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/0.6274, allocations: 21.67 kB / 449.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.6275, allocations: 7.375 kB / 449.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.6287, allocations: 1.277 MB / 450.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/0.6287, allocations: 11.94 kB / 450.4 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009859/0.6297, allocations: 0.6087 MB / 451 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.6301, allocations: 184.1 kB / 451.2 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.6302, allocations: 11.38 kB / 451.2 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.6307, allocations: 27.16 kB / 451.2 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.6308, allocations: 32.36 kB / 451.2 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.6309, allocations: 10.62 kB / 451.2 MB, free: 7.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009321/0.6318, allocations: 0.513 MB / 451.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.6318, allocations: 0 / 451.8 MB, free: 7.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009663/0.6328, allocations: 209.4 kB / 452 MB, free: 6.957 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.0005287/0.6333, allocations: 323.9 kB / 452.3 MB, free: 6.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008637/0.6342, allocations: 410.6 kB / 452.7 MB, free: 6.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.256e-06/0.6342, allocations: 2.25 kB / 452.7 MB, free: 6.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.6347, allocations: 210.7 kB / 452.9 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.6358, allocations: 218.4 kB / 453.1 MB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.6382, allocations: 1.06 MB / 454.2 MB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/0.639, allocations: 0.9725 MB / 455.1 MB, free: 3.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005122/0.6395, allocations: 102.7 kB / 455.2 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.6397, allocations: 55.42 kB / 455.3 MB, free: 3.789 MB / 362.7 MB Notification: Performance of SimCode: time 1.345e-06/0.6397, allocations: 0 / 455.3 MB, free: 3.789 MB / 362.7 MB Notification: Performance of Templates: time 0.03032/0.6701, allocations: 11.66 MB / 466.9 MB, free: 8.191 MB / 378.7 MB