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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.867/1.867, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.599e-05, allocations: 4 kB / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2919, allocations: 44.51 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.02478/0.3167, allocations: 15.33 MB / 318.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01314/0.3299, allocations: 4.949 MB / 323.6 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003422/0.3334, allocations: 139.5 kB / 323.7 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.3373, allocations: 0.9089 MB / 324.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006777/0.3441, allocations: 1.479 MB / 326.1 MB, free: 6.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.3477, allocations: 0.768 MB / 326.9 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008686/0.3564, allocations: 3.292 MB / 330.2 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005441/0.3619, allocations: 2.702 MB / 332.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.3654, allocations: 1.597 MB / 334.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0047/0.3701, allocations: 2.13 MB / 336.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.3726, allocations: 415.6 kB / 337 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.3738, allocations: 208 kB / 337.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.3757, allocations: 1.195 MB / 338.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.3777, allocations: 492 kB / 338.9 MB, free: 9.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.3906, allocations: 8.578 MB / 347.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3907, allocations: 0 / 347.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.3907, allocations: 0 / 347.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000293/0.391, allocations: 0 / 347.5 MB, free: 1.305 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.01953/0.4105, allocations: 5.21 MB / 352.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4106, allocations: 12.03 kB / 352.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008408/0.419, allocations: 1.07 MB / 353.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009949/0.429, allocations: 3.339 MB / 357.1 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005149/0.4296, allocations: 390.2 kB / 357.5 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001801/0.4314, allocations: 0.5076 MB / 358 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02171/0.4531, allocations: 6.875 MB / 364.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002321/0.4534, allocations: 15.91 kB / 364.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/0.4546, allocations: 204 kB / 365.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003575/0.455, allocations: 246.1 kB / 365.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/0.4741, allocations: 5.896 MB / 371.2 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05878/0.5329, allocations: 21.4 MB / 392.6 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01478/0.5477, allocations: 8.674 MB / 401.3 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/0.5621, allocations: 5.087 MB / 406.4 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.553e-05/0.5622, allocations: 60.5 kB / 406.5 MB, free: 4.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=225): time 5.32e-06/0.5623, allocations: 0 / 406.5 MB, free: 4.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=244): time 0.04046/0.6027, allocations: 11.49 MB / 417.9 MB, free: 8.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.6028, allocations: 81.34 kB / 418 MB, free: 8.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006433/0.6093, allocations: 2.58 MB / 420.6 MB, free: 6.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004949/0.6098, allocations: 65.7 kB / 420.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002577/0.6124, allocations: 2.304 MB / 423 MB, free: 3.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.6138, allocations: 0.8239 MB / 423.8 MB, free: 2.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.6141, allocations: 60 kB / 423.9 MB, free: 2.844 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002792/0.6144, allocations: 420 kB / 424.3 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003747/0.6181, allocations: 1.372 MB / 425.6 MB, free: 1.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3105/0.9286, allocations: 2.125 MB / 427.8 MB, free: 99.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005062/0.9337, allocations: 1.718 MB / 429.5 MB, free: 99.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.669e-05/0.9338, allocations: 10.12 kB / 429.5 MB, free: 99.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.01242/0.9463, allocations: 4.695 MB / 434.2 MB, free: 97.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.9464, allocations: 15.5 kB / 434.2 MB, free: 97.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-05/0.9464, allocations: 21.92 kB / 434.2 MB, free: 97.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/0.9493, allocations: 0.7552 MB / 435 MB, free: 97.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004796/0.9541, allocations: 0.6393 MB / 435.6 MB, free: 96.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/0.9696, allocations: 13.54 MB / 449.2 MB, free: 85.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/0.9733, allocations: 151 kB / 449.3 MB, free: 85.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/0.9736, allocations: 120.6 kB / 449.4 MB, free: 85.64 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.003578/0.9772, allocations: 1.598 MB / 451 MB, free: 84.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007796/0.978, allocations: 322 kB / 451.3 MB, free: 84.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.9882, allocations: 4.263 MB / 455.6 MB, free: 82.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.9882, allocations: 34.08 kB / 455.6 MB, free: 82.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.9883, allocations: 8 kB / 455.6 MB, free: 82.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/0.9883, allocations: 13.59 kB / 455.7 MB, free: 82.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/1.008, allocations: 9.186 MB / 464.8 MB, free: 73.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.008, allocations: 4 kB / 464.8 MB, free: 73.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003072/1.011, allocations: 395.9 kB / 465.2 MB, free: 72.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003655/1.015, allocations: 0.9132 MB / 466.1 MB, free: 71.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/1.015, allocations: 63.97 kB / 466.2 MB, free: 71.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/1.036, allocations: 16.72 MB / 482.9 MB, free: 54.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/1.036, allocations: 11.94 kB / 482.9 MB, free: 54.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/1.053, allocations: 6.5 MB / 489.4 MB, free: 47.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/1.055, allocations: 0.6962 MB / 490.1 MB, free: 46.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008747/1.056, allocations: 63.92 kB / 490.2 MB, free: 46.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002722/1.059, allocations: 147.9 kB / 490.3 MB, free: 46.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005722/1.059, allocations: 197.6 kB / 490.5 MB, free: 46.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/1.06, allocations: 75.97 kB / 490.6 MB, free: 46.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003846/1.063, allocations: 1.967 MB / 492.6 MB, free: 44.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.663e-06/1.064, allocations: 0 / 492.6 MB, free: 44.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004251/1.068, allocations: 0.9798 MB / 493.6 MB, free: 43.43 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.0006065/1.068, allocations: 212.7 kB / 493.8 MB, free: 43.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009412/1.078, allocations: 4.627 MB / 498.4 MB, free: 38.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.078, allocations: 0 / 498.4 MB, free: 38.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006457/1.084, allocations: 3.089 MB / 0.4897 GB, free: 35.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005465/1.09, allocations: 0.8327 MB / 0.4905 GB, free: 34.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/1.112, allocations: 11.88 MB / 0.5021 GB, free: 22.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004025/1.116, allocations: 3.517 MB / 0.5056 GB, free: 18.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004038/1.12, allocations: 0.7737 MB / 0.5063 GB, free: 18.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009372/1.121, allocations: 211.4 kB / 0.5065 GB, free: 17.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/1.121, allocations: 0 / 0.5065 GB, free: 17.93 MB / 362.7 MB Notification: Performance of Templates: time 0.1297/1.251, allocations: 46.91 MB / 0.5523 GB, free: 2.992 MB / 394.7 MB