Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.474e-05, allocations: 7.984 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.295, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.4833, allocations: 107.2 MB / 401.4 MB, free: 6.609 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004752/0.4839, allocations: 87.94 kB / 401.5 MB, free: 6.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8295/1.313, allocations: 157.2 MB / 0.5456 GB, free: 6.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.313, allocations: 0 / 0.5456 GB, free: 6.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007096/1.314, allocations: 163.8 kB / 0.5457 GB, free: 6.273 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.02881/1.343, allocations: 6.403 MB / 0.552 GB, free: 15.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.343, allocations: 8.031 kB / 0.552 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/1.356, allocations: 1.509 MB / 0.5535 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0214/1.377, allocations: 5.699 MB / 0.559 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005065/1.378, allocations: 228 kB / 0.5593 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002896/1.381, allocations: 419.8 kB / 0.5597 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02412/1.405, allocations: 6.878 MB / 0.5664 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3408/1.746, allocations: 7.997 MB / 0.5742 GB, free: 40.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003596/1.746, allocations: 9.469 kB / 0.5742 GB, free: 40.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002035/1.748, allocations: 4.625 kB / 0.5742 GB, free: 40.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004929/1.749, allocations: 324.5 kB / 0.5745 GB, free: 40.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06951/1.818, allocations: 27.46 MB / 0.6013 GB, free: 35.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02047/1.839, allocations: 16.23 MB / 0.6172 GB, free: 22.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006387/1.845, allocations: 2.728 MB / 0.6198 GB, free: 22.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02139/1.867, allocations: 7.469 MB / 0.6271 GB, free: 21.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/1.867, allocations: 64.73 kB / 0.6272 GB, free: 21.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=253): time 5.41e-06/1.867, allocations: 0 / 0.6272 GB, free: 21.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=259): time 0.02425/1.891, allocations: 8.039 MB / 0.635 GB, free: 19.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/1.891, allocations: 78.77 kB / 0.6351 GB, free: 19.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005519/1.897, allocations: 2.346 MB / 0.6374 GB, free: 18.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005412/1.897, allocations: 25.7 kB / 0.6374 GB, free: 18.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002346/1.9, allocations: 3.047 MB / 0.6404 GB, free: 16.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001118/1.901, allocations: 0.8559 MB / 0.6412 GB, free: 15.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/1.901, allocations: 0 / 0.6412 GB, free: 15.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/1.901, allocations: 436.3 kB / 0.6417 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/1.904, allocations: 1.227 MB / 0.6429 GB, free: 14.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003673/1.908, allocations: 2.23 MB / 0.645 GB, free: 12.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005484/1.913, allocations: 1.922 MB / 0.6469 GB, free: 12.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.346e-05/1.913, allocations: 12.88 kB / 0.6469 GB, free: 12.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01236/1.926, allocations: 4.346 MB / 0.6512 GB, free: 10.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/1.926, allocations: 21.95 kB / 0.6512 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.668e-05/1.926, allocations: 35.09 kB / 0.6512 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/1.927, allocations: 381.6 kB / 0.6516 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005819/1.933, allocations: 0.7874 MB / 0.6524 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/1.941, allocations: 7.032 MB / 0.6592 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004332/1.945, allocations: 92.28 kB / 0.6593 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007268/1.946, allocations: 150.8 kB / 0.6595 GB, free: 4.207 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (405): * Single equations (assignments): 399 * 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,(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007614/1.947, allocations: 202 kB / 0.6596 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01056/1.957, allocations: 3.721 MB / 0.6633 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.958, allocations: 331.2 kB / 0.6636 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/1.97, allocations: 4.019 MB / 0.6675 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/1.97, allocations: 23.53 kB / 0.6675 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.439e-05/1.97, allocations: 13.34 kB / 0.6676 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-05/1.97, allocations: 10.36 kB / 0.6676 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02511/1.995, allocations: 8.77 MB / 0.6761 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/1.995, allocations: 3.969 kB / 0.6761 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003538/1.999, allocations: 397.4 kB / 0.6765 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003614/2.003, allocations: 0.8292 MB / 0.6773 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005249/2.003, allocations: 40.84 kB / 0.6774 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/2.027, allocations: 15.4 MB / 0.6924 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/2.027, allocations: 12.02 kB / 0.6924 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/2.043, allocations: 6.058 MB / 0.6983 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/2.045, allocations: 0.6889 MB / 0.699 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/2.047, allocations: 18.06 kB / 0.699 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003454/2.05, allocations: 107.6 kB / 0.6991 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007976/2.051, allocations: 200.2 kB / 0.6993 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002753/2.051, allocations: 75.02 kB / 0.6994 GB, free: 12.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004345/2.055, allocations: 1.728 MB / 0.7011 GB, free: 11.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.056, allocations: 0 / 0.7011 GB, free: 11.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006969/2.062, allocations: 1.043 MB / 0.7021 GB, free: 10.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 185 * 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%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01811/2.081, allocations: 7.772 MB / 0.7097 GB, free: 3.473 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0094/2.09, allocations: 3.691 MB / 0.7133 GB, free: 40 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/2.09, allocations: 0 / 0.7133 GB, free: 40 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007104/2.097, allocations: 2.621 MB / 0.7158 GB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006005/2.103, allocations: 0.6605 MB / 0.7165 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04359/2.147, allocations: 11.33 MB / 0.7276 GB, free: 3.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3204/2.467, allocations: 4.341 MB / 0.7318 GB, free: 82.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005569/2.473, allocations: 0.7834 MB / 0.7326 GB, free: 82.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005688/2.479, allocations: 2.51 MB / 0.735 GB, free: 82.28 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/2.479, allocations: 0 / 0.735 GB, free: 82.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2852/2.764, allocations: 84.01 MB / 0.817 GB, free: 69.69 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/2.764, allocations: 178.4 kB / 0.8172 GB, free: 69.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.839/8.603, allocations: 0 / 0.8172 GB, free: 69.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat does not exist to compare? outputFormat=mat