Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-05,outputFormat="mat",numberOfIntervals=3000,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.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 1.739/1.739, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.336e-05, allocations: 4 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08327/0.08333, allocations: 38.78 MB / 266.9 MB, free: 476 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start): time 0.03079/0.1142, allocations: 17.82 MB / 284.7 MB, free: 14.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.1305, allocations: 5.705 MB / 290.5 MB, free: 8.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004468/0.135, allocations: 175.4 kB / 290.6 MB, free: 8.691 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005016/0.1401, allocations: 1.119 MB / 291.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008567/0.1487, allocations: 1.733 MB / 293.5 MB, free: 5.828 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.1533, allocations: 0.8867 MB / 294.4 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.01187/0.1652, allocations: 4.322 MB / 298.7 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2368/0.4021, allocations: 3.652 MB / 302.3 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006763/0.4089, allocations: 2.153 MB / 304.5 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007656/0.4166, allocations: 2.761 MB / 307.2 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004611/0.4213, allocations: 463 kB / 307.7 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002947/0.4243, allocations: 282.2 kB / 308 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004282/0.4286, allocations: 1.6 MB / 309.6 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004018/0.4327, allocations: 0.6418 MB / 310.2 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01597/0.4487, allocations: 11.36 MB / 321.6 MB, free: 144 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4488, allocations: 0 / 321.6 MB, free: 144 kB / 250.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4488, allocations: 2.906 kB / 321.6 MB, free: 144 kB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0004857/0.4493, allocations: 0 / 321.6 MB, free: 144 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1699 * Number of variables: 1699 Notification: Performance of Generate backend data structure: time 0.02684/0.4761, allocations: 6.72 MB / 328.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.4762, allocations: 15.97 kB / 328.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007676/0.4839, allocations: 1.061 MB / 329.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/0.5, allocations: 4.664 MB / 334 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007601/0.5008, allocations: 487 kB / 334.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003023/0.5038, allocations: 0.6418 MB / 335.2 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0336/0.5375, allocations: 8.9 MB / 344.1 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002928/0.5378, allocations: 11 kB / 344.1 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002137/0.54, allocations: 270.8 kB / 344.3 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004157/0.5404, allocations: 276.8 kB / 344.6 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02693/0.5674, allocations: 7.486 MB / 352.1 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08392/0.6514, allocations: 27.98 MB / 380.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.6649, allocations: 6.107 MB / 386.2 MB, free: 6.418 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007996/0.6658, allocations: 147.2 kB / 386.3 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.015e-05/0.6659, allocations: 69.08 kB / 386.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=319): time 6.452e-06/0.6659, allocations: 4 kB / 386.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=338): time 0.05932/0.7252, allocations: 16.4 MB / 402.8 MB, free: 5.301 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.7254, allocations: 89.06 kB / 402.9 MB, free: 5.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009828/0.7352, allocations: 3.419 MB / 406.3 MB, free: 1.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007787/0.7361, allocations: 81.7 kB / 406.4 MB, free: 1.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003785/0.7399, allocations: 2.932 MB / 409.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002125/0.7421, allocations: 1.143 MB / 410.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004382/0.7425, allocations: 76 kB / 410.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004092/0.743, allocations: 466.1 kB / 411 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005969/0.7489, allocations: 1.901 MB / 412.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007133/0.7561, allocations: 2.786 MB / 415.7 MB, free: 8.031 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007227/0.7634, allocations: 2.33 MB / 418 MB, free: 5.711 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.555e-05/0.7635, allocations: 8 kB / 418 MB, free: 5.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.02069/0.7842, allocations: 6.441 MB / 424.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.7843, allocations: 19.95 kB / 424.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.255e-05/0.7844, allocations: 28 kB / 424.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005501/0.7899, allocations: 1.26 MB / 425.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006753/0.7967, allocations: 0.8344 MB / 426.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.287/1.084, allocations: 21.2 MB / 447.8 MB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007265/1.091, allocations: 200.8 kB / 448 MB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/1.092, allocations: 147.6 kB / 448.1 MB, free: 108.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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 (425): * Single equations (assignments): 411 * 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%) 8,(2,100.0%) 14,(1,100.0%) 1,(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.008094/1.1, allocations: 2.125 MB / 450.2 MB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.102, allocations: 452 kB / 450.7 MB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01789/1.12, allocations: 6.17 MB / 456.9 MB, free: 104.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.572e-05/1.12, allocations: 36.62 kB / 456.9 MB, free: 104.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.96e-05/1.12, allocations: 16.19 kB / 456.9 MB, free: 104.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.444e-05/1.12, allocations: 15.56 kB / 456.9 MB, free: 104.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03517/1.155, allocations: 12.9 MB / 469.8 MB, free: 99.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-05/1.155, allocations: 3.844 kB / 469.8 MB, free: 99.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004127/1.159, allocations: 488 kB / 470.3 MB, free: 99.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006636/1.166, allocations: 1.626 MB / 471.9 MB, free: 98.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006214/1.167, allocations: 77.47 kB / 472 MB, free: 98.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04339/1.21, allocations: 30.78 MB / 0.491 GB, free: 69.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.21, allocations: 4 kB / 0.491 GB, free: 69.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02933/1.24, allocations: 9.291 MB / 0.5001 GB, free: 60.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004259/1.244, allocations: 0.9233 MB / 0.501 GB, free: 59.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001928/1.246, allocations: 75.94 kB / 0.5011 GB, free: 59.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005577/1.251, allocations: 203.8 kB / 0.5013 GB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/1.253, allocations: 274 kB / 0.5015 GB, free: 59.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004628/1.253, allocations: 91.98 kB / 0.5016 GB, free: 59.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.008016/1.261, allocations: 2.634 MB / 0.5042 GB, free: 56.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.261, allocations: 2.078 kB / 0.5042 GB, free: 56.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008552/1.27, allocations: 1.311 MB / 0.5055 GB, free: 55.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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 (245): * Single equations (assignments): 228 * 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,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/1.271, allocations: 241.5 kB / 0.5057 GB, free: 54.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01418/1.285, allocations: 6.392 MB / 0.5119 GB, free: 48.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/1.285, allocations: 4 kB / 0.5119 GB, free: 48.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01065/1.296, allocations: 4.891 MB / 0.5167 GB, free: 43.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009534/1.305, allocations: 1.222 MB / 0.5179 GB, free: 41.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0336/1.339, allocations: 15.45 MB / 0.533 GB, free: 26.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008954/1.348, allocations: 4.51 MB / 0.5374 GB, free: 21.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005651/1.354, allocations: 0.9989 MB / 0.5384 GB, free: 20.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/1.355, allocations: 267.4 kB / 0.5386 GB, free: 20.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/1.355, allocations: 0 / 0.5386 GB, free: 20.57 MB / 362.7 MB Notification: Performance of Templates: time 0.4715/1.827, allocations: 68.8 MB / 0.6058 GB, free: 103.8 MB / 378.7 MB