Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadModel(Modelica): time 1.858/1.858, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.961e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2072, allocations: 38.76 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.3392, allocations: 88.81 MB / 352.6 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.3395, allocations: 75.95 kB / 352.7 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3582/0.6977, allocations: 28.68 MB / 381.3 MB, free: 84.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.092e-06/0.6978, allocations: 0 / 381.3 MB, free: 84.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.767e-05/0.6978, allocations: 27.67 kB / 381.4 MB, free: 84.77 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001831/0.6997, allocations: 1.13 MB / 382.5 MB, free: 84.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.6997, allocations: 18.39 kB / 382.5 MB, free: 84.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007917/0.7005, allocations: 190.7 kB / 382.7 MB, free: 84.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.7022, allocations: 0.8088 MB / 383.5 MB, free: 83.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.7023, allocations: 73.88 kB / 383.6 MB, free: 83.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.7025, allocations: 101.2 kB / 383.7 MB, free: 83.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.705, allocations: 0.8853 MB / 384.6 MB, free: 83.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.253e-05/0.7051, allocations: 7.844 kB / 384.6 MB, free: 83.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/0.7054, allocations: 39.62 kB / 384.6 MB, free: 83.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.7055, allocations: 23.28 kB / 384.6 MB, free: 83.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.7088, allocations: 0.5868 MB / 385.2 MB, free: 82.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.7218, allocations: 3.953 MB / 389.2 MB, free: 80.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.7235, allocations: 434.9 kB / 389.6 MB, free: 80.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.7248, allocations: 252.7 kB / 389.9 MB, free: 79.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.869e-05/0.7249, allocations: 4.719 kB / 389.9 MB, free: 79.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.7249, allocations: 37.78 kB / 389.9 MB, free: 79.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 8.568e-06/0.725, allocations: 4 kB / 389.9 MB, free: 79.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.005664/0.7306, allocations: 1.229 MB / 391.1 MB, free: 79.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.7308, allocations: 81.48 kB / 391.2 MB, free: 79.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/0.7422, allocations: 0.7008 MB / 391.9 MB, free: 78.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.7424, allocations: 37.08 kB / 391.9 MB, free: 78.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007526/0.7432, allocations: 0.5631 MB / 392.5 MB, free: 78.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.7435, allocations: 171.3 kB / 392.7 MB, free: 78.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.7436, allocations: 16 kB / 392.7 MB, free: 78.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.7437, allocations: 335.9 kB / 393 MB, free: 77.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008373/0.7446, allocations: 157.6 kB / 393.2 MB, free: 77.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.7457, allocations: 442.3 kB / 393.6 MB, free: 77.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.7469, allocations: 247.5 kB / 393.8 MB, free: 76.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.7469, allocations: 0 / 393.8 MB, free: 76.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003463/0.7504, allocations: 0.7378 MB / 394.6 MB, free: 76.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.7505, allocations: 12.06 kB / 394.6 MB, free: 76.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.7505, allocations: 12 kB / 394.6 MB, free: 76.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005208/0.751, allocations: 88.5 kB / 394.7 MB, free: 76.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.7524, allocations: 169.1 kB / 394.9 MB, free: 75.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/0.7688, allocations: 3 MB / 397.9 MB, free: 72.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.7709, allocations: 39.42 kB / 397.9 MB, free: 72.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.771, allocations: 32 kB / 397.9 MB, free: 72.64 MB / 314.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 (86): * 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: 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.0003306/0.7714, allocations: 153.3 kB / 398.1 MB, free: 72.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/0.7718, allocations: 98.89 kB / 398.2 MB, free: 72.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.7832, allocations: 499.5 kB / 398.7 MB, free: 71.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.7833, allocations: 4 kB / 398.7 MB, free: 71.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.7833, allocations: 3.938 kB / 398.7 MB, free: 71.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.7833, allocations: 4 kB / 398.7 MB, free: 71.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005106/0.7885, allocations: 1.459 MB / 400.1 MB, free: 70.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.338e-06/0.7885, allocations: 4 kB / 400.1 MB, free: 70.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.789, allocations: 73.78 kB / 400.2 MB, free: 70.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003397/0.7893, allocations: 91.11 kB / 400.3 MB, free: 70.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.7894, allocations: 12 kB / 400.3 MB, free: 70.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/0.7917, allocations: 2.968 MB / 403.3 MB, free: 67.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.609e-06/0.7917, allocations: 7.969 kB / 403.3 MB, free: 67.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.7931, allocations: 0.8726 MB / 404.2 MB, free: 66.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003814/0.7935, allocations: 208.9 kB / 404.4 MB, free: 66.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.7937, allocations: 15.83 kB / 404.4 MB, free: 66.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.7943, allocations: 31.23 kB / 404.4 MB, free: 66.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.7944, allocations: 33.17 kB / 404.4 MB, free: 66.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.7944, allocations: 20 kB / 404.5 MB, free: 66.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008682/0.7953, allocations: 0.5302 MB / 405 MB, free: 65.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.7953, allocations: 0 / 405 MB, free: 65.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001176/0.7965, allocations: 255.4 kB / 405.2 MB, free: 65.39 MB / 314.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 (40): * Single equations (assignments): 38 * 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.000419/0.797, allocations: 277.5 kB / 405.5 MB, free: 65.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.7981, allocations: 0.6603 MB / 406.2 MB, free: 64.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7981, allocations: 0 / 406.2 MB, free: 64.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006639/0.7988, allocations: 441.9 kB / 406.6 MB, free: 64.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.7999, allocations: 210.2 kB / 406.8 MB, free: 63.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.8025, allocations: 1.285 MB / 408.1 MB, free: 62.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.8031, allocations: 1.037 MB / 409.1 MB, free: 61.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005967/0.8037, allocations: 107.7 kB / 409.2 MB, free: 61.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.8039, allocations: 59.42 kB / 409.3 MB, free: 61.55 MB / 314.7 MB Notification: Performance of SimCode: time 1.753e-06/0.8039, allocations: 0 / 409.3 MB, free: 61.55 MB / 314.7 MB Notification: Performance of Templates: time 0.03027/0.8342, allocations: 12.39 MB / 421.7 MB, free: 49.21 MB / 314.7 MB