Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aims.i_0_r|aims.idq_rr.1.|aims.idq_rr.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.843e-05, allocations: 4 kB / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3056, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01617/0.3219, allocations: 9.392 MB / 312.7 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009302/0.3312, allocations: 3.38 MB / 316.1 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.3337, allocations: 75.75 kB / 316.2 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003035/0.3368, allocations: 0.6448 MB / 316.8 MB, free: 80 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.3412, allocations: 0.8215 MB / 317.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.3428, allocations: 299.5 kB / 317.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005487/0.3483, allocations: 2 MB / 319.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003824/0.3522, allocations: 1.662 MB / 321.6 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.3549, allocations: 1.067 MB / 322.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00358/0.3585, allocations: 1.441 MB / 324.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.3602, allocations: 207.9 kB / 324.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.3613, allocations: 140 kB / 324.4 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.3634, allocations: 0.9073 MB / 325.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.3651, allocations: 328 kB / 325.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008639/0.3738, allocations: 5.24 MB / 330.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3738, allocations: 0 / 330.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3738, allocations: 0 / 330.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002271/0.3741, allocations: 0 / 330.9 MB, free: 1.938 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01155/0.3856, allocations: 3.293 MB / 334.2 MB, free: 14.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.3857, allocations: 12.02 kB / 334.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002453/0.3882, allocations: 431.2 kB / 334.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007036/0.3953, allocations: 2.173 MB / 336.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.3957, allocations: 230.2 kB / 337 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.3969, allocations: 303.9 kB / 337.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/0.4113, allocations: 4.326 MB / 341.7 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/0.4115, allocations: 11.91 kB / 341.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006734/0.4122, allocations: 135.9 kB / 341.8 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002202/0.4124, allocations: 134 kB / 341.9 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.4251, allocations: 3.763 MB / 345.7 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03772/0.4629, allocations: 13.56 MB / 359.3 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006225/0.4691, allocations: 2.892 MB / 362.2 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004818/0.4697, allocations: 126.4 kB / 362.3 MB, free: 1.809 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.4697, allocations: 47.88 kB / 362.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 4.799e-06/0.4698, allocations: 0 / 362.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.03412/0.5039, allocations: 9.36 MB / 371.7 MB, free: 8.164 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.504, allocations: 69.41 kB / 371.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005263/0.5093, allocations: 2.034 MB / 373.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004521/0.5098, allocations: 57.7 kB / 373.8 MB, free: 5.965 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00172/0.5115, allocations: 1.474 MB / 375.3 MB, free: 4.473 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.5126, allocations: 0.6007 MB / 375.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.5128, allocations: 43.94 kB / 376 MB, free: 3.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.5131, allocations: 389.8 kB / 376.3 MB, free: 3.434 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/0.5165, allocations: 1.136 MB / 377.5 MB, free: 2.297 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003911/0.5204, allocations: 1.582 MB / 379.1 MB, free: 0.543 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003951/0.5244, allocations: 1.361 MB / 380.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/0.5245, allocations: 4 kB / 380.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01139/0.5359, allocations: 3.62 MB / 384 MB, free: 11.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.536, allocations: 12 kB / 384.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/0.536, allocations: 12 kB / 384.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003553/0.5396, allocations: 0.8042 MB / 384.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0037/0.5433, allocations: 459.3 kB / 385.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/0.5603, allocations: 10.51 MB / 395.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/0.5635, allocations: 139.9 kB / 396 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004956/0.5641, allocations: 79.98 kB / 396 MB, free: 14.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003177/0.5673, allocations: 1.087 MB / 397.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008883/0.5682, allocations: 249 kB / 397.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.5785, allocations: 3.337 MB / 400.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.5785, allocations: 16 kB / 400.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-05/0.5786, allocations: 8 kB / 400.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.967e-05/0.5786, allocations: 11.92 kB / 400.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/0.5997, allocations: 6.871 MB / 407.6 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.558e-05/0.5997, allocations: 4 kB / 407.6 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002764/0.6025, allocations: 299.8 kB / 407.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004377/0.6069, allocations: 0.9238 MB / 408.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004471/0.6074, allocations: 43.98 kB / 408.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02149/0.6289, allocations: 13.73 MB / 422.6 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.629, allocations: 4 kB / 422.6 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2747/0.9037, allocations: 5.056 MB / 427.7 MB, free: 102.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/0.9059, allocations: 0.5639 MB / 428.2 MB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/0.907, allocations: 43.7 kB / 428.3 MB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003075/0.9101, allocations: 134.1 kB / 428.4 MB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007424/0.9109, allocations: 149.3 kB / 428.5 MB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/0.9111, allocations: 51.7 kB / 428.6 MB, free: 102.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003792/0.9149, allocations: 1.57 MB / 430.2 MB, free: 102.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.194e-06/0.9149, allocations: 0 / 430.2 MB, free: 102.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003502/0.9185, allocations: 0.7048 MB / 430.9 MB, free: 102.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007218/0.9192, allocations: 172.4 kB / 431 MB, free: 102.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008538/0.9278, allocations: 3.619 MB / 434.7 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.9278, allocations: 3.875 kB / 434.7 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005916/0.9338, allocations: 2.53 MB / 437.2 MB, free: 98.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005102/0.9389, allocations: 0.6591 MB / 437.9 MB, free: 98.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/0.9561, allocations: 7.938 MB / 445.8 MB, free: 93.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003695/0.9598, allocations: 2.59 MB / 448.4 MB, free: 91.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003145/0.963, allocations: 0.5905 MB / 449 MB, free: 90.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009958/0.964, allocations: 151.4 kB / 449.1 MB, free: 90.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.863e-06/0.9641, allocations: 7.656 kB / 449.1 MB, free: 90.72 MB / 362.7 MB Notification: Performance of Templates: time 0.09599/1.06, allocations: 38.21 MB / 487.3 MB, free: 52.5 MB / 362.7 MB