Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.194/2.194, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.073e-05, allocations: 4 kB / 293.3 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 50.41 MB / 343.7 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5826/0.689, allocations: 167.1 MB / 0.4988 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003661/0.6894, allocations: 101.3 kB / 0.4989 GB, free: 8.277 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.444/5.133, allocations: 0.8622 GB / 1.361 GB, free: 33.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.555e-06/5.133, allocations: 4 kB / 1.361 GB, free: 33.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.002194/5.135, allocations: 473.7 kB / 1.362 GB, free: 33.41 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5818 * Number of variables: 5818 Notification: Performance of Generate backend data structure: time 0.1397/5.275, allocations: 19.5 MB / 1.381 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/5.275, allocations: 13.81 kB / 1.381 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01558/5.291, allocations: 2.948 MB / 1.383 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07883/5.37, allocations: 9.677 MB / 1.393 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05564/5.425, allocations: 16.21 MB / 1.409 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002521/5.428, allocations: 1.52 MB / 1.41 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0113/5.439, allocations: 1.999 MB / 1.412 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.062/6.501, allocations: 33.82 MB / 1.445 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001345/6.503, allocations: 35.38 kB / 1.445 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009277/6.512, allocations: 0.8545 MB / 1.446 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002707/6.515, allocations: 1.482 MB / 1.448 GB, free: 31.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09626/6.611, allocations: 29.28 MB / 1.476 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3018/6.913, allocations: 107.4 MB / 1.581 GB, free: 0.5781 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08135/6.994, allocations: 50.77 MB / 1.631 GB, free: 7.789 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5481/7.543, allocations: 9.555 MB / 1.64 GB, free: 100.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09416/7.637, allocations: 22.6 MB / 1.662 GB, free: 99.58 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/7.637, allocations: 133.3 kB / 1.662 GB, free: 99.53 MB / 0.573 GB Notification: Performance of pre-optimization done (n=892): time 1.359e-05/7.637, allocations: 0 / 1.662 GB, free: 99.53 MB / 0.573 GB Notification: Performance of matching and sorting (n=904): time 0.09223/7.729, allocations: 32.66 MB / 1.694 GB, free: 93.77 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/7.729, allocations: 173.8 kB / 1.694 GB, free: 93.66 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.019/7.748, allocations: 7.338 MB / 1.701 GB, free: 93.06 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002/7.75, allocations: 177.3 kB / 1.702 GB, free: 93.03 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007279/7.758, allocations: 8.662 MB / 1.71 GB, free: 88.59 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004603/7.762, allocations: 3.036 MB / 1.713 GB, free: 86.66 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001811/7.764, allocations: 233.3 kB / 1.713 GB, free: 86.66 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0009788/7.765, allocations: 0.7681 MB / 1.714 GB, free: 86.33 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01573/7.781, allocations: 6.01 MB / 1.72 GB, free: 86.31 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01907/7.8, allocations: 9.533 MB / 1.729 GB, free: 82.13 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01986/7.82, allocations: 8.102 MB / 1.737 GB, free: 81.25 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003632/7.82, allocations: 30.94 kB / 1.737 GB, free: 81.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=1468) (initialization): time 0.06739/7.888, allocations: 19.41 MB / 1.756 GB, free: 74.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/7.888, allocations: 59.75 kB / 1.756 GB, free: 74.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002418/7.888, allocations: 117.9 kB / 1.756 GB, free: 74.39 MB / 0.573 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.003332/7.892, allocations: 0.8172 MB / 1.757 GB, free: 74.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01863/7.91, allocations: 2.373 MB / 1.759 GB, free: 74.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01536/7.926, allocations: 11.45 MB / 1.77 GB, free: 65.22 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01516/7.941, allocations: 0.6078 MB / 1.771 GB, free: 65.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003155/7.944, allocations: 0.5068 MB / 1.772 GB, free: 64.93 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1214): * Single equations (assignments): 1207 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005364/7.95, allocations: 0.7892 MB / 1.772 GB, free: 64.43 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004346/7.954, allocations: 0.8992 MB / 1.773 GB, free: 63.96 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05407/8.008, allocations: 16.69 MB / 1.79 GB, free: 55.12 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.083e-05/8.008, allocations: 92 kB / 1.79 GB, free: 55.03 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001166/8.008, allocations: 40 kB / 1.79 GB, free: 54.99 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002594/8.009, allocations: 50.27 kB / 1.79 GB, free: 54.98 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1617/8.17, allocations: 35.53 MB / 1.824 GB, free: 26.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001215/8.17, allocations: 8.938 kB / 1.824 GB, free: 26.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01306/8.184, allocations: 1.414 MB / 1.826 GB, free: 25.03 MB / 0.573 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.003957/8.188, allocations: 0.8474 MB / 1.827 GB, free: 24.32 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002041/8.19, allocations: 204 kB / 1.827 GB, free: 24.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5154/8.705, allocations: 15.64 MB / 1.842 GB, free: 87.84 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-05/8.705, allocations: 7.219 kB / 1.842 GB, free: 87.84 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07486/8.78, allocations: 25.4 MB / 1.867 GB, free: 85.28 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008634/8.789, allocations: 2.25 MB / 1.869 GB, free: 85.19 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00393/8.793, allocations: 175.9 kB / 1.869 GB, free: 85.19 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01172/8.804, allocations: 0.5058 MB / 1.87 GB, free: 85.19 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003378/8.808, allocations: 0.7861 MB / 1.87 GB, free: 85.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001595/8.809, allocations: 259.7 kB / 1.871 GB, free: 85.18 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01478/8.824, allocations: 5.543 MB / 1.876 GB, free: 84.89 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.112e-06/8.824, allocations: 0.6875 kB / 1.876 GB, free: 84.89 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02022/8.844, allocations: 3.511 MB / 1.88 GB, free: 84.89 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (701): * Single equations (assignments): 693 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(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.07016/8.915, allocations: 27.7 MB / 1.907 GB, free: 80.89 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03936/8.954, allocations: 15.34 MB / 1.922 GB, free: 79.97 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/8.954, allocations: 0 / 1.922 GB, free: 79.97 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02158/8.976, allocations: 8.418 MB / 1.93 GB, free: 79.05 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02056/8.996, allocations: 2.337 MB / 1.932 GB, free: 79 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.149/9.145, allocations: 38.89 MB / 1.97 GB, free: 62.34 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03128/9.177, allocations: 13.45 MB / 1.983 GB, free: 52.32 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02309/9.2, allocations: 3.957 MB / 1.987 GB, free: 49.73 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02652/9.227, allocations: 7.744 MB / 1.995 GB, free: 42.5 MB / 0.573 GB Notification: Performance of SimCode: time 2.214e-06/9.227, allocations: 0 / 1.995 GB, free: 42.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.677/10.9, allocations: 284 MB / 2.272 GB, free: 37.65 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/10.9, allocations: 230.9 kB / 2.272 GB, free: 37.35 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/24.83, allocations: 0 / 2.272 GB, free: 37.35 MB / 0.6199 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat does not exist to compare? outputFormat=mat