Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.846/1.846, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.158e-05, allocations: 4 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08784, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3771/0.465, allocations: 109 MB / 426 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4653, allocations: 92.88 kB / 426 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2463/0.7116, allocations: 52 MB / 478 MB, free: 14.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.797e-06/0.7116, allocations: 0 / 478 MB, free: 14.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002134/0.7118, allocations: 67.88 kB / 478.1 MB, free: 14.1 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005925/0.7178, allocations: 2.416 MB / 480.5 MB, free: 11.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.7178, allocations: 8.031 kB / 480.5 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.7191, allocations: 328.3 kB / 480.8 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004718/0.7238, allocations: 1.767 MB / 482.6 MB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.724, allocations: 152 kB / 482.8 MB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005128/0.7246, allocations: 211.9 kB / 483 MB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006024/0.7306, allocations: 2.561 MB / 485.5 MB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-05/0.7307, allocations: 15.83 kB / 485.5 MB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003255/0.7311, allocations: 91.98 kB / 485.6 MB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.7312, allocations: 91.92 kB / 485.7 MB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004992/0.7362, allocations: 2.023 MB / 487.7 MB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01846/0.7547, allocations: 8.318 MB / 496.1 MB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003639/0.7584, allocations: 1.588 MB / 497.7 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.7605, allocations: 0.9696 MB / 498.6 MB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003782/0.7609, allocations: 138 kB / 498.8 MB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.761, allocations: 59.5 kB / 498.8 MB, free: 8.844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 5.201e-06/0.761, allocations: 0 / 498.8 MB, free: 8.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.01298/0.774, allocations: 5.015 MB / 0.492 GB, free: 3.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.7741, allocations: 64.72 kB / 0.4921 GB, free: 3.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/0.778, allocations: 1.862 MB / 0.4939 GB, free: 1.773 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.7782, allocations: 49.7 kB / 0.494 GB, free: 1.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.7794, allocations: 1.1 MB / 0.495 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005512/0.78, allocations: 469.2 kB / 0.4955 GB, free: 144 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.7801, allocations: 28 kB / 0.4955 GB, free: 116 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.7804, allocations: 357.9 kB / 0.4958 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.782, allocations: 0.7107 MB / 0.4965 GB, free: 15.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.7838, allocations: 0.9471 MB / 0.4975 GB, free: 14.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.7857, allocations: 0.8443 MB / 0.4983 GB, free: 13.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.951e-06/0.7857, allocations: 4 kB / 0.4983 GB, free: 13.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.006699/0.7924, allocations: 2.691 MB / 0.5009 GB, free: 10.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.7925, allocations: 12 kB / 0.5009 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.28e-05/0.7925, allocations: 11.95 kB / 0.5009 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.7955, allocations: 0.8389 MB / 0.5018 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.7971, allocations: 275.5 kB / 0.502 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2426/1.04, allocations: 9.286 MB / 0.5111 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/1.042, allocations: 96.2 kB / 0.5112 GB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/1.042, allocations: 53.53 kB / 0.5112 GB, free: 111.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003595/1.042, allocations: 178.9 kB / 0.5114 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005131/1.043, allocations: 201.8 kB / 0.5116 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006191/1.049, allocations: 2.466 MB / 0.514 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/1.049, allocations: 13.19 kB / 0.514 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.049, allocations: 8.156 kB / 0.514 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-05/1.049, allocations: 7.891 kB / 0.514 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.062, allocations: 4.989 MB / 0.5189 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/1.062, allocations: 7.531 kB / 0.5189 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.063, allocations: 216.8 kB / 0.5191 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002742/1.066, allocations: 0.7078 MB / 0.5198 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/1.066, allocations: 40.41 kB / 0.5198 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/1.078, allocations: 8.46 MB / 0.5281 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.019e-06/1.078, allocations: 2.75 kB / 0.5281 GB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007012/1.085, allocations: 3.594 MB / 0.5316 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/1.086, allocations: 483.2 kB / 0.5321 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/1.087, allocations: 33.55 kB / 0.5321 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.088, allocations: 91.11 kB / 0.5322 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003386/1.088, allocations: 116.4 kB / 0.5323 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.089, allocations: 37.36 kB / 0.5323 GB, free: 105.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002557/1.091, allocations: 1.458 MB / 0.5338 GB, free: 105.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.153e-06/1.091, allocations: 0 / 0.5338 GB, free: 105.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002541/1.094, allocations: 0.5905 MB / 0.5343 GB, free: 105.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001699/1.095, allocations: 0.5959 MB / 0.5349 GB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004532/1.1, allocations: 2.332 MB / 0.5372 GB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.872e-06/1.1, allocations: 0 / 0.5372 GB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003155/1.103, allocations: 1.646 MB / 0.5388 GB, free: 104.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/1.105, allocations: 404.9 kB / 0.5392 GB, free: 104.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008399/1.114, allocations: 4.27 MB / 0.5434 GB, free: 103 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/1.116, allocations: 2 MB / 0.5453 GB, free: 102.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001818/1.118, allocations: 403.8 kB / 0.5457 GB, free: 102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/1.118, allocations: 127.8 kB / 0.5458 GB, free: 102 MB / 426.7 MB Notification: Performance of SimCode: time 1.738e-06/1.118, allocations: 0 / 0.5458 GB, free: 102 MB / 426.7 MB Notification: Performance of Templates: time 0.07259/1.191, allocations: 31.46 MB / 0.5766 GB, free: 94.7 MB / 426.7 MB