Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.719e-05, allocations: 0 / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 50.41 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4996/0.6034, allocations: 119.5 MB / 462.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.6038, allocations: 98.06 kB / 462.8 MB, free: 6.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.785/1.389, allocations: 133.5 MB / 0.5824 GB, free: 93.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.389, allocations: 0 / 0.5824 GB, free: 93.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000513/1.389, allocations: 134 kB / 0.5825 GB, free: 93.38 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01931/1.409, allocations: 4.781 MB / 0.5872 GB, free: 91.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/1.409, allocations: 11.91 kB / 0.5872 GB, free: 91.55 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002765/1.412, allocations: 0.6705 MB / 0.5878 GB, free: 91.31 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007719/1.419, allocations: 0.9753 MB / 0.5888 GB, free: 90.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/1.435, allocations: 4.487 MB / 0.5932 GB, free: 88.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004927/1.436, allocations: 365.5 kB / 0.5935 GB, free: 88.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002117/1.438, allocations: 481.5 kB / 0.594 GB, free: 88.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/1.46, allocations: 6.545 MB / 0.6004 GB, free: 85.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002415/1.46, allocations: 7.375 kB / 0.6004 GB, free: 85.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001733/1.462, allocations: 207.5 kB / 0.6006 GB, free: 85.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002903/1.462, allocations: 232.1 kB / 0.6008 GB, free: 85.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/1.479, allocations: 5.34 MB / 0.606 GB, free: 82.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05288/1.532, allocations: 20.99 MB / 0.6265 GB, free: 63.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/1.545, allocations: 9.8 MB / 0.6361 GB, free: 52.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005711/1.551, allocations: 2.405 MB / 0.6384 GB, free: 49.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01692/1.568, allocations: 6.51 MB / 0.6448 GB, free: 43.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/1.568, allocations: 56.56 kB / 0.6448 GB, free: 43.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=217): time 4.869e-06/1.568, allocations: 4 kB / 0.6448 GB, free: 43.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.01874/1.587, allocations: 7.259 MB / 0.6519 GB, free: 35.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/1.587, allocations: 73.41 kB / 0.652 GB, free: 35.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00559/1.592, allocations: 2.612 MB / 0.6545 GB, free: 33.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004904/1.593, allocations: 65.7 kB / 0.6546 GB, free: 33.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001632/1.594, allocations: 2.165 MB / 0.6567 GB, free: 30.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009478/1.595, allocations: 0.76 MB / 0.6575 GB, free: 30.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/1.596, allocations: 55.94 kB / 0.6575 GB, free: 30.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/1.596, allocations: 399 kB / 0.6579 GB, free: 29.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002753/1.599, allocations: 1.208 MB / 0.6591 GB, free: 28.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003101/1.602, allocations: 1.763 MB / 0.6608 GB, free: 26.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/1.605, allocations: 1.505 MB / 0.6623 GB, free: 24.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/1.605, allocations: 4 kB / 0.6623 GB, free: 24.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01671/1.622, allocations: 3.991 MB / 0.6662 GB, free: 20.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/1.622, allocations: 12.31 kB / 0.6662 GB, free: 20.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-05/1.622, allocations: 20 kB / 0.6662 GB, free: 20.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004288/1.626, allocations: 0.6476 MB / 0.6668 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006964/1.633, allocations: 0.5383 MB / 0.6673 GB, free: 19.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/1.655, allocations: 9.983 MB / 0.6771 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005666/1.661, allocations: 108.1 kB / 0.6772 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008438/1.662, allocations: 104.1 kB / 0.6773 GB, free: 8.949 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (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 initialization (269): * Single equations (assignments): 264 * 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%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001009/1.663, allocations: 252.3 kB / 0.6775 GB, free: 8.695 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/1.664, allocations: 316.2 kB / 0.6778 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.68, allocations: 3.782 MB / 0.6815 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-05/1.68, allocations: 24 kB / 0.6816 GB, free: 4.508 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.436e-05/1.681, allocations: 11.98 kB / 0.6816 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.37e-05/1.681, allocations: 7.969 kB / 0.6816 GB, free: 4.488 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3558/2.036, allocations: 8.391 MB / 0.6898 GB, free: 82.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.043e-05/2.036, allocations: 3.297 kB / 0.6898 GB, free: 82.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/2.04, allocations: 342.6 kB / 0.6901 GB, free: 82.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003941/2.044, allocations: 0.8085 MB / 0.6909 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005019/2.044, allocations: 54.89 kB / 0.6909 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02165/2.066, allocations: 14.36 MB / 0.705 GB, free: 74.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/2.066, allocations: 7.359 kB / 0.705 GB, free: 74.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/2.081, allocations: 5.656 MB / 0.7105 GB, free: 74.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002764/2.084, allocations: 0.689 MB / 0.7112 GB, free: 74.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001265/2.085, allocations: 55.53 kB / 0.7112 GB, free: 74.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003662/2.089, allocations: 120.7 kB / 0.7113 GB, free: 74.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009505/2.09, allocations: 192.7 kB / 0.7115 GB, free: 74.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002666/2.09, allocations: 62.45 kB / 0.7116 GB, free: 74.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005512/2.096, allocations: 2.005 MB / 0.7135 GB, free: 73.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.244e-06/2.096, allocations: 0 / 0.7135 GB, free: 73.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005528/2.101, allocations: 0.9813 MB / 0.7145 GB, free: 73.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (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 (154): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(2,100.0%) 26,(1,100.0%) 8,(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.01506/2.116, allocations: 7.134 MB / 0.7215 GB, free: 72.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008789/2.125, allocations: 3.652 MB / 0.725 GB, free: 71.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/2.125, allocations: 5.094 kB / 0.725 GB, free: 71.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006188/2.131, allocations: 2.484 MB / 0.7275 GB, free: 69.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006787/2.138, allocations: 0.8695 MB / 0.7283 GB, free: 69.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0273/2.166, allocations: 9.11 MB / 0.7372 GB, free: 66.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006034/2.172, allocations: 3.516 MB / 0.7406 GB, free: 64.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004472/2.176, allocations: 0.743 MB / 0.7414 GB, free: 64.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004229/2.18, allocations: 1.81 MB / 0.7431 GB, free: 63.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.783e-06/2.181, allocations: 0 / 0.7431 GB, free: 63.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1948/2.375, allocations: 86.31 MB / 0.8274 GB, free: 7.172 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003772/2.376, allocations: 234.8 kB / 0.8276 GB, free: 6.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.69/8.066, allocations: 0 / 0.8276 GB, free: 6.93 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat does not exist to compare? outputFormat=mat