Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimsE.i_0_r|aimsE.i_0_s|aimsE.idq_rr.1.|aimsE.idq_rr.2.|aimsE.idq_sr.1.|aimsE.idq_sr.2.|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.rotor.zeroInductor.i0|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimsM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimsM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 1.867/1.867, allocations: 194.9 MB / 210.6 MB, free: 9.312 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.859e-05/2.864e-05, allocations: 4 kB / 258.8 MB, free: 9.016 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2941, allocations: 44.51 MB / 303.3 MB, free: 12.87 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start): time 0.03036/0.3245, allocations: 18.6 MB / 321.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01658/0.3412, allocations: 6.06 MB / 328 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004397/0.3456, allocations: 179.4 kB / 328.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005021/0.3507, allocations: 1.161 MB / 329.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009071/0.3598, allocations: 1.869 MB / 331.2 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.3644, allocations: 0.9133 MB / 332.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.3765, allocations: 4.477 MB / 336.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009047/0.3856, allocations: 3.648 MB / 340.2 MB, free: 8.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00525/0.3909, allocations: 2.221 MB / 342.5 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006549/0.3975, allocations: 2.885 MB / 345.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003487/0.401, allocations: 495.7 kB / 345.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002227/0.4033, allocations: 292 kB / 346.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003381/0.4067, allocations: 1.651 MB / 347.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003056/0.4098, allocations: 0.6562 MB / 348.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01843/0.4283, allocations: 11.7 MB / 360.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4283, allocations: 0 / 360.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.4283, allocations: 0 / 360.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004497/0.4288, allocations: 0 / 360.1 MB, free: 4.785 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02659/0.4554, allocations: 6.899 MB / 367 MB, free: 13.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.4555, allocations: 12.03 kB / 367 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009928/0.4654, allocations: 1.306 MB / 368.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/0.482, allocations: 4.885 MB / 373.2 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007599/0.4828, allocations: 0.5016 MB / 373.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002656/0.4854, allocations: 0.6599 MB / 374.4 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03185/0.5173, allocations: 9.36 MB / 383.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003728/0.5178, allocations: 11.84 kB / 383.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002071/0.5198, allocations: 280 kB / 384 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004328/0.5203, allocations: 301.4 kB / 384.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02773/0.548, allocations: 8.048 MB / 392.4 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08222/0.6303, allocations: 29.51 MB / 421.9 MB, free: 6.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5055/1.136, allocations: 11.94 MB / 433.8 MB, free: 87.98 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02046/1.156, allocations: 6.86 MB / 440.7 MB, free: 85.56 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/1.156, allocations: 68.52 kB / 440.7 MB, free: 85.5 MB / 362.8 MB Notification: Performance of pre-optimization done (n=314): time 6.472e-06/1.157, allocations: 0 / 440.7 MB, free: 85.5 MB / 362.8 MB Notification: Performance of matching and sorting (n=333): time 0.052/1.209, allocations: 16.41 MB / 457.1 MB, free: 77.54 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/1.209, allocations: 84.72 kB / 457.2 MB, free: 77.47 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00765/1.216, allocations: 3.475 MB / 460.7 MB, free: 75.23 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000684/1.217, allocations: 81.7 kB / 460.8 MB, free: 75.14 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002389/1.219, allocations: 3.077 MB / 463.9 MB, free: 72.05 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001414/1.221, allocations: 1.125 MB / 465 MB, free: 70.93 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/1.221, allocations: 76 kB / 465.1 MB, free: 70.86 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0002476/1.222, allocations: 462.2 kB / 465.5 MB, free: 70.4 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004758/1.226, allocations: 1.905 MB / 467.4 MB, free: 68.5 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005504/1.232, allocations: 2.851 MB / 470.3 MB, free: 65.25 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00571/1.238, allocations: 2.338 MB / 472.6 MB, free: 62.9 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.112e-05/1.238, allocations: 11.95 kB / 472.6 MB, free: 62.89 MB / 362.8 MB Notification: Performance of matching and sorting (n=493) (initialization): time 0.01706/1.255, allocations: 6.494 MB / 479.1 MB, free: 56.29 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/1.255, allocations: 16 kB / 479.1 MB, free: 56.27 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-05/1.255, allocations: 28 kB / 479.2 MB, free: 56.24 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004655/1.26, allocations: 1.272 MB / 480.4 MB, free: 54.94 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006312/1.266, allocations: 0.8346 MB / 481.3 MB, free: 54.1 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/1.29, allocations: 21.19 MB / 0.4907 GB, free: 31.46 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005023/1.295, allocations: 208.1 kB / 0.4909 GB, free: 31.25 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008038/1.296, allocations: 156 kB / 0.491 GB, free: 31.1 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * Number of states: 0 () * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 416 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 11 {(1,100.0%) 1,(2,100.0%) 14,(1,100.0%) 8,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00545/1.302, allocations: 2.18 MB / 0.4932 GB, free: 28.91 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.303, allocations: 446.6 kB / 0.4936 GB, free: 28.47 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/1.319, allocations: 6.178 MB / 0.4996 GB, free: 22.12 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-05/1.319, allocations: 32 kB / 0.4996 GB, free: 22.09 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-05/1.319, allocations: 16 kB / 0.4997 GB, free: 22.07 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.553e-05/1.319, allocations: 20.11 kB / 0.4997 GB, free: 22.05 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03181/1.351, allocations: 12.56 MB / 0.5119 GB, free: 9.281 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.396e-05/1.351, allocations: 7.938 kB / 0.512 GB, free: 9.273 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004237/1.355, allocations: 475.7 kB / 0.5124 GB, free: 8.809 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006499/1.362, allocations: 1.618 MB / 0.514 GB, free: 7.137 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006565/1.362, allocations: 79.97 kB / 0.5141 GB, free: 7.059 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04433/1.407, allocations: 30.75 MB / 0.5441 GB, free: 6.199 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/1.407, allocations: 11.89 kB / 0.5441 GB, free: 6.188 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02561/1.432, allocations: 9.175 MB / 0.5531 GB, free: 12.64 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003601/1.436, allocations: 0.9251 MB / 0.554 GB, free: 11.7 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001592/1.438, allocations: 70.52 kB / 0.554 GB, free: 11.63 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004608/1.442, allocations: 211.8 kB / 0.5542 GB, free: 11.42 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001278/1.444, allocations: 278 kB / 0.5545 GB, free: 11.15 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004123/1.444, allocations: 95.97 kB / 0.5546 GB, free: 11.05 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.007199/1.451, allocations: 2.643 MB / 0.5572 GB, free: 8.406 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.102e-06/1.451, allocations: 0 / 0.5572 GB, free: 8.406 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.007459/1.459, allocations: 1.349 MB / 0.5585 GB, free: 7.062 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.inertiaRotor.w,aimsM.stator.zeroInductor.i0,aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsE.inertiaRotor.w,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 223 * 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: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(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.001125/1.46, allocations: 236.1 kB / 0.5587 GB, free: 6.824 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01596/1.476, allocations: 6.425 MB / 0.565 GB, free: 180 kB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.476, allocations: 7.938 kB / 0.565 GB, free: 172 kB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01212/1.488, allocations: 4.87 MB / 0.5698 GB, free: 11.07 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009151/1.497, allocations: 1.249 MB / 0.571 GB, free: 9.824 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3111/1.809, allocations: 15.79 MB / 0.5864 GB, free: 138.3 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008248/1.817, allocations: 4.608 MB / 0.5909 GB, free: 137.4 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.006035/1.823, allocations: 1.061 MB / 0.5919 GB, free: 137.3 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/1.825, allocations: 274.8 kB / 0.5922 GB, free: 137.3 MB / 426.8 MB Notification: Performance of SimCode: time 1.152e-06/1.825, allocations: 0 / 0.5922 GB, free: 137.3 MB / 426.8 MB Notification: Performance of Templates: time 0.1721/1.997, allocations: 68.22 MB / 0.6588 GB, free: 80.3 MB / 426.8 MB