Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.573e-05, allocations: 0 / 269.5 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.09904, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.5798, allocations: 117.1 MB / 434.2 MB, free: 3.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/0.5802, allocations: 85.08 kB / 434.2 MB, free: 3.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9347/1.515, allocations: 169.3 MB / 0.5894 GB, free: 77.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.515, allocations: 0 / 0.5894 GB, free: 77.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001098/1.516, allocations: 179.7 kB / 0.5896 GB, free: 77.66 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.03764/1.554, allocations: 6.683 MB / 0.5961 GB, free: 74.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.363e-05/1.554, allocations: 7.406 kB / 0.5961 GB, free: 74.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005524/1.559, allocations: 0.9958 MB / 0.5971 GB, free: 74.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01966/1.579, allocations: 1.6 MB / 0.5987 GB, free: 73.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02942/1.609, allocations: 5.951 MB / 0.6045 GB, free: 69.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009836/1.61, allocations: 0.5328 MB / 0.605 GB, free: 69.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003952/1.614, allocations: 0.7095 MB / 0.6057 GB, free: 68.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04185/1.656, allocations: 9.287 MB / 0.6147 GB, free: 58.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005474/1.656, allocations: 11.84 kB / 0.6148 GB, free: 58.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003319/1.66, allocations: 306.5 kB / 0.615 GB, free: 58.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005459/1.66, allocations: 346.6 kB / 0.6154 GB, free: 58.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03349/1.694, allocations: 7.452 MB / 0.6227 GB, free: 50.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1062/1.8, allocations: 30.65 MB / 0.6526 GB, free: 19.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02849/1.828, allocations: 15.98 MB / 0.6682 GB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3335/2.162, allocations: 3.032 MB / 0.6712 GB, free: 72.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02913/2.191, allocations: 8.19 MB / 0.6792 GB, free: 71.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.141e-05/2.191, allocations: 64.3 kB / 0.6792 GB, free: 71.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 5.891e-06/2.191, allocations: 0 / 0.6792 GB, free: 71.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=292): time 0.02916/2.22, allocations: 8.401 MB / 0.6874 GB, free: 69.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/2.221, allocations: 87.42 kB / 0.6875 GB, free: 69.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008188/2.229, allocations: 3.191 MB / 0.6906 GB, free: 69.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006141/2.229, allocations: 74.23 kB / 0.6907 GB, free: 69.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002804/2.232, allocations: 3.189 MB / 0.6938 GB, free: 68.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/2.234, allocations: 1.006 MB / 0.6948 GB, free: 67.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004891/2.234, allocations: 75.59 kB / 0.6949 GB, free: 67.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003081/2.235, allocations: 455.2 kB / 0.6953 GB, free: 67.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00395/2.239, allocations: 1.407 MB / 0.6967 GB, free: 67.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004894/2.244, allocations: 2.506 MB / 0.6991 GB, free: 65.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005188/2.249, allocations: 1.893 MB / 0.701 GB, free: 65.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.938e-05/2.249, allocations: 12.72 kB / 0.701 GB, free: 65.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=477) (initialization): time 0.01447/2.263, allocations: 4.766 MB / 0.7056 GB, free: 65.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/2.263, allocations: 21.94 kB / 0.7057 GB, free: 65.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.707e-05/2.264, allocations: 35.19 kB / 0.7057 GB, free: 65.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/2.265, allocations: 401.1 kB / 0.7061 GB, free: 65.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00705/2.272, allocations: 0.8737 MB / 0.7069 GB, free: 65.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008725/2.281, allocations: 7.323 MB / 0.7141 GB, free: 60.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005842/2.287, allocations: 190.5 kB / 0.7143 GB, free: 60.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009213/2.288, allocations: 159.8 kB / 0.7144 GB, free: 60.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (452): * Single equations (assignments): 446 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,88.9%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001478/2.289, allocations: 332 kB / 0.7147 GB, free: 59.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/2.291, allocations: 401.1 kB / 0.7151 GB, free: 59.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/2.306, allocations: 4.37 MB / 0.7194 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-05/2.306, allocations: 27.22 kB / 0.7194 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.212e-05/2.306, allocations: 12.81 kB / 0.7194 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.833e-05/2.306, allocations: 13.5 kB / 0.7194 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03235/2.338, allocations: 10.4 MB / 0.7296 GB, free: 54.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.466e-05/2.338, allocations: 7.469 kB / 0.7296 GB, free: 54.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004279/2.343, allocations: 449.6 kB / 0.73 GB, free: 54.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003822/2.346, allocations: 0.8828 MB / 0.7309 GB, free: 53.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006113/2.347, allocations: 79.69 kB / 0.731 GB, free: 53.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02326/2.37, allocations: 16.24 MB / 0.7468 GB, free: 41.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/2.37, allocations: 9.281 kB / 0.7468 GB, free: 41.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/2.388, allocations: 6.748 MB / 0.7534 GB, free: 37.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003325/2.391, allocations: 0.8131 MB / 0.7542 GB, free: 36.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001806/2.393, allocations: 72.09 kB / 0.7543 GB, free: 36.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004904/2.398, allocations: 154.8 kB / 0.7544 GB, free: 36.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/2.399, allocations: 217.2 kB / 0.7546 GB, free: 36.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005588/2.399, allocations: 88.12 kB / 0.7547 GB, free: 36.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006884/2.406, allocations: 2.416 MB / 0.7571 GB, free: 35.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.312e-06/2.406, allocations: 0 / 0.7571 GB, free: 35.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007989/2.414, allocations: 1.279 MB / 0.7583 GB, free: 35.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 215 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01962/2.434, allocations: 8.923 MB / 0.767 GB, free: 30.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01076/2.445, allocations: 4.11 MB / 0.771 GB, free: 27.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/2.445, allocations: 4 kB / 0.7711 GB, free: 27.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007534/2.452, allocations: 2.844 MB / 0.7738 GB, free: 24.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008973/2.461, allocations: 1.029 MB / 0.7748 GB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04114/2.503, allocations: 12.08 MB / 0.7866 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009264/2.512, allocations: 4.467 MB / 0.791 GB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006637/2.519, allocations: 0.8972 MB / 0.7919 GB, free: 9.176 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006696/2.525, allocations: 2.744 MB / 0.7946 GB, free: 6.625 MB / 426.7 MB Notification: Performance of SimCode: time 2.004e-06/2.525, allocations: 1.969 kB / 0.7946 GB, free: 6.625 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5906/3.116, allocations: 108.7 MB / 0.9007 GB, free: 90.65 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/3.116, allocations: 202.8 kB / 0.9009 GB, free: 90.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/10.6, allocations: 0 / 0.9009 GB, free: 90.43 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase_res.mat does not exist to compare? outputFormat=mat