Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 2.098/2.098, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.495e-05, allocations: 8 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08842/0.08847, allocations: 50.42 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/0.4708, allocations: 104.7 MB / 447.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.471, allocations: 90.25 kB / 447.9 MB, free: 5.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1598/0.6308, allocations: 41.47 MB / 489.3 MB, free: 316 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.896e-06/0.6309, allocations: 4 kB / 489.3 MB, free: 312 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001542/0.631, allocations: 51.94 kB / 489.4 MB, free: 260 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004459/0.6355, allocations: 1.984 MB / 491.4 MB, free: 14.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.6355, allocations: 11.97 kB / 491.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008946/0.6365, allocations: 273 kB / 491.6 MB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003453/0.6399, allocations: 1.376 MB / 493 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.6401, allocations: 143.7 kB / 493.2 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004365/0.6406, allocations: 199.9 kB / 493.4 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0052/0.6458, allocations: 2.331 MB / 495.7 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.107e-05/0.6459, allocations: 4 kB / 495.7 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002781/0.6462, allocations: 87.98 kB / 495.8 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.6463, allocations: 79.69 kB / 495.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004383/0.6507, allocations: 1.784 MB / 497.6 MB, free: 7.797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.6665, allocations: 7.857 MB / 0.4936 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.669, allocations: 1.253 MB / 0.4949 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/0.6708, allocations: 0.8002 MB / 0.4956 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003437/0.6712, allocations: 138 kB / 0.4958 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.6712, allocations: 47.56 kB / 0.4958 GB, free: 13.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 4.233e-06/0.6713, allocations: 0 / 0.4958 GB, free: 13.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.01375/0.685, allocations: 4.843 MB / 0.5006 GB, free: 8.496 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.6851, allocations: 68.41 kB / 0.5006 GB, free: 8.414 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.6873, allocations: 1.106 MB / 0.5017 GB, free: 7.301 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.6875, allocations: 45.7 kB / 0.5017 GB, free: 7.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008886/0.6884, allocations: 0.9006 MB / 0.5026 GB, free: 6.336 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004502/0.6888, allocations: 410.1 kB / 0.503 GB, free: 5.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.689, allocations: 24 kB / 0.503 GB, free: 5.906 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.6892, allocations: 365.9 kB / 0.5034 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.6906, allocations: 0.6209 MB / 0.504 GB, free: 4.922 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.6924, allocations: 0.964 MB / 0.5049 GB, free: 3.809 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.6941, allocations: 0.7856 MB / 0.5057 GB, free: 3.023 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.6942, allocations: 7.938 kB / 0.5057 GB, free: 3.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005038/0.6992, allocations: 2.115 MB / 0.5078 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.6992, allocations: 8.344 kB / 0.5078 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.6993, allocations: 16 kB / 0.5078 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.7006, allocations: 415.1 kB / 0.5082 GB, free: 448 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.7025, allocations: 343.5 kB / 0.5085 GB, free: 104 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007031/0.7096, allocations: 4.633 MB / 0.513 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.7111, allocations: 83.98 kB / 0.5131 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.7113, allocations: 56 kB / 0.5132 GB, free: 11.06 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003671/0.7116, allocations: 184.6 kB / 0.5134 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.712, allocations: 150.2 kB / 0.5135 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005245/0.7173, allocations: 1.898 MB / 0.5154 GB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.7173, allocations: 12 kB / 0.5154 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.677e-06/0.7173, allocations: 0 / 0.5154 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.7174, allocations: 7.969 kB / 0.5154 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009505/0.7269, allocations: 4.025 MB / 0.5193 GB, free: 4.676 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.7269, allocations: 4 kB / 0.5193 GB, free: 4.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.7284, allocations: 231.9 kB / 0.5195 GB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001815/0.7302, allocations: 462.9 kB / 0.52 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.7303, allocations: 27.98 kB / 0.52 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2462/0.9766, allocations: 6.168 MB / 0.526 GB, free: 117.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.43e-06/0.9766, allocations: 6.719 kB / 0.526 GB, free: 117.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006276/0.9829, allocations: 2.901 MB / 0.5289 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.984, allocations: 359.1 kB / 0.5292 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.9843, allocations: 28.78 kB / 0.5292 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.9855, allocations: 74.2 kB / 0.5293 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/0.9858, allocations: 88.56 kB / 0.5294 GB, free: 117.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.9859, allocations: 36.42 kB / 0.5294 GB, free: 117.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001648/0.9876, allocations: 0.8464 MB / 0.5302 GB, free: 117 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.9e-07/0.9876, allocations: 0 / 0.5302 GB, free: 117 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0021/0.9897, allocations: 457.2 kB / 0.5307 GB, free: 117 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006111/0.9903, allocations: 321.5 kB / 0.531 GB, free: 116.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003955/0.9943, allocations: 2.009 MB / 0.5329 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.253e-06/0.9943, allocations: 0 / 0.5329 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002574/0.9969, allocations: 1.31 MB / 0.5342 GB, free: 116.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.9992, allocations: 377.8 kB / 0.5346 GB, free: 116.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007382/1.007, allocations: 3.396 MB / 0.5379 GB, free: 115.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/1.008, allocations: 1.68 MB / 0.5395 GB, free: 114.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001675/1.01, allocations: 347.9 kB / 0.5399 GB, free: 114.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/1.011, allocations: 102.5 kB / 0.54 GB, free: 114.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.634e-06/1.011, allocations: 0 / 0.54 GB, free: 114.4 MB / 442.7 MB Notification: Performance of Templates: time 0.05728/1.068, allocations: 23.65 MB / 0.5631 GB, free: 113.2 MB / 442.7 MB