Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.159e-05, allocations: 7.984 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3082, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01878/0.327, allocations: 10.76 MB / 314.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.338, allocations: 3.819 MB / 317.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/0.3407, allocations: 91.75 kB / 318 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.3441, allocations: 0.6681 MB / 318.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00528/0.3495, allocations: 1.047 MB / 319.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.3525, allocations: 0.5924 MB / 320.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006747/0.3593, allocations: 2.231 MB / 322.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00382/0.3632, allocations: 1.624 MB / 324.1 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/0.3659, allocations: 1.025 MB / 325.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00332/0.3693, allocations: 1.277 MB / 326.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.3714, allocations: 275.8 kB / 326.7 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.3726, allocations: 124 kB / 326.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.3738, allocations: 0.6265 MB / 327.5 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.3753, allocations: 300 kB / 327.7 MB, free: 5.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008897/0.3842, allocations: 5.438 MB / 333.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3843, allocations: 0 / 333.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3843, allocations: 4 kB / 333.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000198/0.3845, allocations: 0 / 333.2 MB, free: 15.73 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01415/0.3987, allocations: 3.462 MB / 336.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.3987, allocations: 8.031 kB / 336.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007277/0.406, allocations: 0.8154 MB / 337.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007088/0.4132, allocations: 2.182 MB / 339.7 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004075/0.4136, allocations: 246.4 kB / 339.9 MB, free: 8.898 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/0.4151, allocations: 323.9 kB / 340.2 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.4305, allocations: 4.22 MB / 344.4 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001607/0.4308, allocations: 7.844 kB / 344.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009726/0.4318, allocations: 132 kB / 344.6 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002467/0.432, allocations: 146.4 kB / 344.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.4451, allocations: 3.57 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03954/0.4846, allocations: 13.9 MB / 362.2 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.4963, allocations: 6.512 MB / 368.7 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009653/0.506, allocations: 3.188 MB / 371.9 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.8e-05/0.5061, allocations: 51.88 kB / 371.9 MB, free: 7.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=138): time 5.06e-06/0.5061, allocations: 0 / 371.9 MB, free: 7.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=141): time 0.02279/0.5289, allocations: 5.957 MB / 377.9 MB, free: 1.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.529, allocations: 68.72 kB / 378 MB, free: 1.227 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004723/0.5338, allocations: 1.533 MB / 379.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.5342, allocations: 49.7 kB / 379.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.5358, allocations: 1.36 MB / 380.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008488/0.5367, allocations: 496.9 kB / 381.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.5369, allocations: 32 kB / 381.4 MB, free: 13.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000244/0.5371, allocations: 382.8 kB / 381.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/0.5394, allocations: 0.6871 MB / 382.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/0.5423, allocations: 1.18 MB / 383.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/0.5452, allocations: 0.9121 MB / 384.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-05/0.5453, allocations: 4 kB / 384.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.007866/0.5532, allocations: 2.431 MB / 387 MB, free: 7.891 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.5533, allocations: 12 kB / 387 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-05/0.5534, allocations: 16 kB / 387 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.5551, allocations: 368.3 kB / 387.4 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/0.5582, allocations: 387.4 kB / 387.8 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.5709, allocations: 7.787 MB / 395.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/0.5733, allocations: 79.86 kB / 395.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004246/0.5738, allocations: 72 kB / 395.7 MB, free: 14.63 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 189 * 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: 4 * 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: 4 {(1,100.0%) 7,(1,100.0%) 1,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003191/0.577, allocations: 1.001 MB / 396.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007456/0.5778, allocations: 189.7 kB / 396.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007912/0.5857, allocations: 2.329 MB / 399.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/0.5858, allocations: 16 kB / 399.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/0.5858, allocations: 8 kB / 399.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.479e-05/0.5859, allocations: 11.91 kB / 399.3 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.6005, allocations: 5.13 MB / 404.4 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.6005, allocations: 0 / 404.4 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/0.6025, allocations: 187.9 kB / 404.6 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/0.6052, allocations: 0.5282 MB / 405.1 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002785/0.6055, allocations: 39.92 kB / 405.1 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02046/0.626, allocations: 12.2 MB / 417.3 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.626, allocations: 0 / 417.3 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009453/0.6355, allocations: 3.366 MB / 420.7 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/0.637, allocations: 426.6 kB / 421.1 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000581/0.6376, allocations: 35.94 kB / 421.2 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/0.6394, allocations: 75.94 kB / 421.2 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/0.6399, allocations: 113.1 kB / 421.3 MB, free: 3.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.6401, allocations: 40 kB / 421.4 MB, free: 3.773 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003153/0.6432, allocations: 1.172 MB / 422.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.222e-06/0.6433, allocations: 0 / 422.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003617/0.6469, allocations: 0.5781 MB / 423.1 MB, free: 2.031 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 7,(2,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.0006097/0.6476, allocations: 159.1 kB / 423.3 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2677/0.9153, allocations: 2.368 MB / 425.6 MB, free: 104.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.9153, allocations: 1.375 kB / 425.6 MB, free: 104.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005222/0.9206, allocations: 1.767 MB / 427.4 MB, free: 103.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/0.9248, allocations: 0.506 MB / 427.9 MB, free: 103.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/0.9449, allocations: 7.065 MB / 435 MB, free: 100.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004285/0.9493, allocations: 2.305 MB / 437.3 MB, free: 99.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.9506, allocations: 141.1 kB / 437.4 MB, free: 99.01 MB / 362.7 MB Notification: Performance of SimCode: time 3.046e-06/0.9506, allocations: 0 / 437.4 MB, free: 99.01 MB / 362.7 MB Notification: Performance of Templates: time 0.179/1.13, allocations: 119.9 MB / 0.5443 GB, free: 14.16 MB / 394.7 MB