Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.832e-05, allocations: 4 kB / 258.8 MB, free: 8.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3064, allocations: 44.5 MB / 303.3 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD): time 0.01863/0.3251, allocations: 10.82 MB / 314.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.3358, allocations: 3.869 MB / 318 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.3385, allocations: 95.69 kB / 318.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.3419, allocations: 0.6992 MB / 318.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005242/0.3471, allocations: 1.086 MB / 319.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.3501, allocations: 0.6001 MB / 320.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00686/0.357, allocations: 2.48 MB / 323 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004051/0.3611, allocations: 1.887 MB / 324.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.364, allocations: 1.18 MB / 326 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003596/0.3677, allocations: 1.487 MB / 327.5 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.3698, allocations: 303.8 kB / 327.8 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009613/0.3708, allocations: 148 kB / 327.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.3721, allocations: 0.759 MB / 328.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.3735, allocations: 344 kB / 329 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.3837, allocations: 6.291 MB / 335.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3838, allocations: 0 / 335.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.3838, allocations: 4 kB / 335.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000269/0.3841, allocations: 0 / 335.3 MB, free: 13.53 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01588/0.4, allocations: 3.964 MB / 339.3 MB, free: 9.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4001, allocations: 8.031 kB / 339.3 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007574/0.4076, allocations: 0.8732 MB / 340.2 MB, free: 8.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007767/0.4155, allocations: 2.53 MB / 342.7 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004809/0.416, allocations: 279.2 kB / 343 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.4175, allocations: 355.9 kB / 343.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/0.4341, allocations: 4.993 MB / 348.3 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.4343, allocations: 7.906 kB / 348.3 MB, free: 360 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006678/0.435, allocations: 144 kB / 348.5 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002535/0.4353, allocations: 159.2 kB / 348.6 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/0.4505, allocations: 4.369 MB / 353 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04437/0.4949, allocations: 15.96 MB / 369 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/0.5079, allocations: 7.736 MB / 376.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/0.5199, allocations: 4 MB / 380.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/0.52, allocations: 51.88 kB / 380.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=165): time 5.34e-06/0.5201, allocations: 4 kB / 380.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=168): time 0.0325/0.5526, allocations: 8.197 MB / 388.9 MB, free: 6.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.5527, allocations: 69.41 kB / 389 MB, free: 6.055 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006965/0.5597, allocations: 1.863 MB / 390.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004896/0.5603, allocations: 57.7 kB / 390.9 MB, free: 4.098 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002365/0.5626, allocations: 1.513 MB / 392.4 MB, free: 2.566 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.564, allocations: 0.5583 MB / 393 MB, free: 2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.5642, allocations: 40 kB / 393 MB, free: 1.961 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003379/0.5646, allocations: 394.7 kB / 393.4 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004/0.5686, allocations: 0.9565 MB / 394.4 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/0.5737, allocations: 1.455 MB / 395.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0049/0.5787, allocations: 1.189 MB / 397 MB, free: 13.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.153e-05/0.5788, allocations: 15.92 kB / 397 MB, free: 13.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01375/0.5925, allocations: 3.228 MB / 400.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.5926, allocations: 8.469 kB / 400.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.575e-05/0.5927, allocations: 20 kB / 400.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004452/0.5972, allocations: 0.7354 MB / 401 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004004/0.6012, allocations: 387.4 kB / 401.4 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02766/0.629, allocations: 10.62 MB / 412 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/0.6319, allocations: 92.05 kB / 412.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004614/0.6324, allocations: 83.98 kB / 412.2 MB, free: 13.99 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 192 * 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%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003726/0.6362, allocations: 1.209 MB / 413.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007418/0.6369, allocations: 225.2 kB / 413.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009627/0.6466, allocations: 3.219 MB / 416.9 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.8e-05/0.6467, allocations: 23.92 kB / 416.9 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/0.6467, allocations: 16 kB / 416.9 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-05/0.6468, allocations: 12.3 kB / 416.9 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02014/0.6669, allocations: 6.635 MB / 423.5 MB, free: 2.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/0.667, allocations: 4.188 kB / 423.5 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001936/0.669, allocations: 179.8 kB / 423.7 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004084/0.6731, allocations: 0.9067 MB / 424.6 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003187/0.6734, allocations: 39.98 kB / 424.7 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3513/1.025, allocations: 15.05 MB / 439.7 MB, free: 94.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.025, allocations: 3.953 kB / 439.7 MB, free: 94.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.036, allocations: 4.705 MB / 444.4 MB, free: 92.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.038, allocations: 0.5206 MB / 444.9 MB, free: 92.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005868/1.039, allocations: 39.56 kB / 445 MB, free: 92.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/1.041, allocations: 83.55 kB / 445.1 MB, free: 92.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007609/1.042, allocations: 166.2 kB / 445.2 MB, free: 92.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002305/1.042, allocations: 41.14 kB / 445.3 MB, free: 92.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004051/1.046, allocations: 1.438 MB / 446.7 MB, free: 91.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.046, allocations: 3.938 kB / 446.7 MB, free: 91.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00512/1.051, allocations: 0.6998 MB / 447.4 MB, free: 91.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (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) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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%) 8,(9,33.3%) 19,(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.0007238/1.052, allocations: 165.6 kB / 447.6 MB, free: 91.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01455/1.066, allocations: 3.182 MB / 450.8 MB, free: 89.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.066, allocations: 0 / 450.8 MB, free: 89.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01963/1.086, allocations: 2.28 MB / 453 MB, free: 87.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01455/1.101, allocations: 0.5793 MB / 453.6 MB, free: 86.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02746/1.128, allocations: 8.163 MB / 461.8 MB, free: 78.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005009/1.133, allocations: 2.691 MB / 464.5 MB, free: 75.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/1.135, allocations: 147.4 kB / 464.6 MB, free: 75.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.913e-06/1.135, allocations: 4 kB / 464.6 MB, free: 75.46 MB / 362.7 MB Notification: Performance of Templates: time 0.5054/1.64, allocations: 141.6 MB / 0.592 GB, free: 131.9 MB / 410.7 MB