Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.775e-05, allocations: 2.5 kB / 292.8 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 50.41 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5506/0.6591, allocations: 127.3 MB / 470.5 MB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/0.6595, allocations: 102.2 kB / 470.6 MB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.686/2.345, allocations: 337.3 MB / 0.7889 GB, free: 59.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.375e-06/2.345, allocations: 0 / 0.7889 GB, free: 59.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006998/2.346, allocations: 206.5 kB / 0.7891 GB, free: 59.86 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.04344/2.389, allocations: 8.957 MB / 0.7979 GB, free: 56.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/2.389, allocations: 10.69 kB / 0.7979 GB, free: 56.49 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007898/2.397, allocations: 1.539 MB / 0.7994 GB, free: 55.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.036/2.433, allocations: 4.217 MB / 0.8035 GB, free: 54.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02722/2.461, allocations: 8.049 MB / 0.8113 GB, free: 50.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008658/2.462, allocations: 0.6691 MB / 0.812 GB, free: 50.49 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004247/2.466, allocations: 0.8838 MB / 0.8129 GB, free: 50.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0468/2.513, allocations: 15.3 MB / 0.8278 GB, free: 35.42 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004695/2.513, allocations: 11.91 kB / 0.8278 GB, free: 35.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003615/2.517, allocations: 390.2 kB / 0.8282 GB, free: 35.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001084/2.518, allocations: 0.7265 MB / 0.8289 GB, free: 34.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03954/2.557, allocations: 13.39 MB / 0.842 GB, free: 20.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.494/3.051, allocations: 51.35 MB / 0.8921 GB, free: 38.47 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03656/3.088, allocations: 26.3 MB / 0.9178 GB, free: 33.49 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007529/3.096, allocations: 3.171 MB / 0.9209 GB, free: 33.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000667/3.096, allocations: 161.7 kB / 0.9211 GB, free: 33.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.7e-05/3.096, allocations: 71.8 kB / 0.9211 GB, free: 33.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=404): time 8.105e-06/3.096, allocations: 0 / 0.9211 GB, free: 33.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=410): time 0.03555/3.132, allocations: 12.38 MB / 0.9332 GB, free: 31.63 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/3.132, allocations: 95.12 kB / 0.9333 GB, free: 31.56 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008155/3.14, allocations: 3.212 MB / 0.9364 GB, free: 31.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008624/3.141, allocations: 93.8 kB / 0.9365 GB, free: 31.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003223/3.144, allocations: 3.991 MB / 0.9404 GB, free: 29.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002163/3.147, allocations: 1.397 MB / 0.9418 GB, free: 28.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007859/3.147, allocations: 119.6 kB / 0.9419 GB, free: 28.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005785/3.148, allocations: 0.5426 MB / 0.9424 GB, free: 28.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007105/3.155, allocations: 2.721 MB / 0.9451 GB, free: 28.03 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009194/3.164, allocations: 4.831 MB / 0.9498 GB, free: 25.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00927/3.174, allocations: 3.902 MB / 0.9536 GB, free: 25.35 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/3.174, allocations: 25 kB / 0.9536 GB, free: 25.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02611/3.2, allocations: 8.726 MB / 0.9622 GB, free: 24.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.945e-05/3.2, allocations: 36.44 kB / 0.9622 GB, free: 24.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/3.2, allocations: 71.38 kB / 0.9623 GB, free: 24.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005612/3.206, allocations: 1.215 MB / 0.9634 GB, free: 24.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00935/3.215, allocations: 1.32 MB / 0.9647 GB, free: 24.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/3.237, allocations: 9.063 MB / 0.9736 GB, free: 19.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007231/3.244, allocations: 340 kB / 0.9739 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/3.246, allocations: 280.3 kB / 0.9742 GB, free: 19.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002152/3.248, allocations: 483.1 kB / 0.9746 GB, free: 19.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/3.249, allocations: 402.6 kB / 0.975 GB, free: 19.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02033/3.27, allocations: 6.579 MB / 0.9814 GB, free: 16.54 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01553/3.285, allocations: 5.473 MB / 0.9868 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/3.285, allocations: 10.31 kB / 0.9868 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001134/3.285, allocations: 19.92 kB / 0.9868 GB, free: 14.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04677/3.332, allocations: 16.21 MB / 1.003 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-05/3.332, allocations: 6.438 kB / 1.003 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006065/3.338, allocations: 0.7222 MB / 1.003 GB, free: 7.574 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005269/3.344, allocations: 1.066 MB / 1.004 GB, free: 7.141 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009031/3.345, allocations: 90.14 kB / 1.004 GB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02085/3.366, allocations: 8.034 MB / 1.012 GB, free: 0 / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-05/3.366, allocations: 9.328 kB / 1.012 GB, free: 0 / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02812/3.394, allocations: 10.15 MB / 1.022 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003902/3.398, allocations: 0.9672 MB / 1.023 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/3.399, allocations: 78.39 kB / 1.023 GB, free: 5.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004916/3.404, allocations: 213.6 kB / 1.023 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0014/3.406, allocations: 286.5 kB / 1.024 GB, free: 5.578 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004956/3.406, allocations: 123.5 kB / 1.024 GB, free: 5.465 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006818/3.413, allocations: 2.398 MB / 1.026 GB, free: 3.348 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.142e-06/3.413, allocations: 0 / 1.026 GB, free: 3.348 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009957/3.423, allocations: 1.651 MB / 1.028 GB, free: 1.707 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02902/3.452, allocations: 12.29 MB / 1.04 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02069/3.473, allocations: 6.81 MB / 1.046 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/3.473, allocations: 0 / 1.046 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.3791/3.852, allocations: 3.818 MB / 1.05 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007687/3.86, allocations: 0.8652 MB / 1.051 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0574/3.917, allocations: 17 MB / 1.068 GB, free: 98.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01361/3.931, allocations: 6.35 MB / 1.074 GB, free: 98.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009901/3.941, allocations: 1.911 MB / 1.076 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008059/3.949, allocations: 3.21 MB / 1.079 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of SimCode: time 1.903e-06/3.949, allocations: 0 / 1.079 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3316/4.28, allocations: 128 MB / 1.204 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/4.281, allocations: 228.4 kB / 1.204 GB, free: 30.22 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/11.06, allocations: 3.438 kB / 1.204 GB, free: 30.22 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics_res.mat does not exist to compare? outputFormat=mat