Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.07e-05/3.075e-05, allocations: 4 kB / 292.8 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 50.4 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4816/0.5852, allocations: 111.8 MB / 455 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.5856, allocations: 85.64 kB / 455.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6756/1.261, allocations: 92.75 MB / 0.535 GB, free: 91.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.261, allocations: 3.719 kB / 0.535 GB, free: 91.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004538/1.262, allocations: 100.1 kB / 0.5351 GB, free: 91.76 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.01728/1.279, allocations: 3.949 MB / 0.539 GB, free: 90.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.279, allocations: 10.62 kB / 0.539 GB, free: 90.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002171/1.281, allocations: 0.5335 MB / 0.5395 GB, free: 90.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007006/1.288, allocations: 0.8253 MB / 0.5403 GB, free: 90.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/1.303, allocations: 3.83 MB / 0.544 GB, free: 89.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004914/1.303, allocations: 297.8 kB / 0.5443 GB, free: 89.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001763/1.305, allocations: 390.1 kB / 0.5447 GB, free: 89.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/1.322, allocations: 5.133 MB / 0.5497 GB, free: 89.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001936/1.323, allocations: 10.16 kB / 0.5497 GB, free: 89.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001316/1.324, allocations: 159.9 kB / 0.5499 GB, free: 89.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/1.324, allocations: 168.5 kB / 0.55 GB, free: 89.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/1.338, allocations: 4.295 MB / 0.5542 GB, free: 89.03 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04283/1.381, allocations: 16.96 MB / 0.5708 GB, free: 84.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/1.393, allocations: 8.666 MB / 0.5792 GB, free: 76.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004283/1.397, allocations: 1.799 MB / 0.581 GB, free: 76.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01377/1.411, allocations: 4.858 MB / 0.5858 GB, free: 73.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00278/1.414, allocations: 1.241 MB / 0.587 GB, free: 73.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 5.861e-06/1.414, allocations: 0 / 0.587 GB, free: 73.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=186): time 0.01551/1.429, allocations: 5.841 MB / 0.5927 GB, free: 70.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.43, allocations: 238.1 kB / 0.5929 GB, free: 70.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004794/1.434, allocations: 2.023 MB / 0.5949 GB, free: 69.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004475/1.435, allocations: 57.3 kB / 0.5949 GB, free: 69.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001835/1.437, allocations: 1.724 MB / 0.5966 GB, free: 67.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008538/1.438, allocations: 0.6068 MB / 0.5972 GB, free: 67.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/1.438, allocations: 46.34 kB / 0.5972 GB, free: 67.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/1.438, allocations: 389.7 kB / 0.5976 GB, free: 67.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002289/1.44, allocations: 0.9379 MB / 0.5985 GB, free: 66.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002929/1.443, allocations: 1.479 MB / 0.6 GB, free: 65.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/1.446, allocations: 1.162 MB / 0.6011 GB, free: 65.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.887e-05/1.446, allocations: 3.531 kB / 0.6011 GB, free: 65.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009108/1.455, allocations: 3.315 MB / 0.6044 GB, free: 63.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/1.455, allocations: 11.78 kB / 0.6044 GB, free: 63.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/1.456, allocations: 19.16 kB / 0.6044 GB, free: 63.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/1.459, allocations: 0.7573 MB / 0.6051 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/1.461, allocations: 371.2 kB / 0.6055 GB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/1.477, allocations: 10.82 MB / 0.616 GB, free: 55.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/1.481, allocations: 133.6 kB / 0.6162 GB, free: 55.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004967/1.481, allocations: 81.08 kB / 0.6162 GB, free: 55.72 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.0005591/1.482, allocations: 244.5 kB / 0.6165 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007709/1.483, allocations: 253.2 kB / 0.6167 GB, free: 55.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008583/1.491, allocations: 3.247 MB / 0.6199 GB, free: 53.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/1.491, allocations: 17.78 kB / 0.6199 GB, free: 53.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/1.491, allocations: 10.41 kB / 0.6199 GB, free: 53.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.818e-05/1.491, allocations: 15.02 kB / 0.6199 GB, free: 53.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01836/1.51, allocations: 6.861 MB / 0.6266 GB, free: 49.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/1.51, allocations: 4 kB / 0.6266 GB, free: 49.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/1.511, allocations: 177.5 kB / 0.6268 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003845/1.515, allocations: 0.943 MB / 0.6277 GB, free: 48.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004009/1.516, allocations: 46.8 kB / 0.6278 GB, free: 48.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/1.537, allocations: 15.19 MB / 0.6426 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.537, allocations: 7.641 kB / 0.6426 GB, free: 33.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/1.548, allocations: 4.713 MB / 0.6472 GB, free: 29.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002069/1.55, allocations: 0.5482 MB / 0.6477 GB, free: 29.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009804/1.551, allocations: 43.38 kB / 0.6478 GB, free: 29.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002809/1.554, allocations: 109.3 kB / 0.6479 GB, free: 28.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009146/1.555, allocations: 213.4 kB / 0.6481 GB, free: 28.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.555, allocations: 55.56 kB / 0.6481 GB, free: 28.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003883/1.559, allocations: 1.546 MB / 0.6497 GB, free: 27.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.559, allocations: 4 kB / 0.6497 GB, free: 27.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004634/1.564, allocations: 0.8009 MB / 0.6504 GB, free: 26.59 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.01169/1.575, allocations: 5.981 MB / 0.6563 GB, free: 21.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0071/1.583, allocations: 3.064 MB / 0.6593 GB, free: 18.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/1.583, allocations: 0 / 0.6593 GB, free: 18.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005279/1.588, allocations: 2.274 MB / 0.6615 GB, free: 16.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005414/1.593, allocations: 0.6585 MB / 0.6621 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/1.614, allocations: 7.004 MB / 0.669 GB, free: 9.535 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004342/1.618, allocations: 2.908 MB / 0.6718 GB, free: 7.297 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003073/1.621, allocations: 0.4955 MB / 0.6723 GB, free: 6.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00315/1.625, allocations: 1.422 MB / 0.6737 GB, free: 5.625 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/1.625, allocations: 0 / 0.6737 GB, free: 5.625 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5013/2.126, allocations: 70.86 MB / 0.7429 GB, free: 87.49 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/2.126, allocations: 211.6 kB / 0.7431 GB, free: 87.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.875/7.001, allocations: 3.75 kB / 0.7431 GB, free: 87.27 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat does not exist to compare? outputFormat=mat