Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.166/2.166, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.113e-05, allocations: 4 kB / 292.3 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 50.41 MB / 342.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4886/0.5945, allocations: 119.5 MB / 462.2 MB, free: 6.867 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5948, allocations: 97.28 kB / 462.3 MB, free: 6.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7942/1.389, allocations: 133.5 MB / 0.5819 GB, free: 93.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.389, allocations: 0 / 0.5819 GB, free: 93.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005167/1.39, allocations: 132.3 kB / 0.582 GB, free: 93.57 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.01898/1.409, allocations: 4.785 MB / 0.5867 GB, free: 91.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.409, allocations: 7.844 kB / 0.5867 GB, free: 91.74 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002523/1.411, allocations: 0.673 MB / 0.5873 GB, free: 91.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007454/1.419, allocations: 0.976 MB / 0.5883 GB, free: 91.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/1.434, allocations: 4.486 MB / 0.5927 GB, free: 88.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/1.435, allocations: 366.1 kB / 0.593 GB, free: 88.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001941/1.437, allocations: 478.1 kB / 0.5935 GB, free: 88.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01893/1.456, allocations: 6.539 MB / 0.5999 GB, free: 85.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001826/1.456, allocations: 11.53 kB / 0.5999 GB, free: 85.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/1.457, allocations: 204 kB / 0.6001 GB, free: 85.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002816/1.457, allocations: 235.9 kB / 0.6003 GB, free: 85.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01595/1.473, allocations: 5.345 MB / 0.6055 GB, free: 82.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05036/1.524, allocations: 20.99 MB / 0.626 GB, free: 63.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/1.536, allocations: 9.8 MB / 0.6356 GB, free: 52.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005667/1.542, allocations: 2.404 MB / 0.6379 GB, free: 49.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01692/1.559, allocations: 6.503 MB / 0.6443 GB, free: 43.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/1.559, allocations: 56.56 kB / 0.6443 GB, free: 43.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=217): time 5.671e-06/1.559, allocations: 4 kB / 0.6443 GB, free: 43.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.01912/1.578, allocations: 7.257 MB / 0.6514 GB, free: 35.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/1.578, allocations: 81.41 kB / 0.6515 GB, free: 35.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005831/1.584, allocations: 2.608 MB / 0.654 GB, free: 33.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004968/1.585, allocations: 69.7 kB / 0.6541 GB, free: 33.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/1.587, allocations: 2.167 MB / 0.6562 GB, free: 30.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009375/1.587, allocations: 0.7442 MB / 0.657 GB, free: 30.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/1.588, allocations: 55.94 kB / 0.657 GB, free: 30.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/1.588, allocations: 415 kB / 0.6574 GB, free: 29.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00273/1.591, allocations: 1.204 MB / 0.6586 GB, free: 28.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003041/1.594, allocations: 1.76 MB / 0.6603 GB, free: 26.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/1.597, allocations: 1.501 MB / 0.6618 GB, free: 24.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/1.597, allocations: 11.94 kB / 0.6618 GB, free: 24.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.009594/1.607, allocations: 3.987 MB / 0.6657 GB, free: 20.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/1.607, allocations: 12 kB / 0.6657 GB, free: 20.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/1.607, allocations: 16 kB / 0.6657 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002598/1.609, allocations: 0.6444 MB / 0.6663 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004369/1.614, allocations: 0.5461 MB / 0.6669 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/1.627, allocations: 9.992 MB / 0.6766 GB, free: 9.199 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/1.631, allocations: 104 kB / 0.6767 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005375/1.632, allocations: 99.98 kB / 0.6768 GB, free: 9 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.000615/1.632, allocations: 252.5 kB / 0.677 GB, free: 8.746 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009641/1.633, allocations: 316.2 kB / 0.6774 GB, free: 8.434 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009558/1.643, allocations: 3.792 MB / 0.6811 GB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/1.643, allocations: 20 kB / 0.6811 GB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.337e-05/1.643, allocations: 16 kB / 0.6811 GB, free: 4.543 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-05/1.643, allocations: 7.969 kB / 0.6811 GB, free: 4.535 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3459/1.989, allocations: 8.386 MB / 0.6893 GB, free: 82.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.938e-05/1.989, allocations: 6.078 kB / 0.6893 GB, free: 82.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003358/1.992, allocations: 341.2 kB / 0.6896 GB, free: 82.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004012/1.996, allocations: 0.8023 MB / 0.6904 GB, free: 82.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005079/1.997, allocations: 57.95 kB / 0.6905 GB, free: 82.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/2.019, allocations: 14.38 MB / 0.7045 GB, free: 74.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/2.019, allocations: 7.391 kB / 0.7045 GB, free: 74.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/2.033, allocations: 5.656 MB / 0.71 GB, free: 74.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002697/2.036, allocations: 0.6853 MB / 0.7107 GB, free: 74.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/2.037, allocations: 52.3 kB / 0.7107 GB, free: 74.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003522/2.041, allocations: 122 kB / 0.7109 GB, free: 74.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008888/2.042, allocations: 195.1 kB / 0.711 GB, free: 74.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002693/2.042, allocations: 65.11 kB / 0.7111 GB, free: 74.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005031/2.047, allocations: 2.005 MB / 0.7131 GB, free: 73.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.047, allocations: 0 / 0.7131 GB, free: 73.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005448/2.053, allocations: 0.9789 MB / 0.714 GB, free: 73.93 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.01474/2.067, allocations: 7.13 MB / 0.721 GB, free: 72.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008439/2.076, allocations: 3.661 MB / 0.7246 GB, free: 71.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/2.076, allocations: 1.656 kB / 0.7246 GB, free: 71.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005992/2.082, allocations: 2.488 MB / 0.727 GB, free: 69.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006938/2.089, allocations: 0.8551 MB / 0.7278 GB, free: 69.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02796/2.117, allocations: 9.113 MB / 0.7367 GB, free: 66.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006166/2.123, allocations: 3.514 MB / 0.7402 GB, free: 64.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004577/2.128, allocations: 0.7381 MB / 0.7409 GB, free: 64.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004146/2.132, allocations: 1.812 MB / 0.7426 GB, free: 63.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/2.132, allocations: 0 / 0.7426 GB, free: 63.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2504/2.382, allocations: 86.32 MB / 0.8269 GB, free: 7.246 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/2.383, allocations: 230.9 kB / 0.8272 GB, free: 7.008 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.669/8.052, allocations: 0 / 0.8272 GB, free: 7.008 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat does not exist to compare? outputFormat=mat