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_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.97e-05, allocations: 4 kB / 255.4 MB, free: 2.715 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07914/0.07919, allocations: 44.5 MB / 299.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4136/0.4928, allocations: 92.68 MB / 392.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4931, allocations: 77.61 kB / 392.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09349/0.5866, allocations: 26.17 MB / 418.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.453e-06/0.5866, allocations: 3.938 kB / 418.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.158e-05/0.5867, allocations: 19.34 kB / 418.8 MB, free: 10.34 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.001783/0.5885, allocations: 1.103 MB / 419.9 MB, free: 9.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5886, allocations: 11.75 kB / 420 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007617/0.5893, allocations: 167.5 kB / 420.1 MB, free: 9.488 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.5909, allocations: 0.7674 MB / 420.9 MB, free: 9.043 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.591, allocations: 72.78 kB / 421 MB, free: 9.043 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.5912, allocations: 97.41 kB / 421.1 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.593, allocations: 0.8707 MB / 421.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/0.5931, allocations: 3.75 kB / 421.9 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.5932, allocations: 39.97 kB / 422 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.5933, allocations: 23.5 kB / 422 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.5947, allocations: 0.5577 MB / 422.5 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005736/0.6004, allocations: 3.944 MB / 426.5 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005444/0.601, allocations: 325.4 kB / 426.8 MB, free: 6.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.6013, allocations: 129 kB / 426.9 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.6014, allocations: 7.453 kB / 426.9 MB, free: 6.148 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.6014, allocations: 42.66 kB / 427 MB, free: 6.102 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.888e-06/0.6014, allocations: 3.188 kB / 427 MB, free: 6.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001889/0.6033, allocations: 0.9508 MB / 427.9 MB, free: 5.574 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.6034, allocations: 80.98 kB / 428 MB, free: 5.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.6045, allocations: 0.6832 MB / 428.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.6045, allocations: 33.2 kB / 428.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.6049, allocations: 0.5719 MB / 429.3 MB, free: 4.902 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.728e-05/0.605, allocations: 133.2 kB / 429.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.605, allocations: 13.94 kB / 429.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.916e-05/0.6051, allocations: 328.1 kB / 429.8 MB, free: 4.496 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.6054, allocations: 124.6 kB / 429.9 MB, free: 4.492 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.6059, allocations: 433.4 kB / 430.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.6063, allocations: 218.6 kB / 430.5 MB, free: 4.039 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.23e-06/0.6063, allocations: 3.875 kB / 430.5 MB, free: 4.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001253/0.6076, allocations: 0.6128 MB / 431.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.6076, allocations: 10.81 kB / 431.2 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.6077, allocations: 11.53 kB / 431.2 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001593/0.6078, allocations: 39.84 kB / 431.2 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.6085, allocations: 163.5 kB / 431.4 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008375/0.6093, allocations: 1.284 MB / 432.6 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007465/0.6101, allocations: 41.98 kB / 432.7 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/0.6102, allocations: 30.81 kB / 432.7 MB, free: 2.512 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.0001343/0.6103, allocations: 158.3 kB / 432.9 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6105, allocations: 85.84 kB / 433 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007453/0.6112, allocations: 346.9 kB / 433.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.124e-06/0.6112, allocations: 3.906 kB / 433.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.6113, allocations: 0 / 433.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.37e-06/0.6113, allocations: 0 / 433.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.6134, allocations: 1.21 MB / 434.5 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.328e-06/0.6134, allocations: 3.219 kB / 434.5 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.6139, allocations: 80.89 kB / 434.6 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.614, allocations: 18.83 kB / 434.6 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.6141, allocations: 10.78 kB / 434.6 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009146/0.615, allocations: 1.279 MB / 435.9 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.109e-06/0.615, allocations: 3.75 kB / 435.9 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009472/0.616, allocations: 0.6696 MB / 436.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.6164, allocations: 188.6 kB / 436.8 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.6165, allocations: 11.23 kB / 436.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.617, allocations: 30.23 kB / 436.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.6171, allocations: 34.83 kB / 436.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.6171, allocations: 7.75 kB / 436.8 MB, free: 15.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008566/0.618, allocations: 0.522 MB / 437.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.03e-07/0.618, allocations: 0 / 437.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00108/0.6191, allocations: 219.7 kB / 437.6 MB, free: 15.57 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.0004896/0.6196, allocations: 302.7 kB / 437.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008956/0.6205, allocations: 450.7 kB / 438.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.056e-06/0.6206, allocations: 1.062 kB / 438.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.621, allocations: 240.9 kB / 438.5 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6221, allocations: 203.9 kB / 438.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.6252, allocations: 1.258 MB / 440 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008901/0.6261, allocations: 1.012 MB / 441 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000644/0.6268, allocations: 103 kB / 441.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.627, allocations: 61.94 kB / 441.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.815e-06/0.627, allocations: 0 / 441.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of Templates: time 0.03122/0.6582, allocations: 11.13 MB / 452.3 MB, free: 1.422 MB / 330.7 MB