Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.901e-05, allocations: 7.938 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3045, allocations: 44.5 MB / 303.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.02623/0.3308, allocations: 15.32 MB / 318.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.3447, allocations: 4.949 MB / 323.6 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/0.3482, allocations: 139.5 kB / 323.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00428/0.3525, allocations: 0.9128 MB / 324.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007431/0.36, allocations: 1.476 MB / 326.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004024/0.3641, allocations: 0.7719 MB / 326.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009576/0.3737, allocations: 3.303 MB / 330.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006471/0.3802, allocations: 2.686 MB / 332.9 MB, free: 40 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003918/0.3842, allocations: 1.609 MB / 334.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005017/0.3893, allocations: 2.126 MB / 336.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.3921, allocations: 411.7 kB / 337 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.3938, allocations: 208 kB / 337.2 MB, free: 11.69 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002535/0.3964, allocations: 1.199 MB / 338.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002367/0.3988, allocations: 488 kB / 338.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.413, allocations: 8.582 MB / 347.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4131, allocations: 0 / 347.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.4131, allocations: 0 / 347.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003302/0.4134, allocations: 0 / 347.5 MB, free: 1.402 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.02062/0.4341, allocations: 5.207 MB / 352.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.4341, allocations: 8.031 kB / 352.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00894/0.4431, allocations: 1.078 MB / 353.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.4544, allocations: 3.339 MB / 357.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006562/0.4551, allocations: 390.3 kB / 357.5 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.4571, allocations: 0.5076 MB / 358 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02418/0.4813, allocations: 6.875 MB / 364.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002836/0.4817, allocations: 19.78 kB / 364.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001569/0.4832, allocations: 204 kB / 365.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003869/0.4837, allocations: 246.2 kB / 365.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.5041, allocations: 5.888 MB / 371.2 MB, free: 9.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06094/0.5651, allocations: 21.4 MB / 392.6 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01471/0.5799, allocations: 8.682 MB / 401.3 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01632/0.5962, allocations: 5.083 MB / 406.4 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.978e-05/0.5964, allocations: 60.56 kB / 406.4 MB, free: 4.641 MB / 346.7 MB Notification: Performance of pre-optimization done (n=225): time 5.59e-06/0.5964, allocations: 0 / 406.4 MB, free: 4.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=244): time 0.04506/0.6414, allocations: 11.5 MB / 417.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.6416, allocations: 81.39 kB / 418 MB, free: 8.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007407/0.649, allocations: 2.576 MB / 420.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005661/0.6496, allocations: 65.7 kB / 420.6 MB, free: 6.168 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002537/0.6522, allocations: 2.135 MB / 422.8 MB, free: 4.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001476/0.6537, allocations: 0.8395 MB / 423.6 MB, free: 3.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.6541, allocations: 56 kB / 423.7 MB, free: 3.102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003269/0.6544, allocations: 428.8 kB / 424.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004446/0.6589, allocations: 1.368 MB / 425.5 MB, free: 1.301 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2757/0.9347, allocations: 2.125 MB / 427.6 MB, free: 99.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005809/0.9406, allocations: 1.722 MB / 429.3 MB, free: 99.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.415e-05/0.9407, allocations: 6.594 kB / 429.3 MB, free: 99.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.01324/0.9539, allocations: 4.493 MB / 433.8 MB, free: 97.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.954, allocations: 15.81 kB / 433.8 MB, free: 97.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.697e-05/0.9541, allocations: 22.05 kB / 433.8 MB, free: 97.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/0.9571, allocations: 0.75 MB / 434.6 MB, free: 96.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004816/0.962, allocations: 0.6463 MB / 435.2 MB, free: 96.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.9783, allocations: 13.54 MB / 448.8 MB, free: 85.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003844/0.9822, allocations: 154.3 kB / 448.9 MB, free: 85.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005428/0.9828, allocations: 122.7 kB / 449.1 MB, free: 85.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (328): * Single equations (assignments): 318 * 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: 7 * 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: 7 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004094/0.9869, allocations: 1.596 MB / 450.6 MB, free: 84.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009865/0.9879, allocations: 328.4 kB / 451 MB, free: 84.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.9992, allocations: 4.266 MB / 455.2 MB, free: 82.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/0.9993, allocations: 28.2 kB / 455.3 MB, free: 82.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.732e-05/0.9993, allocations: 8.188 kB / 455.3 MB, free: 82.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-05/0.9994, allocations: 14.06 kB / 455.3 MB, free: 82.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02405/1.023, allocations: 9.181 MB / 464.5 MB, free: 73.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.179e-05/1.024, allocations: 8 kB / 464.5 MB, free: 73.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/1.027, allocations: 395.7 kB / 464.9 MB, free: 73.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003978/1.031, allocations: 0.9076 MB / 465.8 MB, free: 72.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005529/1.031, allocations: 67.91 kB / 465.8 MB, free: 72.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0215/1.053, allocations: 16.72 MB / 482.6 MB, free: 54.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.053, allocations: 11.94 kB / 482.6 MB, free: 54.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/1.068, allocations: 6.499 MB / 489.1 MB, free: 48.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/1.071, allocations: 0.7081 MB / 489.8 MB, free: 47.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.072, allocations: 55.98 kB / 489.8 MB, free: 47.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003468/1.076, allocations: 147.9 kB / 490 MB, free: 47.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008743/1.077, allocations: 197.6 kB / 490.2 MB, free: 46.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002751/1.077, allocations: 71.92 kB / 490.2 MB, free: 46.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004637/1.082, allocations: 1.971 MB / 492.2 MB, free: 44.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.216e-06/1.082, allocations: 0 / 492.2 MB, free: 44.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005462/1.087, allocations: 0.9796 MB / 493.2 MB, free: 43.97 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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (185): * Single equations (assignments): 176 * 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 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009397/1.088, allocations: 208.9 kB / 493.4 MB, free: 43.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01112/1.099, allocations: 4.628 MB / 498 MB, free: 38.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.099, allocations: 4 kB / 498 MB, free: 38.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007664/1.107, allocations: 3.083 MB / 0.4894 GB, free: 35.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006418/1.113, allocations: 0.8343 MB / 0.4902 GB, free: 34.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/1.139, allocations: 11.86 MB / 0.5018 GB, free: 23.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005589/1.145, allocations: 3.442 MB / 0.5051 GB, free: 19.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.147, allocations: 235.3 kB / 0.5053 GB, free: 19.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.653e-06/1.147, allocations: 0 / 0.5053 GB, free: 19.32 MB / 362.7 MB Notification: Performance of Templates: time 0.9863/2.133, allocations: 292 MB / 0.7905 GB, free: 95.06 MB / 426.7 MB