Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.598e-05, allocations: 4 kB / 258.8 MB, free: 7.852 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2934, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01218/0.3056, allocations: 7.442 MB / 310.8 MB, free: 6.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00673/0.3124, allocations: 2.663 MB / 313.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3136, allocations: 51.81 kB / 313.5 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.3151, allocations: 481.2 kB / 314 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.3176, allocations: 0.5918 MB / 314.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.3185, allocations: 211.7 kB / 314.8 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002962/0.3215, allocations: 1.294 MB / 316 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.3233, allocations: 1.021 MB / 317.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.3245, allocations: 0.67 MB / 317.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.3264, allocations: 0.9462 MB / 318.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007019/0.3271, allocations: 151.9 kB / 318.8 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003933/0.3275, allocations: 92 kB / 318.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008752/0.3284, allocations: 0.5918 MB / 319.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006787/0.3291, allocations: 216 kB / 319.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004504/0.3336, allocations: 3.233 MB / 323 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3337, allocations: 0 / 323 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3337, allocations: 3.938 kB / 323 MB, free: 9.863 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.401e-05/0.3338, allocations: 0 / 323 MB, free: 9.863 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006769/0.3406, allocations: 2.201 MB / 325.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.3406, allocations: 16.02 kB / 325.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.3419, allocations: 280.8 kB / 325.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003883/0.3458, allocations: 1.395 MB / 326.8 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.346, allocations: 152 kB / 327 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000515/0.3466, allocations: 203.9 kB / 327.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007391/0.354, allocations: 2.708 MB / 329.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.187e-05/0.3541, allocations: 7.906 kB / 329.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002964/0.3544, allocations: 91.92 kB / 330 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.3546, allocations: 91.94 kB / 330.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006844/0.3614, allocations: 2.326 MB / 332.4 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/0.3822, allocations: 8.411 MB / 340.8 MB, free: 7.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003513/0.3857, allocations: 1.775 MB / 342.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/0.3861, allocations: 122.9 kB / 342.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.3862, allocations: 47.55 kB / 342.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.517e-06/0.3862, allocations: 0 / 342.8 MB, free: 5.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=120): time 0.02197/0.4082, allocations: 6.2 MB / 349 MB, free: 15.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.4083, allocations: 68.41 kB / 349 MB, free: 15.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.4112, allocations: 1.302 MB / 350.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002147/0.4114, allocations: 45.7 kB / 350.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.4124, allocations: 0.9872 MB / 351.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005487/0.413, allocations: 418 kB / 351.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.4131, allocations: 24 kB / 351.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4133, allocations: 357.9 kB / 352.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.4154, allocations: 0.7495 MB / 352.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/0.4177, allocations: 1.063 MB / 354 MB, free: 9.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.42, allocations: 0.8847 MB / 354.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.42, allocations: 4 kB / 354.9 MB, free: 9.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006655/0.4267, allocations: 2.368 MB / 357.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.4268, allocations: 8 kB / 357.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.4268, allocations: 12 kB / 357.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/0.4284, allocations: 411.4 kB / 357.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/0.4309, allocations: 327.5 kB / 358 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007862/0.4388, allocations: 4.747 MB / 362.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.4408, allocations: 87.91 kB / 362.8 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.441, allocations: 56 kB / 362.9 MB, free: 0.793 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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.001715/0.4427, allocations: 0.7158 MB / 363.6 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004593/0.4432, allocations: 162.1 kB / 363.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006163/0.4494, allocations: 2.164 MB / 365.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.4494, allocations: 12 kB / 365.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.4494, allocations: 4 kB / 365.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.4495, allocations: 7.922 kB / 365.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.4619, allocations: 4.579 MB / 370.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.462, allocations: 4 kB / 370.5 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/0.4638, allocations: 220 kB / 370.7 MB, free: 8.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.466, allocations: 467.6 kB / 371.2 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.4662, allocations: 35.97 kB / 371.2 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009687/0.4759, allocations: 6.269 MB / 377.5 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.4759, allocations: 8.094 kB / 377.5 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008566/0.4845, allocations: 3.351 MB / 380.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.4858, allocations: 395 kB / 381.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000418/0.4862, allocations: 32 kB / 381.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.4877, allocations: 79.91 kB / 381.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/0.4881, allocations: 116.7 kB / 381.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.4882, allocations: 35.98 kB / 381.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002163/0.4904, allocations: 1.001 MB / 382.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.4904, allocations: 0 / 382.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00213/0.4926, allocations: 456 kB / 382.9 MB, free: 12.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0004468/0.493, allocations: 160.9 kB / 383.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005899/0.4989, allocations: 2.29 MB / 385.4 MB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.499, allocations: 0 / 385.4 MB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003927/0.5029, allocations: 1.519 MB / 386.9 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.506, allocations: 401.7 kB / 387.3 MB, free: 7.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.5175, allocations: 5.29 MB / 392.6 MB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/0.5197, allocations: 1.857 MB / 394.4 MB, free: 296 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002081/0.5218, allocations: 405.4 kB / 394.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/0.5224, allocations: 111.4 kB / 394.9 MB, free: 15.78 MB / 346.7 MB Notification: Performance of SimCode: time 1.393e-06/0.5224, allocations: 0 / 394.9 MB, free: 15.78 MB / 346.7 MB Notification: Performance of Templates: time 0.06578/0.5882, allocations: 22.97 MB / 417.9 MB, free: 8.812 MB / 362.7 MB