Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 194.9 MB / 208.4 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.224e-05, allocations: 4 kB / 255.3 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07692/0.07697, allocations: 44.5 MB / 299.8 MB, free: 6.602 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.4239, allocations: 92.67 MB / 392.5 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.4242, allocations: 81.02 kB / 392.6 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09384/0.518, allocations: 26.17 MB / 418.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.375e-06/0.5181, allocations: 0 / 418.8 MB, free: 10.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.314e-05/0.5181, allocations: 23.47 kB / 418.8 MB, free: 10.32 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001821/0.52, allocations: 1.097 MB / 419.9 MB, free: 9.555 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.52, allocations: 11.69 kB / 419.9 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007221/0.5208, allocations: 171.9 kB / 420.1 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.5223, allocations: 0.764 MB / 420.8 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.5224, allocations: 75.09 kB / 420.9 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.5226, allocations: 96.16 kB / 421 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.5244, allocations: 0.8787 MB / 421.9 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/0.5244, allocations: 3.938 kB / 421.9 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5245, allocations: 41.97 kB / 421.9 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.5246, allocations: 23.09 kB / 421.9 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.526, allocations: 0.5723 MB / 422.5 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006137/0.5322, allocations: 3.941 MB / 426.5 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005513/0.5328, allocations: 329.6 kB / 426.8 MB, free: 6.148 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.533, allocations: 128.8 kB / 426.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.5331, allocations: 7.969 kB / 426.9 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.5331, allocations: 41.97 kB / 427 MB, free: 6.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.605e-06/0.5331, allocations: 3.938 kB / 427 MB, free: 6.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.00188/0.535, allocations: 0.9552 MB / 427.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.5351, allocations: 80.3 kB / 428 MB, free: 5.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.5362, allocations: 0.6845 MB / 428.7 MB, free: 5.273 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.5362, allocations: 37.14 kB / 428.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.5365, allocations: 0.5801 MB / 429.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.651e-05/0.5366, allocations: 131.9 kB / 429.4 MB, free: 4.738 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.5367, allocations: 17.12 kB / 429.4 MB, free: 4.738 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.5367, allocations: 342.2 kB / 429.8 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.537, allocations: 122.7 kB / 429.9 MB, free: 4.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.5375, allocations: 431.1 kB / 430.3 MB, free: 4.012 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.5379, allocations: 215.7 kB / 430.5 MB, free: 3.961 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.5379, allocations: 3.875 kB / 430.5 MB, free: 3.961 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001197/0.5391, allocations: 0.5869 MB / 431.1 MB, free: 3.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.5392, allocations: 13.7 kB / 431.1 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.5392, allocations: 12.16 kB / 431.1 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.5394, allocations: 38.55 kB / 431.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/0.54, allocations: 162.5 kB / 431.3 MB, free: 3.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008771/0.5409, allocations: 1.291 MB / 432.6 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008049/0.5418, allocations: 41.89 kB / 432.7 MB, free: 2.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.5418, allocations: 30.41 kB / 432.7 MB, free: 2.445 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 84 * 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.0001352/0.542, allocations: 157.7 kB / 432.8 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.5421, allocations: 85.38 kB / 432.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007611/0.5429, allocations: 342.7 kB / 433.3 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.069e-06/0.5429, allocations: 3.906 kB / 433.3 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.813e-06/0.5429, allocations: 0 / 433.3 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.543, allocations: 3.984 kB / 433.3 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.5451, allocations: 1.213 MB / 434.5 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.554e-06/0.5451, allocations: 0 / 434.5 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.5455, allocations: 85.83 kB / 434.6 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.5457, allocations: 24.25 kB / 434.6 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.5457, allocations: 7.594 kB / 434.6 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.5469, allocations: 1.276 MB / 435.9 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.327e-06/0.5469, allocations: 3.906 kB / 435.9 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.5479, allocations: 0.6654 MB / 436.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.5483, allocations: 190.4 kB / 436.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.5484, allocations: 10.88 kB / 436.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/0.5489, allocations: 34.16 kB / 436.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.549, allocations: 40.25 kB / 436.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.5491, allocations: 9.938 kB / 436.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008857/0.55, allocations: 0.5157 MB / 437.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.55, allocations: 0 / 437.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001069/0.5511, allocations: 226.2 kB / 437.6 MB, free: 15.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.0004608/0.5515, allocations: 283.9 kB / 437.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009432/0.5525, allocations: 484.3 kB / 438.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.477e-06/0.5525, allocations: 0 / 438.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.553, allocations: 253 kB / 438.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.5541, allocations: 198.4 kB / 438.8 MB, free: 14.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.5573, allocations: 1.292 MB / 440 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008661/0.5582, allocations: 1.016 MB / 441.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.5584, allocations: 59.44 kB / 441.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.69e-06/0.5584, allocations: 4 kB / 441.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of Templates: time 0.02782/0.5863, allocations: 16.06 MB / 457.2 MB, free: 12.68 MB / 346.7 MB