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.732/1.732, allocations: 194.9 MB / 208.5 MB, free: 3.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.492e-05, allocations: 8.781 kB / 255.4 MB, free: 3.164 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07423/0.07427, allocations: 44.49 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.5016, allocations: 93.12 MB / 393 MB, free: 19.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/0.5021, allocations: 78.7 kB / 393.1 MB, free: 19.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1164/0.6185, allocations: 28.09 MB / 421.1 MB, free: 9.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.291e-06/0.6186, allocations: 0 / 421.1 MB, free: 9.688 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.325e-05/0.6186, allocations: 19.44 kB / 421.2 MB, free: 9.688 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001762/0.6204, allocations: 1.112 MB / 422.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.6205, allocations: 7.812 kB / 422.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007539/0.6212, allocations: 191.6 kB / 422.5 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.6229, allocations: 0.793 MB / 423.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.6229, allocations: 76.59 kB / 423.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.6231, allocations: 99.91 kB / 423.4 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.6249, allocations: 0.881 MB / 424.3 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.6249, allocations: 3.188 kB / 424.3 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.6251, allocations: 41.44 kB / 424.4 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.6251, allocations: 30.31 kB / 424.4 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.6265, allocations: 0.5733 MB / 425 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005392/0.6319, allocations: 3.911 MB / 428.9 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.6326, allocations: 432.8 kB / 429.3 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/0.6332, allocations: 246.8 kB / 429.5 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.6333, allocations: 10.31 kB / 429.5 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.6333, allocations: 41.62 kB / 429.6 MB, free: 5.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.45e-06/0.6333, allocations: 0 / 429.6 MB, free: 5.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.002381/0.6357, allocations: 1.193 MB / 430.8 MB, free: 4.926 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.6357, allocations: 89.12 kB / 430.9 MB, free: 4.828 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.6368, allocations: 0.6799 MB / 431.5 MB, free: 4.645 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.6369, allocations: 37.14 kB / 431.6 MB, free: 4.613 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.6372, allocations: 0.5688 MB / 432.2 MB, free: 4.219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.6373, allocations: 162.4 kB / 432.3 MB, free: 4.102 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.6373, allocations: 11.25 kB / 432.3 MB, free: 4.102 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.6374, allocations: 340.2 kB / 432.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.6377, allocations: 149.2 kB / 432.8 MB, free: 3.777 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004771/0.6382, allocations: 444.9 kB / 433.2 MB, free: 3.402 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.6387, allocations: 234.1 kB / 433.5 MB, free: 3.352 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.191e-06/0.6387, allocations: 3.906 kB / 433.5 MB, free: 3.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00139/0.6401, allocations: 0.6758 MB / 434.1 MB, free: 3.164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.6402, allocations: 7.812 kB / 434.2 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.6402, allocations: 15.62 kB / 434.2 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/0.6406, allocations: 97.92 kB / 434.3 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.6412, allocations: 156.2 kB / 434.4 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.6436, allocations: 2.988 MB / 437.4 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/0.6444, allocations: 41.39 kB / 437.4 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.6444, allocations: 35.66 kB / 437.5 MB, free: 16.38 MB / 330.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.0001689/0.6446, allocations: 152.2 kB / 437.6 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.6448, allocations: 92.56 kB / 437.7 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.6458, allocations: 493.4 kB / 438.2 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.6458, allocations: 4 kB / 438.2 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.238e-06/0.6459, allocations: 0 / 438.2 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.811e-06/0.6459, allocations: 3.984 kB / 438.2 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.6486, allocations: 1.424 MB / 439.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.659e-06/0.6486, allocations: 0 / 439.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.649, allocations: 79.7 kB / 439.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003268/0.6494, allocations: 84.7 kB / 439.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.6494, allocations: 11.38 kB / 439.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003243/0.6527, allocations: 2.974 MB / 442.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.6527, allocations: 4.031 kB / 442.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.6543, allocations: 0.8413 MB / 443.6 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.6547, allocations: 204 kB / 443.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.6548, allocations: 13.88 kB / 443.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/0.6554, allocations: 30.23 kB / 443.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.579e-05/0.6555, allocations: 34.2 kB / 443.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.6556, allocations: 14.44 kB / 443.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009528/0.6565, allocations: 0.526 MB / 444.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.75e-07/0.6565, allocations: 0 / 444.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001219/0.6578, allocations: 244.9 kB / 444.7 MB, free: 10.15 MB / 330.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.0005329/0.6583, allocations: 318.1 kB / 445 MB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.6596, allocations: 0.6475 MB / 445.6 MB, free: 9.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.839e-06/0.6596, allocations: 0 / 445.6 MB, free: 9.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000779/0.6604, allocations: 422.5 kB / 446 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.6616, allocations: 201.7 kB / 446.2 MB, free: 8.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.6646, allocations: 1.299 MB / 447.5 MB, free: 7.574 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008667/0.6655, allocations: 1.028 MB / 448.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.6657, allocations: 59.44 kB / 448.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of SimCode: time 1.366e-06/0.6657, allocations: 4 kB / 448.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of Templates: time 0.03208/0.6978, allocations: 20.81 MB / 469.4 MB, free: 1.871 MB / 346.7 MB