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.853/1.853, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.658e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09214, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.5372, allocations: 106.8 MB / 406.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.5375, allocations: 84.95 kB / 406.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.014/1.551, allocations: 183 MB / 0.576 GB, free: 55.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.551, allocations: 0 / 0.576 GB, free: 55.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007511/1.552, allocations: 191.5 kB / 0.5762 GB, free: 55.52 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.03084/1.583, allocations: 7.605 MB / 0.5836 GB, free: 52.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.583, allocations: 6.594 kB / 0.5836 GB, free: 52.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004002/1.587, allocations: 1.101 MB / 0.5847 GB, free: 52.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/1.601, allocations: 1.823 MB / 0.5865 GB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02313/1.624, allocations: 6.956 MB / 0.5933 GB, free: 51.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007801/1.625, allocations: 0.5868 MB / 0.5938 GB, free: 51.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003288/1.629, allocations: 0.7891 MB / 0.5946 GB, free: 51.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03345/1.662, allocations: 10.78 MB / 0.6051 GB, free: 47.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004338/1.663, allocations: 11.62 kB / 0.6051 GB, free: 47.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002751/1.665, allocations: 338.9 kB / 0.6055 GB, free: 47.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004239/1.666, allocations: 372.1 kB / 0.6058 GB, free: 46.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02787/1.694, allocations: 8.996 MB / 0.6146 GB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08582/1.78, allocations: 34.55 MB / 0.6484 GB, free: 19.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02755/1.807, allocations: 19.68 MB / 0.6676 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01001/1.817, allocations: 3.606 MB / 0.6711 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02939/1.847, allocations: 9.421 MB / 0.6803 GB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.924e-05/1.847, allocations: 73.05 kB / 0.6804 GB, free: 3.715 MB / 426.7 MB Notification: Performance of pre-optimization done (n=315): time 6.432e-06/1.847, allocations: 0 / 0.6804 GB, free: 3.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.3368/2.184, allocations: 10.03 MB / 0.6902 GB, free: 68.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/2.184, allocations: 88.55 kB / 0.6902 GB, free: 68.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/2.196, allocations: 3.829 MB / 0.694 GB, free: 68.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007718/2.197, allocations: 80.42 kB / 0.6941 GB, free: 68.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004311/2.201, allocations: 3.538 MB / 0.6975 GB, free: 67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001719/2.203, allocations: 1.078 MB / 0.6986 GB, free: 66.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004482/2.203, allocations: 76.47 kB / 0.6986 GB, free: 66.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003352/2.204, allocations: 461.5 kB / 0.6991 GB, free: 66.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004781/2.209, allocations: 1.683 MB / 0.7007 GB, free: 66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005672/2.214, allocations: 2.721 MB / 0.7034 GB, free: 64.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005718/2.22, allocations: 2.165 MB / 0.7055 GB, free: 64.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-05/2.22, allocations: 11.19 kB / 0.7055 GB, free: 64.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01651/2.237, allocations: 5.739 MB / 0.7111 GB, free: 64.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/2.237, allocations: 23.12 kB / 0.7111 GB, free: 64.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.629e-05/2.237, allocations: 32.66 kB / 0.7112 GB, free: 64.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00333/2.24, allocations: 0.7985 MB / 0.7119 GB, free: 64.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006267/2.246, allocations: 0.8074 MB / 0.7127 GB, free: 64.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/2.266, allocations: 14.8 MB / 0.7272 GB, free: 55.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005726/2.271, allocations: 184 kB / 0.7274 GB, free: 55.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009456/2.272, allocations: 159.9 kB / 0.7275 GB, free: 55.07 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.001041/2.273, allocations: 344.4 kB / 0.7278 GB, free: 54.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001603/2.275, allocations: 454.9 kB / 0.7283 GB, free: 54.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01653/2.292, allocations: 5.386 MB / 0.7335 GB, free: 54.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.264e-05/2.292, allocations: 33.11 kB / 0.7336 GB, free: 54.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.833e-05/2.292, allocations: 21.78 kB / 0.7336 GB, free: 54.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.158e-05/2.292, allocations: 12.98 kB / 0.7336 GB, free: 54.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03711/2.329, allocations: 12.33 MB / 0.7456 GB, free: 50.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/2.329, allocations: 6.094 kB / 0.7456 GB, free: 50.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003395/2.332, allocations: 365.2 kB / 0.746 GB, free: 50.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005937/2.338, allocations: 1.375 MB / 0.7473 GB, free: 50.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007546/2.339, allocations: 92.33 kB / 0.7474 GB, free: 50.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03512/2.374, allocations: 23.93 MB / 0.7708 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/2.374, allocations: 7.625 kB / 0.7708 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02007/2.394, allocations: 8.163 MB / 0.7788 GB, free: 28.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003882/2.398, allocations: 0.9562 MB / 0.7797 GB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002053/2.4, allocations: 81.97 kB / 0.7798 GB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005147/2.406, allocations: 188.3 kB / 0.78 GB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001437/2.407, allocations: 323.9 kB / 0.7803 GB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004226/2.408, allocations: 98.92 kB / 0.7804 GB, free: 27.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007275/2.415, allocations: 2.913 MB / 0.7832 GB, free: 26.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.41e-07/2.415, allocations: 0 / 0.7832 GB, free: 26.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008405/2.423, allocations: 1.474 MB / 0.7846 GB, free: 26.04 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.02069/2.444, allocations: 10.02 MB / 0.7944 GB, free: 20.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01268/2.457, allocations: 5.36 MB / 0.7997 GB, free: 17.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/2.457, allocations: 3.75 kB / 0.7997 GB, free: 17.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009614/2.466, allocations: 3.961 MB / 0.8035 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00918/2.476, allocations: 1.164 MB / 0.8047 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04415/2.52, allocations: 14.13 MB / 0.8185 GB, free: 2.895 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01742/2.537, allocations: 5.645 MB / 0.824 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00712/2.545, allocations: 1.006 MB / 0.825 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008124/2.553, allocations: 3.016 MB / 0.8279 GB, free: 12.46 MB / 442.7 MB Notification: Performance of SimCode: time 2.384e-06/2.553, allocations: 3.281 kB / 0.8279 GB, free: 12.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6505/3.203, allocations: 126.2 MB / 0.9512 GB, free: 41.83 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/3.204, allocations: 207.7 kB / 0.9514 GB, free: 41.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/10.08, allocations: 0 / 0.9514 GB, free: 41.6 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