Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.099/2.099, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.607e-05, allocations: 4 kB / 292.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 50.41 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4987/0.6091, allocations: 104.4 MB / 447 MB, free: 6.141 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.6095, allocations: 84.12 kB / 447.1 MB, free: 6.098 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1906/0.8001, allocations: 44.71 MB / 491.8 MB, free: 13.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8002, allocations: 4 kB / 491.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002495/0.8004, allocations: 55.94 kB / 491.9 MB, free: 13.15 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008552/0.809, allocations: 2.193 MB / 494.1 MB, free: 10.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.8091, allocations: 12.03 kB / 494.1 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009974/0.8101, allocations: 295.3 kB / 494.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.8114, allocations: 292.8 kB / 494.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005231/0.8167, allocations: 1.542 MB / 496.2 MB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/0.817, allocations: 156 kB / 496.3 MB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007801/0.8178, allocations: 199.9 kB / 496.5 MB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007863/0.8256, allocations: 2.621 MB / 499.2 MB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.8258, allocations: 11.95 kB / 499.2 MB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003744/0.8262, allocations: 87.98 kB / 499.3 MB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.8264, allocations: 83.94 kB / 499.3 MB, free: 5.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006865/0.8332, allocations: 2.105 MB / 0.4897 GB, free: 3.309 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02477/0.8581, allocations: 8.442 MB / 0.4979 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.8617, allocations: 1.756 MB / 0.4997 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002873/0.8646, allocations: 0.973 MB / 0.5006 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004458/0.8651, allocations: 134 kB / 0.5007 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.8652, allocations: 43.56 kB / 0.5008 GB, free: 7.594 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 3.877e-06/0.8652, allocations: 0 / 0.5008 GB, free: 7.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=123): time 0.01968/0.8849, allocations: 5.234 MB / 0.5059 GB, free: 2.293 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.885, allocations: 68.36 kB / 0.5059 GB, free: 2.215 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003176/0.8882, allocations: 1.301 MB / 0.5072 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003276/0.8885, allocations: 45.7 kB / 0.5073 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.8896, allocations: 0.9799 MB / 0.5082 GB, free: 15.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006247/0.8902, allocations: 421.9 kB / 0.5086 GB, free: 15.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.8904, allocations: 28 kB / 0.5086 GB, free: 15.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.8906, allocations: 361.9 kB / 0.509 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.8924, allocations: 0.695 MB / 0.5097 GB, free: 14.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.8945, allocations: 1 MB / 0.5106 GB, free: 13.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.8966, allocations: 0.8364 MB / 0.5115 GB, free: 12.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.8966, allocations: 4 kB / 0.5115 GB, free: 12.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006347/0.903, allocations: 2.259 MB / 0.5137 GB, free: 10.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.903, allocations: 8 kB / 0.5137 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.9031, allocations: 8 kB / 0.5137 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.9047, allocations: 407.3 kB / 0.5141 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/0.9074, allocations: 335.5 kB / 0.5144 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007415/0.9148, allocations: 4.653 MB / 0.5189 GB, free: 4.438 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.917, allocations: 87.91 kB / 0.519 GB, free: 4.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/0.9172, allocations: 52 kB / 0.5191 GB, free: 4.301 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004413/0.9176, allocations: 184.7 kB / 0.5193 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/0.9181, allocations: 166 kB / 0.5194 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/0.9239, allocations: 2.098 MB / 0.5215 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.924, allocations: 12 kB / 0.5215 GB, free: 1.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.924, allocations: 4 kB / 0.5215 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.924, allocations: 7.969 kB / 0.5215 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3025/1.227, allocations: 4.496 MB / 0.5259 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/1.227, allocations: 2.75 kB / 0.5259 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/1.229, allocations: 234.9 kB / 0.5261 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002324/1.231, allocations: 470.8 kB / 0.5265 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003223/1.232, allocations: 33.42 kB / 0.5266 GB, free: 117.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009044/1.241, allocations: 6.17 MB / 0.5326 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.241, allocations: 2.812 kB / 0.5326 GB, free: 113.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008609/1.249, allocations: 3.297 MB / 0.5358 GB, free: 113 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/1.251, allocations: 404.2 kB / 0.5362 GB, free: 112.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004317/1.251, allocations: 30.38 kB / 0.5362 GB, free: 112.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/1.253, allocations: 83.95 kB / 0.5363 GB, free: 112.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005168/1.254, allocations: 109.8 kB / 0.5364 GB, free: 112.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/1.254, allocations: 40.91 kB / 0.5365 GB, free: 112.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002724/1.256, allocations: 1.002 MB / 0.5374 GB, free: 112.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.257, allocations: 0 / 0.5374 GB, free: 112.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003092/1.26, allocations: 488.5 kB / 0.5379 GB, free: 112.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009114/1.269, allocations: 4.783 MB / 0.5426 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005434/1.274, allocations: 2.168 MB / 0.5447 GB, free: 110.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.274, allocations: 0.875 kB / 0.5447 GB, free: 110.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003767/1.278, allocations: 1.446 MB / 0.5461 GB, free: 110.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/1.282, allocations: 416 kB / 0.5465 GB, free: 110.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/1.294, allocations: 4.294 MB / 0.5507 GB, free: 109.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/1.296, allocations: 1.861 MB / 0.5525 GB, free: 108.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00222/1.299, allocations: 397 kB / 0.5529 GB, free: 108.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/1.301, allocations: 0.7893 MB / 0.5537 GB, free: 108.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.743e-06/1.301, allocations: 0 / 0.5537 GB, free: 108.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/1.42, allocations: 42.83 MB / 0.5955 GB, free: 92.49 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/1.421, allocations: 197.6 kB / 0.5957 GB, free: 92.26 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.948/5.368, allocations: 0 / 0.5957 GB, free: 92.26 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_DOL_res.mat does not exist to compare? outputFormat=mat