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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 194.9 MB / 211.2 MB, free: 8.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.736e-05, allocations: 7.906 kB / 258.8 MB, free: 8.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3473, allocations: 44.49 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start): time 0.03615/0.3835, allocations: 18.6 MB / 321.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01812/0.4017, allocations: 6.06 MB / 328 MB, free: 4.953 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004818/0.4065, allocations: 179.4 kB / 328.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005291/0.4119, allocations: 1.15 MB / 329.3 MB, free: 3.621 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009624/0.4215, allocations: 1.888 MB / 331.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004829/0.4264, allocations: 0.9123 MB / 332.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01302/0.4395, allocations: 4.462 MB / 336.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008982/0.4485, allocations: 3.652 MB / 340.2 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005653/0.4542, allocations: 2.217 MB / 342.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007041/0.4613, allocations: 2.873 MB / 345.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/0.4651, allocations: 495.8 kB / 345.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002268/0.4674, allocations: 292 kB / 346.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003679/0.4711, allocations: 1.647 MB / 347.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003276/0.4745, allocations: 0.6562 MB / 348.4 MB, free: 488 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01899/0.4935, allocations: 11.7 MB / 360.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4936, allocations: 4 kB / 360.1 MB, free: 4.738 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.4936, allocations: 0 / 360.1 MB, free: 4.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004605/0.494, allocations: 3.938 kB / 360.1 MB, free: 4.734 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.02654/0.5206, allocations: 6.895 MB / 367 MB, free: 13.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.5207, allocations: 12.03 kB / 367 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.5309, allocations: 1.302 MB / 368.3 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/0.5478, allocations: 4.893 MB / 373.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008322/0.5487, allocations: 0.4938 MB / 373.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002871/0.5515, allocations: 0.6638 MB / 374.3 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03403/0.5856, allocations: 9.356 MB / 383.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003851/0.5861, allocations: 7.906 kB / 383.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00258/0.5887, allocations: 283.9 kB / 384 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004939/0.5892, allocations: 305.4 kB / 384.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/0.6172, allocations: 8.04 MB / 392.3 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08363/0.7009, allocations: 29.51 MB / 421.8 MB, free: 5.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5197/1.221, allocations: 11.94 MB / 433.8 MB, free: 87.87 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02332/1.244, allocations: 6.86 MB / 440.6 MB, free: 85.46 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.877e-05/1.244, allocations: 72.78 kB / 440.7 MB, free: 85.39 MB / 362.8 MB Notification: Performance of pre-optimization done (n=314): time 7.404e-06/1.244, allocations: 0 / 440.7 MB, free: 85.39 MB / 362.8 MB Notification: Performance of matching and sorting (n=333): time 0.05474/1.299, allocations: 16.41 MB / 457.1 MB, free: 77.48 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/1.299, allocations: 85.89 kB / 457.2 MB, free: 77.41 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008729/1.308, allocations: 3.471 MB / 460.7 MB, free: 75.25 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007051/1.309, allocations: 81.7 kB / 460.7 MB, free: 75.16 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002321/1.311, allocations: 2.827 MB / 463.6 MB, free: 72.32 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001575/1.313, allocations: 1.127 MB / 464.7 MB, free: 71.2 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/1.313, allocations: 76 kB / 464.8 MB, free: 71.12 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0003079/1.313, allocations: 471.1 kB / 465.2 MB, free: 70.66 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005425/1.319, allocations: 1.905 MB / 467.1 MB, free: 68.75 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006035/1.325, allocations: 2.852 MB / 470 MB, free: 65.51 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006319/1.331, allocations: 2.342 MB / 472.3 MB, free: 63.16 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.323e-05/1.331, allocations: 11.95 kB / 472.3 MB, free: 63.14 MB / 362.8 MB Notification: Performance of matching and sorting (n=493) (initialization): time 0.01774/1.349, allocations: 6.205 MB / 478.5 MB, free: 56.83 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/1.349, allocations: 23.98 kB / 478.6 MB, free: 56.8 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.973e-05/1.349, allocations: 28 kB / 478.6 MB, free: 56.78 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004856/1.354, allocations: 1.265 MB / 479.9 MB, free: 55.48 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006465/1.361, allocations: 0.8414 MB / 480.7 MB, free: 54.64 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0257/1.386, allocations: 21.18 MB / 0.4901 GB, free: 32 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005244/1.392, allocations: 216 kB / 0.4903 GB, free: 31.79 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008964/1.393, allocations: 152 kB / 0.4905 GB, free: 31.64 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.006009/1.399, allocations: 2.174 MB / 0.4926 GB, free: 29.46 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/1.4, allocations: 446.6 kB / 0.493 GB, free: 29.02 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01779/1.418, allocations: 6.196 MB / 0.4991 GB, free: 22.65 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-05/1.418, allocations: 32 kB / 0.4991 GB, free: 22.62 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.023e-05/1.418, allocations: 16.19 kB / 0.4991 GB, free: 22.6 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.882e-05/1.418, allocations: 15.94 kB / 0.4991 GB, free: 22.59 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03484/1.453, allocations: 12.56 MB / 0.5114 GB, free: 9.816 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.209e-05/1.453, allocations: 4 kB / 0.5114 GB, free: 9.812 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00428/1.458, allocations: 471.8 kB / 0.5119 GB, free: 9.352 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00675/1.464, allocations: 1.62 MB / 0.5134 GB, free: 7.68 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000761/1.465, allocations: 83.97 kB / 0.5135 GB, free: 7.598 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04535/1.511, allocations: 30.75 MB / 0.5435 GB, free: 6.742 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/1.511, allocations: 11.92 kB / 0.5435 GB, free: 6.73 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03021/1.541, allocations: 9.184 MB / 0.5525 GB, free: 13.18 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003754/1.545, allocations: 0.9251 MB / 0.5534 GB, free: 12.23 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/1.547, allocations: 69.97 kB / 0.5535 GB, free: 12.17 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004869/1.551, allocations: 215.8 kB / 0.5537 GB, free: 11.96 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001918/1.553, allocations: 274 kB / 0.554 GB, free: 11.69 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009424/1.554, allocations: 95.98 kB / 0.554 GB, free: 11.59 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.008223/1.563, allocations: 2.647 MB / 0.5566 GB, free: 8.941 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.182e-06/1.563, allocations: 0 / 0.5566 GB, free: 8.941 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.008391/1.571, allocations: 1.343 MB / 0.5579 GB, free: 7.602 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.001282/1.572, allocations: 238.2 kB / 0.5582 GB, free: 7.359 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01811/1.591, allocations: 6.426 MB / 0.5644 GB, free: 0.7148 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.591, allocations: 4.938 kB / 0.5644 GB, free: 0.7109 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01336/1.604, allocations: 4.861 MB / 0.5692 GB, free: 11.62 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01071/1.615, allocations: 1.24 MB / 0.5704 GB, free: 10.38 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3398/1.955, allocations: 15.76 MB / 0.5858 GB, free: 138.5 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009378/1.964, allocations: 4.516 MB / 0.5902 GB, free: 137.7 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/1.966, allocations: 305.4 kB / 0.5905 GB, free: 137.7 MB / 426.8 MB Notification: Performance of SimCode: time 1.783e-06/1.966, allocations: 2.078 kB / 0.5905 GB, free: 137.7 MB / 426.8 MB Notification: Performance of Templates: time 1.844/3.81, allocations: 0.5834 GB / 1.174 GB, free: 40.04 MB / 442.8 MB