Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.708/1.708, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.44e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2123, allocations: 38.77 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.3362, allocations: 83.48 MB / 347.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.3365, allocations: 79.95 kB / 347.3 MB, free: 6.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2702/0.6067, allocations: 23.02 MB / 370.4 MB, free: 82.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.353e-06/0.6068, allocations: 0 / 370.4 MB, free: 82.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.064e-05/0.6069, allocations: 16.91 kB / 370.4 MB, free: 82.83 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002467/0.6094, allocations: 0.9719 MB / 371.4 MB, free: 82.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.6094, allocations: 9.406 kB / 371.4 MB, free: 82.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.6106, allocations: 148.4 kB / 371.5 MB, free: 82.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.6132, allocations: 0.6808 MB / 372.2 MB, free: 81.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-05/0.6133, allocations: 58.91 kB / 372.2 MB, free: 81.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/0.6136, allocations: 82 kB / 372.3 MB, free: 81.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.6161, allocations: 0.731 MB / 373.1 MB, free: 81.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.044e-05/0.6162, allocations: 5.094 kB / 373.1 MB, free: 81.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.6164, allocations: 31.12 kB / 373.1 MB, free: 81.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.6164, allocations: 21 kB / 373.1 MB, free: 81.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.6183, allocations: 470.6 kB / 373.6 MB, free: 81.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007922/0.6263, allocations: 3.456 MB / 377 MB, free: 80.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.6271, allocations: 209.1 kB / 377.2 MB, free: 80.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.6275, allocations: 97.06 kB / 377.3 MB, free: 80.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.6275, allocations: 8.547 kB / 377.3 MB, free: 80.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.6276, allocations: 33.62 kB / 377.4 MB, free: 80.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 5.249e-06/0.6276, allocations: 7.625 kB / 377.4 MB, free: 80.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.002502/0.6301, allocations: 0.7999 MB / 378.2 MB, free: 79.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.6302, allocations: 83.47 kB / 378.3 MB, free: 79.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.6318, allocations: 0.6119 MB / 378.9 MB, free: 79.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.6319, allocations: 31.98 kB / 378.9 MB, free: 79.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.6323, allocations: 0.4964 MB / 379.4 MB, free: 79.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.6325, allocations: 106.8 kB / 379.5 MB, free: 79.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.6325, allocations: 10.53 kB / 379.5 MB, free: 79.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6327, allocations: 381.3 kB / 379.9 MB, free: 78.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.6332, allocations: 104 kB / 380 MB, free: 78.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.6338, allocations: 400 kB / 380.4 MB, free: 78.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/0.6344, allocations: 181.1 kB / 380.6 MB, free: 78.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.6344, allocations: 9.047 kB / 380.6 MB, free: 78.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00191/0.6364, allocations: 0.5422 MB / 381.1 MB, free: 78.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.6364, allocations: 7.719 kB / 381.1 MB, free: 78.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.417e-05/0.6365, allocations: 15.39 kB / 381.1 MB, free: 78.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.6367, allocations: 31.45 kB / 381.2 MB, free: 78.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.6378, allocations: 147.6 kB / 381.3 MB, free: 78.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.6391, allocations: 1.286 MB / 382.6 MB, free: 77.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.6404, allocations: 33.66 kB / 382.6 MB, free: 77.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/0.6405, allocations: 34.53 kB / 382.7 MB, free: 77.04 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 (74): * Single equations (assignments): 73 * 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.0001861/0.6407, allocations: 136.1 kB / 382.8 MB, free: 76.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.6409, allocations: 78.39 kB / 382.9 MB, free: 76.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.6419, allocations: 296.6 kB / 383.1 MB, free: 76.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.591e-06/0.642, allocations: 3.281 kB / 383.2 MB, free: 76.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.841e-06/0.642, allocations: 3.906 kB / 383.2 MB, free: 76.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.114e-06/0.642, allocations: 3.844 kB / 383.2 MB, free: 76.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.6449, allocations: 1.044 MB / 384.2 MB, free: 76.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.6449, allocations: 0 / 384.2 MB, free: 76.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/0.6456, allocations: 70.22 kB / 384.3 MB, free: 76.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001662/0.6458, allocations: 20.5 kB / 384.3 MB, free: 76.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.6458, allocations: 17.03 kB / 384.3 MB, free: 76.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.6471, allocations: 1.268 MB / 385.6 MB, free: 75.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.644e-06/0.6471, allocations: 4.156 kB / 385.6 MB, free: 75.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.6484, allocations: 0.5845 MB / 386.2 MB, free: 74.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.6489, allocations: 174.5 kB / 386.3 MB, free: 74.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.6491, allocations: 11.94 kB / 386.3 MB, free: 74.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/0.6499, allocations: 23.34 kB / 386.4 MB, free: 74.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.6501, allocations: 23.3 kB / 386.4 MB, free: 74.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.6501, allocations: 11.67 kB / 386.4 MB, free: 74.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001267/0.6514, allocations: 471.5 kB / 386.9 MB, free: 74.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.117e-06/0.6514, allocations: 4 kB / 386.9 MB, free: 74.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001817/0.6533, allocations: 198.1 kB / 387.1 MB, free: 74.14 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 (27): * Single equations (assignments): 26 * 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.0006259/0.6539, allocations: 282.6 kB / 387.3 MB, free: 74.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.6552, allocations: 401.9 kB / 387.7 MB, free: 73.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.925e-06/0.6553, allocations: 0 / 387.7 MB, free: 73.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.6558, allocations: 208.8 kB / 387.9 MB, free: 73.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.6577, allocations: 171.3 kB / 388.1 MB, free: 73.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.6611, allocations: 1.034 MB / 389.1 MB, free: 73.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/0.6619, allocations: 0.9626 MB / 390.1 MB, free: 72.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008557/0.6628, allocations: 89.7 kB / 390.2 MB, free: 72.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.663, allocations: 48.84 kB / 390.2 MB, free: 72.29 MB / 314.7 MB Notification: Performance of SimCode: time 2.319e-06/0.663, allocations: 0 / 390.2 MB, free: 72.29 MB / 314.7 MB Notification: Performance of Templates: time 0.03727/0.7003, allocations: 9.761 MB / 400 MB, free: 69.63 MB / 314.7 MB