Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-05,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|aimcM.stator.zeroInductor.i0|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.558e-05/2.594e-05, allocations: 2.188 kB / 228.1 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08333/0.08338, allocations: 38.77 MB / 266.9 MB, free: 476 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.02587/0.1093, allocations: 14.7 MB / 281.6 MB, free: 1.711 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.1221, allocations: 4.641 MB / 286.3 MB, free: 13.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/0.1254, allocations: 135.5 kB / 286.4 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003853/0.1293, allocations: 0.8622 MB / 287.3 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006846/0.1362, allocations: 1.382 MB / 288.6 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.1403, allocations: 0.7446 MB / 289.4 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.009116/0.1494, allocations: 3.218 MB / 292.6 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006499/0.156, allocations: 2.727 MB / 295.3 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.1601, allocations: 1.574 MB / 296.9 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005755/0.1659, allocations: 2.036 MB / 298.9 MB, free: 328 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2786/0.4445, allocations: 382.5 kB / 299.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001751/0.4463, allocations: 206 kB / 299.5 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002697/0.449, allocations: 1.19 MB / 300.7 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002918/0.452, allocations: 484.9 kB / 301.2 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.4654, allocations: 8.477 MB / 309.7 MB, free: 6.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4654, allocations: 3.75 kB / 309.7 MB, free: 6.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4655, allocations: 0 / 309.7 MB, free: 6.777 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0003832/0.4659, allocations: 1.406 kB / 309.7 MB, free: 6.777 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.02083/0.4867, allocations: 5.11 MB / 314.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.4868, allocations: 9.625 kB / 314.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006576/0.4934, allocations: 0.8526 MB / 315.6 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.5038, allocations: 3.192 MB / 318.8 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004628/0.5043, allocations: 371.2 kB / 319.2 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002103/0.5064, allocations: 0.4933 MB / 319.7 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/0.5288, allocations: 6.636 MB / 326.3 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002561/0.5291, allocations: 16.78 kB / 326.3 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001567/0.5307, allocations: 202.9 kB / 326.5 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002752/0.531, allocations: 220 kB / 326.7 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/0.5505, allocations: 5.533 MB / 332.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06548/0.6161, allocations: 20.42 MB / 352.7 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008795/0.6249, allocations: 4.642 MB / 357.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006025/0.6256, allocations: 134.2 kB / 357.5 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.285e-05/0.6257, allocations: 63.94 kB / 357.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=232): time 5.59e-06/0.6257, allocations: 0 / 357.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=273): time 0.05219/0.6779, allocations: 13.6 MB / 371.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/0.678, allocations: 85.56 kB / 371.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007183/0.6852, allocations: 2.5 MB / 373.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006495/0.6859, allocations: 69.7 kB / 373.8 MB, free: 4.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002716/0.6886, allocations: 2.208 MB / 376 MB, free: 1.914 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001652/0.6904, allocations: 0.9263 MB / 376.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.6907, allocations: 60 kB / 377 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003259/0.6911, allocations: 424.3 kB / 377.4 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004479/0.6956, allocations: 1.509 MB / 378.9 MB, free: 15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/0.7007, allocations: 2.211 MB / 381.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005465/0.7062, allocations: 1.868 MB / 383 MB, free: 10.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-05/0.7063, allocations: 4 kB / 383 MB, free: 10.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01534/0.7217, allocations: 5.095 MB / 388.1 MB, free: 5.613 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.7218, allocations: 16 kB / 388.1 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.941e-05/0.7218, allocations: 20 kB / 388.1 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003797/0.7256, allocations: 0.9392 MB / 389 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00525/0.7309, allocations: 0.6583 MB / 389.7 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02273/0.7537, allocations: 13 MB / 402.7 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004157/0.7579, allocations: 159.8 kB / 402.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006933/0.7586, allocations: 112 kB / 403 MB, free: 6.137 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 325 * 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: 5 * 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: 5 {(4,100.0%) 27,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005404/0.764, allocations: 1.622 MB / 404.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/0.7652, allocations: 332 kB / 404.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/0.78, allocations: 4.851 MB / 409.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/0.7801, allocations: 24 kB / 409.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-05/0.7802, allocations: 19.19 kB / 409.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-05/0.7802, allocations: 11.95 kB / 409.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03054/0.8108, allocations: 10.68 MB / 420.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.8109, allocations: 4 kB / 420.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003496/0.8144, allocations: 423.3 kB / 420.9 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004582/0.819, allocations: 1.075 MB / 422 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003135/0.8193, allocations: 71.97 kB / 422.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2712/1.091, allocations: 18.41 MB / 440.5 MB, free: 118.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/1.091, allocations: 4.406 kB / 440.5 MB, free: 118.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02964/1.12, allocations: 7.289 MB / 447.8 MB, free: 117.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004071/1.124, allocations: 0.7309 MB / 448.5 MB, free: 117.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001786/1.126, allocations: 60.66 kB / 448.6 MB, free: 117.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005232/1.132, allocations: 143.5 kB / 448.7 MB, free: 117.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001203/1.133, allocations: 208.2 kB / 448.9 MB, free: 117.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004521/1.133, allocations: 77.69 kB / 449 MB, free: 117.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.007361/1.141, allocations: 1.922 MB / 450.9 MB, free: 116.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.843e-06/1.141, allocations: 0 / 450.9 MB, free: 116.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008354/1.149, allocations: 1.001 MB / 451.9 MB, free: 116.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.strayReluctance.Phi.re,aimcM.stator.strayReluctance.Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 194 * 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: 8 * 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: 8 {(4,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8,(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.001252/1.15, allocations: 213.6 kB / 452.1 MB, free: 116.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01768/1.168, allocations: 4.839 MB / 456.9 MB, free: 113.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.168, allocations: 3.719 kB / 456.9 MB, free: 113.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01211/1.18, allocations: 3.379 MB / 460.3 MB, free: 112 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009472/1.19, allocations: 0.838 MB / 461.2 MB, free: 111.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/1.216, allocations: 11.99 MB / 473.2 MB, free: 102.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005445/1.222, allocations: 3.553 MB / 476.7 MB, free: 100.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004152/1.226, allocations: 0.7328 MB / 477.4 MB, free: 99.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.227, allocations: 205.7 kB / 477.6 MB, free: 99.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/1.227, allocations: 0 / 477.6 MB, free: 99.47 MB / 362.7 MB Notification: Performance of Templates: time 0.1694/1.396, allocations: 49.71 MB / 0.515 GB, free: 50.16 MB / 362.7 MB