Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.089/2.089, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.04e-05, allocations: 0 / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 50.42 MB / 342.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4728/0.5788, allocations: 105.4 MB / 448 MB, free: 4.848 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.5792, allocations: 93.69 kB / 448.1 MB, free: 4.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2124/0.7916, allocations: 39.49 MB / 487.6 MB, free: 1.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.7916, allocations: 0 / 487.6 MB, free: 1.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002778/0.7919, allocations: 47.92 kB / 487.6 MB, free: 1.414 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.006606/0.7985, allocations: 1.753 MB / 489.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.7986, allocations: 8.031 kB / 489.4 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008486/0.7995, allocations: 232.1 kB / 489.6 MB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.8008, allocations: 237.4 kB / 489.9 MB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/0.8052, allocations: 1.269 MB / 491.1 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.8054, allocations: 119.1 kB / 491.2 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005808/0.806, allocations: 152 kB / 491.4 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00578/0.8118, allocations: 1.934 MB / 493.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-05/0.8119, allocations: 3.906 kB / 493.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.8122, allocations: 67.98 kB / 493.4 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.8123, allocations: 74.92 kB / 493.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005266/0.8176, allocations: 1.521 MB / 495 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01807/0.8357, allocations: 6.863 MB / 0.4901 GB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.8371, allocations: 475 kB / 0.4905 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006904/0.8378, allocations: 274.1 kB / 0.4908 GB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004609/0.8424, allocations: 1.463 MB / 0.4922 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.8425, allocations: 42.5 kB / 0.4923 GB, free: 396 kB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 3.737e-06/0.8425, allocations: 0 / 0.4923 GB, free: 396 kB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.01114/0.8537, allocations: 2.826 MB / 0.495 GB, free: 13.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00378/0.8575, allocations: 2.162 MB / 0.4971 GB, free: 11.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003416/0.861, allocations: 1.372 MB / 0.4985 GB, free: 9.781 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.8612, allocations: 37.7 kB / 0.4985 GB, free: 9.738 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.8624, allocations: 1.033 MB / 0.4995 GB, free: 8.691 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.8627, allocations: 201.4 kB / 0.4997 GB, free: 8.492 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.8629, allocations: 32 kB / 0.4998 GB, free: 8.461 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.8631, allocations: 369.9 kB / 0.5001 GB, free: 8.094 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.8645, allocations: 483.8 kB / 0.5006 GB, free: 7.621 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.8667, allocations: 1.391 MB / 0.5019 GB, free: 5.773 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/0.8687, allocations: 0.7625 MB / 0.5027 GB, free: 5.012 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.392e-05/0.8688, allocations: 8 kB / 0.5027 GB, free: 5.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005726/0.8745, allocations: 1.959 MB / 0.5046 GB, free: 3.027 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/0.8746, allocations: 20.22 kB / 0.5046 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.287e-05/0.8747, allocations: 39.95 kB / 0.5047 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000929/0.8756, allocations: 234.3 kB / 0.5049 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/0.8781, allocations: 375.3 kB / 0.5052 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.8805, allocations: 1.742 MB / 0.5069 GB, free: 500 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.8829, allocations: 123.5 kB / 0.5071 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.8832, allocations: 99.98 kB / 0.5071 GB, free: 276 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 192 * 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: 1 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003659/0.8835, allocations: 222.6 kB / 0.5074 GB, free: 48 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/0.8839, allocations: 146.2 kB / 0.5075 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.887, allocations: 1.039 MB / 0.5085 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.8871, allocations: 8 kB / 0.5085 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8871, allocations: 0 / 0.5085 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.8871, allocations: 7.984 kB / 0.5085 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008758/0.8959, allocations: 3.081 MB / 0.5115 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.8959, allocations: 4 kB / 0.5115 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/0.8968, allocations: 95.81 kB / 0.5116 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.8979, allocations: 230.8 kB / 0.5119 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.898, allocations: 20.02 kB / 0.5119 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005648/0.9036, allocations: 3.718 MB / 0.5155 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002991/0.9067, allocations: 2.01 MB / 0.5175 GB, free: 5.129 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/0.9108, allocations: 1.806 MB / 0.5192 GB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009812/0.9118, allocations: 295.1 kB / 0.5195 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/0.9122, allocations: 12 kB / 0.5195 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.9134, allocations: 43.95 kB / 0.5196 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.9136, allocations: 63.88 kB / 0.5196 GB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.637e-05/0.9137, allocations: 23.94 kB / 0.5196 GB, free: 2.727 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002501/0.9162, allocations: 1.011 MB / 0.5206 GB, free: 1.719 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.9162, allocations: 0 / 0.5206 GB, free: 1.719 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002783/0.919, allocations: 408 kB / 0.521 GB, free: 1.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.3036/1.223, allocations: 3.445 MB / 0.5244 GB, free: 120.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004246/1.227, allocations: 1.47 MB / 0.5258 GB, free: 120.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/1.227, allocations: 3.469 kB / 0.5258 GB, free: 120.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00191/1.229, allocations: 0.7794 MB / 0.5266 GB, free: 119.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/1.232, allocations: 382.9 kB / 0.527 GB, free: 119.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008783/1.241, allocations: 2.779 MB / 0.5297 GB, free: 119 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/1.243, allocations: 1.5 MB / 0.5311 GB, free: 118.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002133/1.245, allocations: 350.5 kB / 0.5315 GB, free: 118.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.246, allocations: 0.6222 MB / 0.5321 GB, free: 118.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/1.246, allocations: 0 / 0.5321 GB, free: 118.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/1.348, allocations: 37.17 MB / 0.5684 GB, free: 113.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002857/1.349, allocations: 214.8 kB / 0.5686 GB, free: 113.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/5.061, allocations: 0 / 0.5686 GB, free: 113.6 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat does not exist to compare? outputFormat=mat