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.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.737e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 47.58 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3983/0.5135, allocations: 97.01 MB / 414 MB, free: 7.395 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.5138, allocations: 79.2 kB / 414 MB, free: 7.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1031/0.6169, allocations: 26.23 MB / 440.3 MB, free: 1.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.752e-06/0.6169, allocations: 0 / 440.3 MB, free: 1.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.118e-05/0.617, allocations: 23.94 kB / 440.3 MB, free: 1.188 MB / 346.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.002123/0.6192, allocations: 1.097 MB / 441.4 MB, free: 116 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.6192, allocations: 8.031 kB / 441.4 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007613/0.62, allocations: 174.5 kB / 441.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.6217, allocations: 0.7644 MB / 442.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.6218, allocations: 81.66 kB / 442.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.622, allocations: 94.75 kB / 442.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.624, allocations: 0.8602 MB / 443.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.58e-05/0.624, allocations: 12.3 kB / 443.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.6241, allocations: 46 kB / 443.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.6242, allocations: 24 kB / 443.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.6256, allocations: 0.5523 MB / 444 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006551/0.6322, allocations: 3.937 MB / 447.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.6328, allocations: 332.9 kB / 448.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.6331, allocations: 131.6 kB / 448.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.6332, allocations: 4.281 kB / 448.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.6332, allocations: 42.03 kB / 448.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 3.283e-06/0.6332, allocations: 0 / 448.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002005/0.6352, allocations: 0.9472 MB / 449.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.6353, allocations: 83.8 kB / 449.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.6366, allocations: 0.6787 MB / 450.1 MB, free: 8.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.6366, allocations: 30.64 kB / 450.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004948/0.6371, allocations: 0.5663 MB / 450.7 MB, free: 8.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.6373, allocations: 135.8 kB / 450.9 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.6373, allocations: 14.88 kB / 450.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.6375, allocations: 332.8 kB / 451.2 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.6378, allocations: 128.2 kB / 451.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.6384, allocations: 431.8 kB / 451.7 MB, free: 7.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.6389, allocations: 206 kB / 451.9 MB, free: 7.383 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.946e-06/0.6389, allocations: 0 / 451.9 MB, free: 7.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001373/0.6403, allocations: 0.6204 MB / 452.6 MB, free: 6.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.6403, allocations: 12 kB / 452.6 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.6403, allocations: 8 kB / 452.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001682/0.6405, allocations: 36.59 kB / 452.6 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.6412, allocations: 166.8 kB / 452.8 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.6426, allocations: 1.285 MB / 454.1 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.6433, allocations: 42.67 kB / 454.1 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.6434, allocations: 34.31 kB / 454.1 MB, free: 5.227 MB / 362.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.0001672/0.6435, allocations: 153 kB / 454.3 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.6437, allocations: 86.92 kB / 454.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007636/0.6445, allocations: 346.2 kB / 454.7 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.6445, allocations: 7.984 kB / 454.7 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.68e-06/0.6445, allocations: 3.938 kB / 454.7 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.933e-06/0.6445, allocations: 0 / 454.7 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.6469, allocations: 1.203 MB / 455.9 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.518e-06/0.6469, allocations: 7.938 kB / 455.9 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.6474, allocations: 75.91 kB / 456 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.6475, allocations: 24.84 kB / 456 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.6476, allocations: 16.17 kB / 456.1 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.6488, allocations: 1.264 MB / 457.3 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.49e-06/0.6489, allocations: 12.19 kB / 457.3 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.65, allocations: 0.6579 MB / 458 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.6504, allocations: 188.1 kB / 458.2 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.6505, allocations: 16 kB / 458.2 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.651, allocations: 31.97 kB / 458.2 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.6511, allocations: 27.91 kB / 458.2 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.6512, allocations: 11.95 kB / 458.3 MB, free: 1.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009815/0.6522, allocations: 0.5265 MB / 458.8 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.6522, allocations: 0 / 458.8 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001045/0.6532, allocations: 223.9 kB / 459 MB, free: 280 kB / 362.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.0005134/0.6538, allocations: 292.7 kB / 459.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009907/0.6548, allocations: 453.8 kB / 459.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.891e-06/0.6548, allocations: 0 / 459.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.6553, allocations: 243.8 kB / 460 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6564, allocations: 199.7 kB / 460.2 MB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.6593, allocations: 1.259 MB / 461.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008728/0.6602, allocations: 1.016 MB / 462.4 MB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005581/0.6608, allocations: 110.9 kB / 462.6 MB, free: 12.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.6609, allocations: 51.44 kB / 462.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.592e-06/0.661, allocations: 0 / 462.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of Templates: time 0.03098/0.6919, allocations: 11.13 MB / 473.7 MB, free: 1.488 MB / 378.7 MB