Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.186/2.186, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.229e-05, allocations: 4 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 50.41 MB / 342.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4664/0.5725, allocations: 105.6 MB / 448.2 MB, free: 4.918 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.5728, allocations: 88.73 kB / 448.3 MB, free: 4.875 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2223/0.7952, allocations: 53.5 MB / 0.4901 GB, free: 3.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7952, allocations: 4 kB / 0.4901 GB, free: 3.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003459/0.7956, allocations: 71.92 kB / 0.4901 GB, free: 3.047 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.01065/0.8062, allocations: 2.715 MB / 0.4928 GB, free: 280 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.8063, allocations: 12.03 kB / 0.4928 GB, free: 268 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001467/0.8078, allocations: 358.9 kB / 0.4931 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.8096, allocations: 367.9 kB / 0.4935 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00657/0.8162, allocations: 1.882 MB / 0.4953 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003284/0.8166, allocations: 197.4 kB / 0.4955 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.8177, allocations: 255.9 kB / 0.4958 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.8287, allocations: 3.389 MB / 0.4991 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/0.8289, allocations: 7.938 kB / 0.4991 GB, free: 9.605 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005511/0.8294, allocations: 111.9 kB / 0.4992 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001733/0.8296, allocations: 104.9 kB / 0.4993 GB, free: 9.391 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009499/0.8391, allocations: 2.801 MB / 0.502 GB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0312/0.8704, allocations: 10.93 MB / 0.5127 GB, free: 11.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005943/0.8764, allocations: 3.052 MB / 0.5157 GB, free: 8.109 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003428/0.8799, allocations: 1.249 MB / 0.5169 GB, free: 6.863 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005393/0.8804, allocations: 138.4 kB / 0.517 GB, free: 6.707 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003178/0.8836, allocations: 1.111 MB / 0.5181 GB, free: 5.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=159): time 4.779e-06/0.8837, allocations: 0 / 0.5181 GB, free: 5.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.3198/1.204, allocations: 6.725 MB / 0.5247 GB, free: 111.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/1.204, allocations: 181.1 kB / 0.5249 GB, free: 111.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/1.208, allocations: 1.594 MB / 0.5264 GB, free: 111.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004254/1.208, allocations: 59.16 kB / 0.5265 GB, free: 111.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001382/1.21, allocations: 1.166 MB / 0.5276 GB, free: 111.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008937/1.211, allocations: 0.5694 MB / 0.5282 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/1.211, allocations: 35.06 kB / 0.5282 GB, free: 111.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/1.211, allocations: 382.8 kB / 0.5286 GB, free: 110.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/1.213, allocations: 0.9457 MB / 0.5295 GB, free: 110.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002944/1.216, allocations: 1.313 MB / 0.5308 GB, free: 110.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/1.22, allocations: 1.108 MB / 0.5318 GB, free: 110.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.838e-05/1.22, allocations: 2.281 kB / 0.5318 GB, free: 110.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.01007/1.23, allocations: 3.153 MB / 0.5349 GB, free: 110.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/1.23, allocations: 11.86 kB / 0.5349 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/1.23, allocations: 8.531 kB / 0.5349 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003802/1.234, allocations: 0.8784 MB / 0.5358 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/1.237, allocations: 337.9 kB / 0.5361 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/1.256, allocations: 9.538 MB / 0.5454 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/1.26, allocations: 141 kB / 0.5456 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003595/1.26, allocations: 67.84 kB / 0.5456 GB, free: 106.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (179): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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: 3 {(2,100.0%) 12,(9,33.3%) 25,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007303/1.261, allocations: 227.3 kB / 0.5459 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007236/1.261, allocations: 204.1 kB / 0.5461 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/1.272, allocations: 3.049 MB / 0.549 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/1.272, allocations: 20.44 kB / 0.549 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/1.272, allocations: 6.344 kB / 0.5491 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.283e-05/1.272, allocations: 7.078 kB / 0.5491 GB, free: 105.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/1.294, allocations: 6.186 MB / 0.5551 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/1.294, allocations: 0 / 0.5551 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/1.297, allocations: 225.1 kB / 0.5553 GB, free: 103.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005078/1.302, allocations: 0.916 MB / 0.5562 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00047/1.302, allocations: 49.03 kB / 0.5563 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02276/1.325, allocations: 11.01 MB / 0.567 GB, free: 95.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/1.325, allocations: 10.66 kB / 0.567 GB, free: 95.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/1.337, allocations: 4.57 MB / 0.5715 GB, free: 93.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.339, allocations: 0.4986 MB / 0.572 GB, free: 93.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005609/1.339, allocations: 42.06 kB / 0.572 GB, free: 93.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/1.341, allocations: 117.5 kB / 0.5721 GB, free: 93.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007207/1.342, allocations: 204.9 kB / 0.5723 GB, free: 93.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/1.342, allocations: 47.5 kB / 0.5724 GB, free: 93.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002529/1.345, allocations: 1.22 MB / 0.5736 GB, free: 92.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.345, allocations: 0 / 0.5736 GB, free: 92.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003444/1.348, allocations: 0.6575 MB / 0.5742 GB, free: 92.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (126): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01122/1.36, allocations: 5.954 MB / 0.58 GB, free: 89.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007127/1.367, allocations: 3.073 MB / 0.583 GB, free: 88.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.659e-06/1.367, allocations: 3.594 kB / 0.583 GB, free: 88.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005014/1.372, allocations: 2.164 MB / 0.5851 GB, free: 87.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00432/1.376, allocations: 0.5336 MB / 0.5857 GB, free: 86.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.391, allocations: 5.444 MB / 0.591 GB, free: 84.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/1.393, allocations: 2.239 MB / 0.5932 GB, free: 83.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00226/1.395, allocations: 444 kB / 0.5936 GB, free: 83.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/1.397, allocations: 0.9949 MB / 0.5945 GB, free: 82.94 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/1.397, allocations: 0 / 0.5945 GB, free: 82.94 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/1.534, allocations: 58.16 MB / 0.6513 GB, free: 35.08 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/1.534, allocations: 183.4 kB / 0.6515 GB, free: 34.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.597/6.131, allocations: 0 / 0.6515 GB, free: 34.86 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat does not exist to compare? outputFormat=mat