Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.066/2.066, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.773e-05, allocations: 4 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 44.51 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5465/0.6527, allocations: 147.2 MB / 447.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/0.6531, allocations: 102.7 kB / 447.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.41/3.063, allocations: 458.7 MB / 0.8847 GB, free: 17.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.076e-06/3.063, allocations: 4 kB / 0.8847 GB, free: 17.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001099/3.064, allocations: 330.6 kB / 0.8851 GB, free: 17.46 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.07721/3.141, allocations: 13.27 MB / 0.898 GB, free: 13.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/3.141, allocations: 10.5 kB / 0.898 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01423/3.156, allocations: 2.3 MB / 0.9003 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1231/3.279, allocations: 6.473 MB / 0.9066 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0425/3.321, allocations: 11.52 MB / 0.9179 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001649/3.323, allocations: 1.054 MB / 0.9189 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006953/3.33, allocations: 1.374 MB / 0.9202 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07388/3.404, allocations: 23.38 MB / 0.9431 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008132/3.405, allocations: 14.91 kB / 0.9431 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006045/3.411, allocations: 0.5897 MB / 0.9436 GB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001425/3.412, allocations: 0.9297 MB / 0.9446 GB, free: 9.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06216/3.475, allocations: 20.99 MB / 0.9651 GB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6412/4.116, allocations: 75.7 MB / 1.039 GB, free: 30.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0459/4.162, allocations: 28.26 MB / 1.067 GB, free: 30.83 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02362/4.185, allocations: 9.355 MB / 1.076 GB, free: 30.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08302/4.269, allocations: 29.55 MB / 1.105 GB, free: 29.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/4.269, allocations: 116.5 kB / 1.105 GB, free: 29.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=934): time 1.37e-05/4.269, allocations: 1.406 kB / 1.105 GB, free: 29.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=942): time 0.09515/4.364, allocations: 33.16 MB / 1.137 GB, free: 15.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/4.364, allocations: 163.6 kB / 1.137 GB, free: 15.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/4.376, allocations: 4.092 MB / 1.141 GB, free: 13.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002222/4.378, allocations: 152.4 kB / 1.141 GB, free: 13.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004824/4.383, allocations: 5.335 MB / 1.147 GB, free: 9.406 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006321/4.39, allocations: 3.108 MB / 1.15 GB, free: 6.988 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002574/4.392, allocations: 164.3 kB / 1.15 GB, free: 6.859 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001308/4.394, allocations: 0.689 MB / 1.15 GB, free: 6.387 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01658/4.41, allocations: 5.955 MB / 1.156 GB, free: 3.895 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01935/4.429, allocations: 7.846 MB / 1.164 GB, free: 15.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01974/4.449, allocations: 7.265 MB / 1.171 GB, free: 11.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.071e-05/4.449, allocations: 16 kB / 1.171 GB, free: 11.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.4579/4.907, allocations: 18.44 MB / 1.189 GB, free: 69.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.411e-05/4.907, allocations: 27.53 kB / 1.189 GB, free: 69.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001583/4.908, allocations: 50.44 kB / 1.189 GB, free: 69.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02206/4.93, allocations: 5.871 MB / 1.195 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01248/4.942, allocations: 1.52 MB / 1.196 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03609/4.978, allocations: 19.96 MB / 1.216 GB, free: 62.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/4.989, allocations: 435.2 kB / 1.216 GB, free: 62.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002857/4.992, allocations: 372.8 kB / 1.217 GB, free: 62.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (800): * Single equations (assignments): 747 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.005591/4.998, allocations: 0.5621 MB / 1.217 GB, free: 62.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004051/5.002, allocations: 0.6563 MB / 1.218 GB, free: 62.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05714/5.059, allocations: 18.09 MB / 1.235 GB, free: 61.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04167/5.101, allocations: 14.28 MB / 1.249 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.144e-05/5.101, allocations: 7.344 kB / 1.249 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000227/5.101, allocations: 41.34 kB / 1.249 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1026/5.204, allocations: 35.34 MB / 1.284 GB, free: 49.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001414/5.204, allocations: 5 kB / 1.284 GB, free: 49.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009789/5.214, allocations: 1.036 MB / 1.285 GB, free: 49.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02124/5.235, allocations: 5.944 MB / 1.291 GB, free: 47.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002713/5.238, allocations: 211.1 kB / 1.291 GB, free: 47.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04215/5.28, allocations: 24.2 MB / 1.315 GB, free: 31.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/5.28, allocations: 5.031 kB / 1.315 GB, free: 31.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0733/5.353, allocations: 27.02 MB / 1.341 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008619/5.362, allocations: 2.107 MB / 1.343 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003968/5.366, allocations: 143.2 kB / 1.343 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009508/5.376, allocations: 375.1 kB / 1.344 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003823/5.38, allocations: 0.7059 MB / 1.344 GB, free: 9.535 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0025/5.382, allocations: 255.6 kB / 1.344 GB, free: 9.309 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008797/5.391, allocations: 3.098 MB / 1.347 GB, free: 6.547 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.313e-06/5.391, allocations: 0 / 1.347 GB, free: 6.547 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01607/5.407, allocations: 2.506 MB / 1.35 GB, free: 4.059 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * 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%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.4953/5.902, allocations: 29.93 MB / 1.379 GB, free: 70.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04107/5.944, allocations: 15.4 MB / 1.394 GB, free: 69.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/5.944, allocations: 2.344 kB / 1.394 GB, free: 69.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02586/5.97, allocations: 8.711 MB / 1.403 GB, free: 68.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01426/5.984, allocations: 1.486 MB / 1.404 GB, free: 68.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.105/6.089, allocations: 30.15 MB / 1.434 GB, free: 63.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02363/6.113, allocations: 9.324 MB / 1.443 GB, free: 61.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01472/6.127, allocations: 2.07 MB / 1.445 GB, free: 61.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01432/6.142, allocations: 5.285 MB / 1.45 GB, free: 57.21 MB / 490.7 MB Notification: Performance of SimCode: time 3.607e-06/6.142, allocations: 0 / 1.45 GB, free: 57.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9339/7.076, allocations: 250.4 MB / 1.694 GB, free: 10.07 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003651/7.076, allocations: 238.2 kB / 1.695 GB, free: 9.758 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/18.68, allocations: 0 / 1.695 GB, free: 9.758 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat