Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.872/1.872, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.029e-05, allocations: 4 kB / 269.5 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4587/0.559, allocations: 118.1 MB / 435.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.5594, allocations: 88.73 kB / 435.2 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7688/1.328, allocations: 133 MB / 0.5548 GB, free: 82.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.328, allocations: 3.656 kB / 0.5548 GB, free: 82.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007823/1.329, allocations: 127.7 kB / 0.555 GB, free: 82.97 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02008/1.349, allocations: 4.779 MB / 0.5596 GB, free: 81.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.349, allocations: 7.75 kB / 0.5596 GB, free: 81.16 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002868/1.352, allocations: 0.6686 MB / 0.5603 GB, free: 81.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007571/1.36, allocations: 0.9727 MB / 0.5612 GB, free: 80.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01522/1.375, allocations: 4.485 MB / 0.5656 GB, free: 80.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004362/1.375, allocations: 365.8 kB / 0.566 GB, free: 80.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001908/1.377, allocations: 483.7 kB / 0.5664 GB, free: 80.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/1.396, allocations: 6.549 MB / 0.5728 GB, free: 79.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/1.397, allocations: 5.188 kB / 0.5728 GB, free: 79.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00103/1.398, allocations: 208.9 kB / 0.573 GB, free: 79.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003059/1.398, allocations: 237.8 kB / 0.5732 GB, free: 79.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/1.415, allocations: 5.34 MB / 0.5785 GB, free: 77.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05237/1.467, allocations: 20.99 MB / 0.599 GB, free: 66.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/1.48, allocations: 9.799 MB / 0.6085 GB, free: 57.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00567/1.486, allocations: 2.407 MB / 0.6109 GB, free: 55.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01781/1.504, allocations: 6.5 MB / 0.6172 GB, free: 50.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/1.504, allocations: 60.56 kB / 0.6173 GB, free: 49.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=217): time 4.989e-06/1.504, allocations: 0 / 0.6173 GB, free: 49.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=224): time 0.01901/1.523, allocations: 7.247 MB / 0.6244 GB, free: 43.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/1.523, allocations: 77.36 kB / 0.6244 GB, free: 43.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/1.529, allocations: 2.614 MB / 0.627 GB, free: 40.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005338/1.53, allocations: 65.7 kB / 0.6271 GB, free: 40.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/1.531, allocations: 2.166 MB / 0.6292 GB, free: 38.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.532, allocations: 0.7476 MB / 0.6299 GB, free: 38.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/1.533, allocations: 52 kB / 0.63 GB, free: 38.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/1.533, allocations: 407.5 kB / 0.6303 GB, free: 37.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/1.536, allocations: 1.205 MB / 0.6315 GB, free: 36.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003342/1.539, allocations: 1.762 MB / 0.6332 GB, free: 34.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003563/1.543, allocations: 1.516 MB / 0.6347 GB, free: 33.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/1.543, allocations: 6.625 kB / 0.6347 GB, free: 33.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.009723/1.552, allocations: 3.996 MB / 0.6386 GB, free: 30.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/1.552, allocations: 15.95 kB / 0.6386 GB, free: 30.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/1.553, allocations: 19.69 kB / 0.6387 GB, free: 30.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/1.555, allocations: 0.6488 MB / 0.6393 GB, free: 29.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/1.559, allocations: 0.5467 MB / 0.6398 GB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/1.573, allocations: 9.979 MB / 0.6496 GB, free: 19.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/1.577, allocations: 115.8 kB / 0.6497 GB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003835/1.577, allocations: 96 kB / 0.6498 GB, free: 18.8 MB / 426.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.0006432/1.578, allocations: 262.6 kB / 0.65 GB, free: 18.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008452/1.579, allocations: 316.2 kB / 0.6503 GB, free: 18.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008993/1.588, allocations: 3.78 MB / 0.654 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/1.588, allocations: 20 kB / 0.654 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/1.588, allocations: 12 kB / 0.654 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/1.588, allocations: 7.969 kB / 0.6541 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/1.609, allocations: 8.395 MB / 0.6623 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.609, allocations: 0 / 0.6623 GB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003014/1.612, allocations: 347.7 kB / 0.6626 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003605/1.616, allocations: 0.8095 MB / 0.6634 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004742/1.616, allocations: 59.97 kB / 0.6634 GB, free: 4.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3457/1.962, allocations: 14.35 MB / 0.6774 GB, free: 70.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.962, allocations: 12.39 kB / 0.6775 GB, free: 70.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.976, allocations: 5.664 MB / 0.683 GB, free: 69.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002601/1.979, allocations: 0.6901 MB / 0.6837 GB, free: 69.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009966/1.98, allocations: 55.58 kB / 0.6837 GB, free: 69.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003085/1.983, allocations: 119.7 kB / 0.6838 GB, free: 69.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007176/1.984, allocations: 188 kB / 0.684 GB, free: 69.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/1.984, allocations: 66.48 kB / 0.6841 GB, free: 69.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004898/1.989, allocations: 2.005 MB / 0.686 GB, free: 69.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.989, allocations: 1.781 kB / 0.686 GB, free: 69.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005351/1.994, allocations: 0.9808 MB / 0.687 GB, free: 69.01 MB / 426.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 {(3,88.9%) 25,(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.01376/2.008, allocations: 7.097 MB / 0.6939 GB, free: 67.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008675/2.017, allocations: 3.664 MB / 0.6975 GB, free: 66.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/2.017, allocations: 0 / 0.6975 GB, free: 66.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006131/2.023, allocations: 2.493 MB / 0.6999 GB, free: 66.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006832/2.03, allocations: 0.8678 MB / 0.7008 GB, free: 66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/2.055, allocations: 9.114 MB / 0.7097 GB, free: 64.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005163/2.061, allocations: 3.518 MB / 0.7131 GB, free: 63.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004193/2.065, allocations: 0.743 MB / 0.7138 GB, free: 63.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003904/2.069, allocations: 1.811 MB / 0.7156 GB, free: 63.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/2.069, allocations: 0 / 0.7156 GB, free: 63.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1891/2.258, allocations: 86.25 MB / 0.7998 GB, free: 12.62 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/2.258, allocations: 207.2 kB / 0.8 GB, free: 12.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.703/7.961, allocations: 0 / 0.8 GB, free: 12.39 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat