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_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadModel(Modelica): time 1.791/1.791, allocations: 171.1 MB / 186.3 MB, free: 1.336 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.29e-05, allocations: 4 kB / 228.1 MB, free: 7.977 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08715, allocations: 38.78 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL): time 0.02576/0.113, allocations: 14.68 MB / 281.6 MB, free: 2.379 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.1267, allocations: 4.66 MB / 286.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003753/0.1306, allocations: 135.6 kB / 286.4 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004161/0.1348, allocations: 0.8622 MB / 287.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007137/0.142, allocations: 1.378 MB / 288.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.1459, allocations: 0.7406 MB / 289.4 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.009369/0.1553, allocations: 3.21 MB / 292.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006493/0.1619, allocations: 2.739 MB / 295.3 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004059/0.166, allocations: 1.574 MB / 296.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005018/0.1711, allocations: 2.036 MB / 298.9 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/0.174, allocations: 383.7 kB / 299.3 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00187/0.176, allocations: 208 kB / 299.5 MB, free: 404 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2438/0.4198, allocations: 1.191 MB / 300.7 MB, free: 8.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004091/0.424, allocations: 487.1 kB / 301.2 MB, free: 8.859 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02081/0.4449, allocations: 8.466 MB / 309.6 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.445, allocations: 0 / 309.6 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.47e-06/0.445, allocations: 0 / 309.6 MB, free: 6.504 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0004409/0.4455, allocations: 4.344 kB / 309.6 MB, free: 6.504 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.03252/0.478, allocations: 5.11 MB / 314.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/0.4781, allocations: 13.91 kB / 314.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.4889, allocations: 0.8496 MB / 315.6 MB, free: 3.363 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/0.5054, allocations: 3.194 MB / 318.8 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007297/0.5062, allocations: 378.9 kB / 319.2 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002744/0.509, allocations: 0.4906 MB / 319.7 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02521/0.5342, allocations: 6.632 MB / 326.3 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000334/0.5346, allocations: 10.72 kB / 326.3 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002027/0.5367, allocations: 206.9 kB / 326.5 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003259/0.5371, allocations: 221 kB / 326.7 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/0.5567, allocations: 5.524 MB / 332.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06406/0.6208, allocations: 20.43 MB / 352.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009164/0.63, allocations: 4.642 MB / 357.3 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006276/0.6307, allocations: 139 kB / 357.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/0.6308, allocations: 60.56 kB / 357.5 MB, free: 4.902 MB / 282.7 MB Notification: Performance of pre-optimization done (n=232): time 5.871e-06/0.6308, allocations: 0 / 357.5 MB, free: 4.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=273): time 0.05518/0.686, allocations: 13.6 MB / 371.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.6861, allocations: 77.56 kB / 371.2 MB, free: 6.988 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007522/0.6937, allocations: 2.5 MB / 373.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006794/0.6944, allocations: 73.7 kB / 373.8 MB, free: 4.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002425/0.6968, allocations: 2.056 MB / 375.8 MB, free: 2.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001955/0.6988, allocations: 0.9214 MB / 376.7 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004672/0.6994, allocations: 64 kB / 376.8 MB, free: 1.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004191/0.6998, allocations: 433.2 kB / 377.2 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006284/0.7061, allocations: 1.508 MB / 378.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007917/0.7141, allocations: 2.206 MB / 380.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02818/0.7423, allocations: 1.865 MB / 382.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.511e-05/0.7424, allocations: 8 kB / 382.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=389) (initialization): time 0.04892/0.7914, allocations: 4.887 MB / 387.7 MB, free: 6.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.7915, allocations: 16 kB / 387.7 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.64e-05/0.7916, allocations: 20.62 kB / 387.7 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00565/0.7972, allocations: 0.9382 MB / 388.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007255/0.8046, allocations: 0.6617 MB / 389.3 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03345/0.8381, allocations: 13 MB / 402.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006361/0.8445, allocations: 151.8 kB / 402.5 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/0.8457, allocations: 120 kB / 402.6 MB, free: 6.754 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.007924/0.8537, allocations: 1.615 MB / 404.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/0.8554, allocations: 339.9 kB / 404.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0239/0.8793, allocations: 4.859 MB / 409.4 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-05/0.8794, allocations: 24 kB / 409.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.482e-05/0.8795, allocations: 12 kB / 409.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.684e-05/0.8796, allocations: 16.14 kB / 409.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04826/0.9279, allocations: 10.68 MB / 420.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.653e-05/0.928, allocations: 4 kB / 420.1 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003887/0.9319, allocations: 423.8 kB / 420.5 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005515/0.9375, allocations: 1.072 MB / 421.6 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006167/0.9382, allocations: 67.97 kB / 421.7 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03218/0.9704, allocations: 18.43 MB / 440.1 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.9704, allocations: 4 kB / 440.1 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2662/1.237, allocations: 7.274 MB / 447.4 MB, free: 119 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002977/1.24, allocations: 0.7266 MB / 448.1 MB, free: 118.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/1.241, allocations: 61.59 kB / 448.2 MB, free: 118.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004063/1.245, allocations: 144.5 kB / 448.3 MB, free: 118.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/1.247, allocations: 213.2 kB / 448.5 MB, free: 118.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005562/1.247, allocations: 76.52 kB / 448.6 MB, free: 118.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0056/1.253, allocations: 1.922 MB / 450.5 MB, free: 117.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.253, allocations: 0 / 450.5 MB, free: 117.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005745/1.259, allocations: 0.9945 MB / 451.5 MB, free: 117.7 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.0009347/1.26, allocations: 219.1 kB / 451.7 MB, free: 117.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01131/1.271, allocations: 4.837 MB / 456.6 MB, free: 115.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/1.271, allocations: 0 / 456.6 MB, free: 115.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008112/1.279, allocations: 3.392 MB / 460 MB, free: 113.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006559/1.286, allocations: 0.829 MB / 460.8 MB, free: 113.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02676/1.313, allocations: 11.99 MB / 472.8 MB, free: 104.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005652/1.318, allocations: 3.495 MB / 476.3 MB, free: 101.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/1.32, allocations: 223 kB / 476.5 MB, free: 101.3 MB / 362.7 MB Notification: Performance of SimCode: time 2.475e-06/1.32, allocations: 0 / 476.5 MB, free: 101.3 MB / 362.7 MB Notification: Performance of Templates: time 0.9055/2.225, allocations: 266.5 MB / 0.7255 GB, free: 114.9 MB / 378.7 MB