Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.133/2.133, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.747e-05, allocations: 0 / 292.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 50.41 MB / 342.7 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.5792, allocations: 111.8 MB / 454.5 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/0.5796, allocations: 94.08 kB / 454.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6449/1.225, allocations: 92.74 MB / 0.5345 GB, free: 91.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.225, allocations: 4.094 kB / 0.5345 GB, free: 91.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004529/1.225, allocations: 97.11 kB / 0.5346 GB, free: 91.71 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.01743/1.243, allocations: 3.952 MB / 0.5385 GB, free: 90.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.243, allocations: 12.94 kB / 0.5385 GB, free: 90.36 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00217/1.245, allocations: 0.5318 MB / 0.539 GB, free: 90.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007004/1.252, allocations: 0.8289 MB / 0.5398 GB, free: 90.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/1.266, allocations: 3.822 MB / 0.5435 GB, free: 89.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004713/1.267, allocations: 296.5 kB / 0.5438 GB, free: 89.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/1.268, allocations: 388.1 kB / 0.5442 GB, free: 89.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/1.285, allocations: 5.141 MB / 0.5492 GB, free: 89.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/1.285, allocations: 0 / 0.5492 GB, free: 89.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008662/1.286, allocations: 170.8 kB / 0.5494 GB, free: 89.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/1.286, allocations: 164.2 kB / 0.5495 GB, free: 89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/1.299, allocations: 4.295 MB / 0.5537 GB, free: 88.99 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0413/1.34, allocations: 16.96 MB / 0.5703 GB, free: 84.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/1.352, allocations: 8.663 MB / 0.5787 GB, free: 76.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00426/1.356, allocations: 1.807 MB / 0.5805 GB, free: 76.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/1.368, allocations: 4.853 MB / 0.5852 GB, free: 73.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002426/1.371, allocations: 1.242 MB / 0.5865 GB, free: 73.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 5.14e-06/1.371, allocations: 0 / 0.5865 GB, free: 73.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=186): time 0.01399/1.385, allocations: 5.843 MB / 0.5922 GB, free: 70.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/1.385, allocations: 232.5 kB / 0.5924 GB, free: 69.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/1.389, allocations: 2.027 MB / 0.5944 GB, free: 69.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003873/1.39, allocations: 60.73 kB / 0.5944 GB, free: 69.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001662/1.391, allocations: 1.718 MB / 0.5961 GB, free: 67.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000699/1.392, allocations: 0.6105 MB / 0.5967 GB, free: 67.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/1.392, allocations: 39.44 kB / 0.5967 GB, free: 67.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/1.392, allocations: 386.6 kB / 0.5971 GB, free: 66.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/1.395, allocations: 0.9481 MB / 0.598 GB, free: 66.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/1.397, allocations: 1.478 MB / 0.5995 GB, free: 65.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/1.399, allocations: 1.158 MB / 0.6006 GB, free: 65.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/1.399, allocations: 3.969 kB / 0.6006 GB, free: 65.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007683/1.407, allocations: 3.313 MB / 0.6038 GB, free: 63.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/1.407, allocations: 10.88 kB / 0.6039 GB, free: 63.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/1.407, allocations: 16.34 kB / 0.6039 GB, free: 63.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/1.41, allocations: 0.7589 MB / 0.6046 GB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/1.413, allocations: 376 kB / 0.605 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01493/1.428, allocations: 10.82 MB / 0.6155 GB, free: 55.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/1.431, allocations: 136.7 kB / 0.6157 GB, free: 55.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/1.431, allocations: 83.34 kB / 0.6158 GB, free: 55.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 203 * 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%) 25,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005144/1.432, allocations: 240.7 kB / 0.616 GB, free: 55.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004319/1.432, allocations: 245 kB / 0.6162 GB, free: 55.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007846/1.44, allocations: 3.251 MB / 0.6194 GB, free: 53.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/1.44, allocations: 18.38 kB / 0.6194 GB, free: 53.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/1.44, allocations: 15.17 kB / 0.6194 GB, free: 53.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/1.44, allocations: 11.59 kB / 0.6194 GB, free: 53.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.456, allocations: 6.859 MB / 0.6261 GB, free: 49.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.456, allocations: 6.438 kB / 0.6261 GB, free: 49.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.458, allocations: 180 kB / 0.6263 GB, free: 49.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003592/1.461, allocations: 0.9412 MB / 0.6272 GB, free: 48.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/1.461, allocations: 43.61 kB / 0.6273 GB, free: 48.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/1.482, allocations: 15.18 MB / 0.6421 GB, free: 33.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.482, allocations: 3.938 kB / 0.6421 GB, free: 33.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.493, allocations: 4.715 MB / 0.6467 GB, free: 29.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/1.495, allocations: 0.5486 MB / 0.6472 GB, free: 29.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009733/1.497, allocations: 44 kB / 0.6473 GB, free: 29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.499, allocations: 117.2 kB / 0.6474 GB, free: 28.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000865/1.5, allocations: 213.2 kB / 0.6476 GB, free: 28.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/1.5, allocations: 47.95 kB / 0.6476 GB, free: 28.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003606/1.504, allocations: 1.546 MB / 0.6492 GB, free: 27.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.32e-07/1.504, allocations: 0 / 0.6492 GB, free: 27.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004632/1.509, allocations: 0.8047 MB / 0.6499 GB, free: 26.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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%) 1,(1,100.0%) 8,(9,33.3%) 25,(1,100.0%) 8,(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.01198/1.521, allocations: 5.993 MB / 0.6558 GB, free: 21.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007151/1.528, allocations: 3.059 MB / 0.6588 GB, free: 18.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.528, allocations: 4.125 kB / 0.6588 GB, free: 18.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005242/1.533, allocations: 2.271 MB / 0.661 GB, free: 16.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00529/1.539, allocations: 0.6596 MB / 0.6616 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/1.559, allocations: 6.999 MB / 0.6685 GB, free: 9.453 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003983/1.563, allocations: 2.916 MB / 0.6713 GB, free: 7.211 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00292/1.566, allocations: 499.7 kB / 0.6718 GB, free: 6.863 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002868/1.569, allocations: 1.421 MB / 0.6732 GB, free: 5.547 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/1.569, allocations: 8 kB / 0.6732 GB, free: 5.539 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.482/2.051, allocations: 70.88 MB / 0.7424 GB, free: 87.49 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/2.051, allocations: 208.7 kB / 0.7426 GB, free: 87.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.772/6.823, allocations: 0 / 0.7426 GB, free: 87.27 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat does not exist to compare? outputFormat=mat