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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.745e-05, allocations: 4 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3281, allocations: 44.5 MB / 303.3 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01618/0.3443, allocations: 9.395 MB / 312.7 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009195/0.3536, allocations: 3.376 MB / 316.1 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.3558, allocations: 75.75 kB / 316.1 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.3585, allocations: 0.6487 MB / 316.8 MB, free: 172 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004628/0.3631, allocations: 0.8137 MB / 317.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.3652, allocations: 307.6 kB / 317.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005982/0.3712, allocations: 1.996 MB / 319.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003514/0.3748, allocations: 1.666 MB / 321.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/0.3772, allocations: 1.06 MB / 322.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003605/0.3809, allocations: 1.441 MB / 324.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.3824, allocations: 211.9 kB / 324.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000743/0.3832, allocations: 140 kB / 324.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.3847, allocations: 0.9073 MB / 325.3 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.386, allocations: 328 kB / 325.6 MB, free: 7.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008441/0.3945, allocations: 5.236 MB / 330.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3945, allocations: 0 / 330.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3945, allocations: 0 / 330.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000235/0.3948, allocations: 0 / 330.9 MB, free: 2.035 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.01151/0.4063, allocations: 3.301 MB / 334.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.4064, allocations: 8.031 kB / 334.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.4085, allocations: 435.2 kB / 334.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006472/0.4149, allocations: 2.169 MB / 336.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002926/0.4153, allocations: 230.1 kB / 337 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009596/0.4163, allocations: 311.9 kB / 337.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.429, allocations: 4.326 MB / 341.6 MB, free: 7.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.4291, allocations: 11.89 kB / 341.6 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004894/0.4296, allocations: 128 kB / 341.8 MB, free: 6.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002054/0.4299, allocations: 130 kB / 341.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.4414, allocations: 3.767 MB / 345.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03655/0.478, allocations: 13.56 MB / 359.2 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006352/0.4845, allocations: 2.888 MB / 362.1 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000484/0.485, allocations: 130.4 kB / 362.2 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.4851, allocations: 47.88 kB / 362.3 MB, free: 1.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=164): time 4.468e-06/0.4851, allocations: 4 kB / 362.3 MB, free: 1.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=180): time 0.03406/0.5192, allocations: 9.358 MB / 371.7 MB, free: 8.258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.5193, allocations: 69.41 kB / 371.7 MB, free: 8.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005222/0.5245, allocations: 2.034 MB / 373.8 MB, free: 6.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004672/0.525, allocations: 57.7 kB / 373.8 MB, free: 6.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.5267, allocations: 1.362 MB / 375.2 MB, free: 4.684 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.5278, allocations: 0.6007 MB / 375.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.528, allocations: 43.94 kB / 375.8 MB, free: 4.031 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002711/0.5283, allocations: 394.7 kB / 376.2 MB, free: 3.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/0.5317, allocations: 1.144 MB / 377.3 MB, free: 2.492 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004151/0.5359, allocations: 1.582 MB / 378.9 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004148/0.5401, allocations: 1.353 MB / 380.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/0.5402, allocations: 4 kB / 380.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01131/0.5515, allocations: 3.461 MB / 383.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.5516, allocations: 15.98 kB / 383.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/0.5517, allocations: 12 kB / 383.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003567/0.5553, allocations: 0.8042 MB / 384.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/0.559, allocations: 455.3 kB / 385 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/0.5763, allocations: 10.5 MB / 395.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/0.5795, allocations: 143.9 kB / 395.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004757/0.5801, allocations: 79.98 kB / 395.7 MB, free: 15.21 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.003341/0.5834, allocations: 1.085 MB / 396.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009386/0.5844, allocations: 252.9 kB / 397.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.5948, allocations: 3.34 MB / 400.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/0.5949, allocations: 16 kB / 400.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.77e-05/0.5949, allocations: 8 kB / 400.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-05/0.595, allocations: 11.92 kB / 400.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/0.617, allocations: 6.871 MB / 407.3 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/0.6171, allocations: 4 kB / 407.3 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002794/0.6199, allocations: 295.8 kB / 407.6 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004457/0.6244, allocations: 0.9238 MB / 408.5 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004712/0.625, allocations: 39.98 kB / 408.6 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02257/0.6476, allocations: 13.73 MB / 422.3 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.6476, allocations: 4 kB / 422.3 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2835/0.9311, allocations: 5.05 MB / 427.4 MB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/0.9333, allocations: 0.566 MB / 427.9 MB, free: 102.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/0.9345, allocations: 42.12 kB / 428 MB, free: 102.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/0.9375, allocations: 132.1 kB / 428.1 MB, free: 102.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007909/0.9383, allocations: 155.1 kB / 428.2 MB, free: 102.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/0.9386, allocations: 50.95 kB / 428.3 MB, free: 102.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004328/0.9429, allocations: 1.573 MB / 429.9 MB, free: 102.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.943, allocations: 0 / 429.9 MB, free: 102.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003451/0.9465, allocations: 0.6974 MB / 430.6 MB, free: 102.1 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.0006975/0.9472, allocations: 181.7 kB / 430.7 MB, free: 102 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00876/0.956, allocations: 3.62 MB / 434.4 MB, free: 100.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.956, allocations: 3.844 kB / 434.4 MB, free: 100.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005796/0.9618, allocations: 2.523 MB / 436.9 MB, free: 98.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00538/0.9673, allocations: 0.6624 MB / 437.6 MB, free: 98.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/0.9849, allocations: 7.967 MB / 445.5 MB, free: 93.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003106/0.9881, allocations: 2.536 MB / 448.1 MB, free: 91.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/0.9893, allocations: 163.4 kB / 448.2 MB, free: 91.76 MB / 362.7 MB Notification: Performance of SimCode: time 3.046e-06/0.9894, allocations: 3.938 kB / 448.2 MB, free: 91.75 MB / 362.7 MB Notification: Performance of Templates: time 0.5133/1.503, allocations: 157.7 MB / 0.5917 GB, free: 125.2 MB / 410.7 MB