Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.327e-05/2.331e-05, allocations: 7.938 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.244, allocations: 44.5 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.3804, allocations: 92.44 MB / 386.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.3808, allocations: 79.95 kB / 386.6 MB, free: 5.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1069/0.4877, allocations: 27.68 MB / 414.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.311e-06/0.4877, allocations: 0 / 414.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.502e-05/0.4878, allocations: 23.94 kB / 414.3 MB, free: 9.535 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002156/0.49, allocations: 1.11 MB / 415.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.49, allocations: 8.031 kB / 415.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008413/0.4909, allocations: 194.3 kB / 415.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.4928, allocations: 0.7885 MB / 416.4 MB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/0.4929, allocations: 32 kB / 416.5 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.493, allocations: 63.91 kB / 416.5 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001445/0.4945, allocations: 0.5273 MB / 417.1 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.4964, allocations: 0.7552 MB / 417.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.4964, allocations: 4 kB / 417.8 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/0.4965, allocations: 0 / 417.8 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.4966, allocations: 24 kB / 417.8 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006686/0.5032, allocations: 3.727 MB / 421.6 MB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008034/0.5041, allocations: 426.7 kB / 422 MB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/0.5047, allocations: 240.6 kB / 422.2 MB, free: 1.297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.984e-05/0.5048, allocations: 7.938 kB / 422.2 MB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5048, allocations: 34.56 kB / 422.3 MB, free: 1.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.367e-06/0.5048, allocations: 4 kB / 422.3 MB, free: 1.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.00263/0.5075, allocations: 1.092 MB / 423.4 MB, free: 92 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2015/0.709, allocations: 94.19 kB / 423.5 MB, free: 97.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.7104, allocations: 0.5652 MB / 424 MB, free: 97.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.011e-05/0.7104, allocations: 26.27 kB / 424 MB, free: 97.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.7108, allocations: 0.5831 MB / 424.6 MB, free: 97.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.711, allocations: 164.4 kB / 424.8 MB, free: 97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.711, allocations: 0.5938 kB / 424.8 MB, free: 97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.7111, allocations: 337.1 kB / 425.1 MB, free: 96.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.7115, allocations: 139.3 kB / 425.3 MB, free: 96.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.712, allocations: 422.8 kB / 425.7 MB, free: 96.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.7125, allocations: 214.5 kB / 425.9 MB, free: 96.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.754e-06/0.7125, allocations: 3.688 kB / 425.9 MB, free: 96.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001444/0.714, allocations: 0.6223 MB / 426.5 MB, free: 96.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.714, allocations: 13.38 kB / 426.5 MB, free: 96.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.714, allocations: 9.25 kB / 426.5 MB, free: 96.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/0.7144, allocations: 94.38 kB / 426.6 MB, free: 96.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.7151, allocations: 157.2 kB / 426.8 MB, free: 96.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.7175, allocations: 2.876 MB / 429.6 MB, free: 93.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/0.7182, allocations: 23.31 kB / 429.7 MB, free: 93.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/0.7183, allocations: 43.53 kB / 429.7 MB, free: 93.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.7185, allocations: 133.3 kB / 429.8 MB, free: 93.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.7186, allocations: 78.28 kB / 429.9 MB, free: 93.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.7197, allocations: 442.6 kB / 430.4 MB, free: 93.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.432e-06/0.7197, allocations: 4.406 kB / 430.4 MB, free: 93.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7197, allocations: 3.906 kB / 430.4 MB, free: 93.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.7197, allocations: 3.891 kB / 430.4 MB, free: 93.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.7221, allocations: 1.258 MB / 431.6 MB, free: 93.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.7222, allocations: 3.938 kB / 431.6 MB, free: 93.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.7226, allocations: 81.28 kB / 431.7 MB, free: 93.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003442/0.723, allocations: 82.58 kB / 431.8 MB, free: 93.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.7231, allocations: 9.234 kB / 431.8 MB, free: 93.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.7254, allocations: 2.866 MB / 434.7 MB, free: 90.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.673e-06/0.7255, allocations: 3.406 kB / 434.7 MB, free: 90.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.7269, allocations: 0.8026 MB / 435.5 MB, free: 90.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/0.7273, allocations: 189 kB / 435.6 MB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.7274, allocations: 6.062 kB / 435.7 MB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.728, allocations: 23.14 kB / 435.7 MB, free: 90.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/0.7281, allocations: 42.64 kB / 435.7 MB, free: 90.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.7282, allocations: 12.94 kB / 435.7 MB, free: 90.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007322/0.7289, allocations: 442.9 kB / 436.2 MB, free: 90.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.7289, allocations: 0 / 436.2 MB, free: 90.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001197/0.7301, allocations: 194.1 kB / 436.4 MB, free: 90.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004134/0.7306, allocations: 262.9 kB / 436.6 MB, free: 90.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.7318, allocations: 0.6331 MB / 437.2 MB, free: 89.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.623e-06/0.7318, allocations: 1.062 kB / 437.2 MB, free: 89.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006475/0.7325, allocations: 418.8 kB / 437.7 MB, free: 89.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.7335, allocations: 177.5 kB / 437.8 MB, free: 89.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.7362, allocations: 1.272 MB / 439.1 MB, free: 89.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.7368, allocations: 1.026 MB / 440.1 MB, free: 88.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.737, allocations: 61.31 kB / 440.2 MB, free: 88.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.566e-06/0.737, allocations: 0 / 440.2 MB, free: 88.35 MB / 362.7 MB Notification: Performance of Templates: time 0.02376/0.7608, allocations: 20.09 MB / 460.3 MB, free: 84.97 MB / 362.7 MB