Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMPM_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.363e-05, allocations: 0 / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09081/0.09088, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.5355, allocations: 111.3 MB / 411.3 MB, free: 9.453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.5359, allocations: 89.42 kB / 411.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9288/1.465, allocations: 169.1 MB / 0.5669 GB, free: 57.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.474e-06/1.465, allocations: 0 / 0.5669 GB, free: 57.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006898/1.465, allocations: 173.6 kB / 0.567 GB, free: 57.39 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: 1927 * Number of variables: 1927 Notification: Performance of Generate backend data structure: time 0.02908/1.495, allocations: 6.666 MB / 0.5736 GB, free: 54.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.495, allocations: 11.09 kB / 0.5736 GB, free: 54.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004274/1.499, allocations: 0.985 MB / 0.5745 GB, free: 54.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/1.512, allocations: 1.595 MB / 0.5761 GB, free: 54.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02192/1.534, allocations: 5.907 MB / 0.5818 GB, free: 53.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007681/1.535, allocations: 0.5353 MB / 0.5824 GB, free: 53.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003214/1.538, allocations: 0.7063 MB / 0.5831 GB, free: 53.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03231/1.571, allocations: 9.263 MB / 0.5921 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004886/1.571, allocations: 12.88 kB / 0.5921 GB, free: 52.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002761/1.574, allocations: 308.3 kB / 0.5924 GB, free: 52.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004476/1.575, allocations: 333.6 kB / 0.5927 GB, free: 52.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02536/1.6, allocations: 7.438 MB / 0.6 GB, free: 49.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08293/1.683, allocations: 30.57 MB / 0.6299 GB, free: 32.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02282/1.706, allocations: 15.93 MB / 0.6454 GB, free: 17.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008036/1.714, allocations: 3.039 MB / 0.6484 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02573/1.74, allocations: 8.152 MB / 0.6563 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/1.74, allocations: 64.78 kB / 0.6564 GB, free: 7.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=281): time 6.402e-06/1.74, allocations: 0 / 0.6564 GB, free: 7.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=289): time 0.02486/1.765, allocations: 8.338 MB / 0.6645 GB, free: 136 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/1.765, allocations: 88.92 kB / 0.6646 GB, free: 36 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/1.775, allocations: 3.177 MB / 0.6677 GB, free: 13.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006641/1.776, allocations: 73.7 kB / 0.6678 GB, free: 13.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004028/1.78, allocations: 3.168 MB / 0.6709 GB, free: 10.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001681/1.781, allocations: 0.994 MB / 0.6719 GB, free: 9.379 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004937/1.782, allocations: 72 kB / 0.6719 GB, free: 9.309 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000387/1.782, allocations: 454.8 kB / 0.6724 GB, free: 8.902 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004533/1.787, allocations: 1.389 MB / 0.6737 GB, free: 7.613 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005663/1.792, allocations: 2.502 MB / 0.6762 GB, free: 4.777 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005693/1.798, allocations: 1.883 MB / 0.678 GB, free: 3.102 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-05/1.798, allocations: 8 kB / 0.678 GB, free: 3.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=474) (initialization): time 0.3293/2.128, allocations: 5.018 MB / 0.6829 GB, free: 67.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.161e-05/2.128, allocations: 22.67 kB / 0.6829 GB, free: 67.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.867e-05/2.128, allocations: 40.97 kB / 0.683 GB, free: 67.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/2.13, allocations: 398.8 kB / 0.6833 GB, free: 67.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007124/2.137, allocations: 0.8585 MB / 0.6842 GB, free: 67.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009123/2.146, allocations: 7.32 MB / 0.6913 GB, free: 62.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/2.151, allocations: 182.4 kB / 0.6915 GB, free: 62.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009385/2.152, allocations: 162.2 kB / 0.6917 GB, free: 62.66 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 (449): * Single equations (assignments): 443 * 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,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001248/2.154, allocations: 343.5 kB / 0.692 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/2.155, allocations: 403 kB / 0.6924 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/2.17, allocations: 4.333 MB / 0.6966 GB, free: 62.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.015e-05/2.17, allocations: 30.31 kB / 0.6966 GB, free: 62.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.184e-05/2.17, allocations: 13.36 kB / 0.6967 GB, free: 62.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.404e-05/2.17, allocations: 17.86 kB / 0.6967 GB, free: 62.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03108/2.201, allocations: 10.34 MB / 0.7068 GB, free: 61.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.195e-05/2.201, allocations: 3.75 kB / 0.7068 GB, free: 61.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004107/2.206, allocations: 447 kB / 0.7072 GB, free: 61.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003833/2.209, allocations: 0.8779 MB / 0.7081 GB, free: 61.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006454/2.21, allocations: 76.95 kB / 0.7081 GB, free: 61.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02288/2.233, allocations: 16.24 MB / 0.724 GB, free: 51.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/2.233, allocations: 8.5 kB / 0.724 GB, free: 51.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01634/2.249, allocations: 6.694 MB / 0.7305 GB, free: 50.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003136/2.253, allocations: 0.8141 MB / 0.7313 GB, free: 50.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001663/2.254, allocations: 69.8 kB / 0.7314 GB, free: 50.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004644/2.259, allocations: 157.8 kB / 0.7316 GB, free: 50.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001017/2.26, allocations: 219.7 kB / 0.7318 GB, free: 50.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004008/2.261, allocations: 85.72 kB / 0.7318 GB, free: 50.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006598/2.267, allocations: 2.397 MB / 0.7342 GB, free: 50.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.22e-07/2.267, allocations: 2.844 kB / 0.7342 GB, free: 50.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007765/2.275, allocations: 1.27 MB / 0.7354 GB, free: 50.38 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 (219): * Single equations (assignments): 212 * 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.01829/2.293, allocations: 8.854 MB / 0.7441 GB, free: 46.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01021/2.304, allocations: 4.083 MB / 0.7481 GB, free: 44.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/2.304, allocations: 6.625 kB / 0.7481 GB, free: 44.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007393/2.311, allocations: 2.845 MB / 0.7508 GB, free: 42.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008638/2.32, allocations: 1.011 MB / 0.7518 GB, free: 42.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0403/2.36, allocations: 12.04 MB / 0.7636 GB, free: 37.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009123/2.369, allocations: 4.457 MB / 0.7679 GB, free: 36.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006337/2.376, allocations: 0.89 MB / 0.7688 GB, free: 36.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006498/2.382, allocations: 2.724 MB / 0.7715 GB, free: 33.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/2.382, allocations: 0 / 0.7715 GB, free: 33.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6094/2.992, allocations: 108.1 MB / 0.877 GB, free: 74.97 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/2.992, allocations: 207.7 kB / 0.8772 GB, free: 74.74 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/9.768, allocations: 0.5156 kB / 0.8772 GB, free: 74.74 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase_res.mat does not exist to compare? outputFormat=mat