Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.805/1.805, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.831e-05, allocations: 4.625 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.08976, allocations: 44.49 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.438/0.5278, allocations: 106.8 MB / 406.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5282, allocations: 88.56 kB / 406.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8941/1.422, allocations: 183 MB / 0.576 GB, free: 55.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.285e-06/1.422, allocations: 0 / 0.576 GB, free: 55.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007492/1.423, allocations: 185.5 kB / 0.5762 GB, free: 55.38 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03117/1.454, allocations: 7.617 MB / 0.5836 GB, free: 52.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.454, allocations: 10.53 kB / 0.5837 GB, free: 52.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00406/1.458, allocations: 1.095 MB / 0.5847 GB, free: 52.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/1.473, allocations: 1.821 MB / 0.5865 GB, free: 52.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02231/1.495, allocations: 6.954 MB / 0.5933 GB, free: 50.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007212/1.496, allocations: 0.5956 MB / 0.5939 GB, free: 50.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003134/1.499, allocations: 0.7781 MB / 0.5946 GB, free: 50.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03152/1.531, allocations: 10.69 MB / 0.6051 GB, free: 47.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002926/1.531, allocations: 7.312 kB / 0.6051 GB, free: 47.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001898/1.533, allocations: 339.2 kB / 0.6054 GB, free: 46.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003907/1.533, allocations: 367.8 kB / 0.6058 GB, free: 46.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/1.56, allocations: 8.895 MB / 0.6144 GB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08144/1.641, allocations: 34.55 MB / 0.6482 GB, free: 19.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02679/1.668, allocations: 19.63 MB / 0.6674 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009439/1.677, allocations: 3.611 MB / 0.6709 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02611/1.704, allocations: 9.416 MB / 0.6801 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.058e-05/1.704, allocations: 76.98 kB / 0.6802 GB, free: 3.898 MB / 426.7 MB Notification: Performance of pre-optimization done (n=315): time 8.606e-06/1.704, allocations: 0 / 0.6802 GB, free: 3.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.325/2.029, allocations: 10.03 MB / 0.6899 GB, free: 68.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/2.029, allocations: 90.3 kB / 0.69 GB, free: 68.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01021/2.039, allocations: 3.826 MB / 0.6938 GB, free: 68.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007534/2.04, allocations: 82.7 kB / 0.6938 GB, free: 68.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003522/2.043, allocations: 3.536 MB / 0.6973 GB, free: 66.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001673/2.045, allocations: 1.079 MB / 0.6984 GB, free: 66.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/2.046, allocations: 80.28 kB / 0.6984 GB, free: 66.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002914/2.046, allocations: 459.3 kB / 0.6989 GB, free: 65.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/2.05, allocations: 1.683 MB / 0.7005 GB, free: 65.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00453/2.055, allocations: 2.697 MB / 0.7031 GB, free: 64.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00484/2.059, allocations: 2.167 MB / 0.7053 GB, free: 64.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.712e-05/2.059, allocations: 8.719 kB / 0.7053 GB, free: 64.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01384/2.073, allocations: 5.654 MB / 0.7108 GB, free: 64.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/2.073, allocations: 18.41 kB / 0.7108 GB, free: 64.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.744e-05/2.073, allocations: 28.91 kB / 0.7108 GB, free: 64.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003029/2.076, allocations: 0.8033 MB / 0.7116 GB, free: 63.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005974/2.082, allocations: 0.8059 MB / 0.7124 GB, free: 63.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/2.101, allocations: 14.79 MB / 0.7269 GB, free: 54.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/2.106, allocations: 185.1 kB / 0.727 GB, free: 54.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005458/2.107, allocations: 160.6 kB / 0.7272 GB, free: 54.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008958/2.108, allocations: 342.7 kB / 0.7275 GB, free: 54.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/2.109, allocations: 456.7 kB / 0.7279 GB, free: 54.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/2.122, allocations: 5.385 MB / 0.7332 GB, free: 53.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/2.122, allocations: 38.02 kB / 0.7332 GB, free: 53.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.518e-05/2.122, allocations: 19.25 kB / 0.7333 GB, free: 53.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.192e-05/2.122, allocations: 12.7 kB / 0.7333 GB, free: 53.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03055/2.153, allocations: 12.32 MB / 0.7453 GB, free: 50.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/2.153, allocations: 2.719 kB / 0.7453 GB, free: 50.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003124/2.156, allocations: 375.4 kB / 0.7457 GB, free: 50.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005509/2.161, allocations: 1.36 MB / 0.747 GB, free: 50.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004188/2.162, allocations: 97.7 kB / 0.7471 GB, free: 50.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03321/2.195, allocations: 23.91 MB / 0.7704 GB, free: 32.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/2.195, allocations: 9.219 kB / 0.7705 GB, free: 32.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/2.213, allocations: 8.175 MB / 0.7784 GB, free: 28.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003391/2.216, allocations: 0.9554 MB / 0.7794 GB, free: 27.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/2.217, allocations: 77.67 kB / 0.7794 GB, free: 27.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003858/2.221, allocations: 190.7 kB / 0.7796 GB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009685/2.222, allocations: 322 kB / 0.7799 GB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003015/2.222, allocations: 90.22 kB / 0.78 GB, free: 27.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006189/2.229, allocations: 2.918 MB / 0.7829 GB, free: 26.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.42e-07/2.229, allocations: 0 / 0.7829 GB, free: 26.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007856/2.236, allocations: 1.475 MB / 0.7843 GB, free: 26.03 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(6,72.2%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01875/2.255, allocations: 10.03 MB / 0.7941 GB, free: 20.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01096/2.266, allocations: 5.226 MB / 0.7992 GB, free: 17.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/2.266, allocations: 3.281 kB / 0.7992 GB, free: 17.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008622/2.275, allocations: 3.861 MB / 0.803 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008235/2.283, allocations: 1.165 MB / 0.8041 GB, free: 15.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.038/2.321, allocations: 14.1 MB / 0.8179 GB, free: 3.434 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01113/2.332, allocations: 5.413 MB / 0.8232 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006195/2.339, allocations: 1.006 MB / 0.8242 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006981/2.346, allocations: 3.02 MB / 0.8271 GB, free: 12.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.353e-06/2.346, allocations: 0 / 0.8271 GB, free: 12.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5829/2.929, allocations: 125.5 MB / 0.9497 GB, free: 42.33 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/2.929, allocations: 206.2 kB / 0.9499 GB, free: 42.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/9.817, allocations: 0 / 0.9499 GB, free: 42.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase_res.mat does not exist to compare? outputFormat=mat