Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.31e-05, allocations: 4 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/0.6097, allocations: 104.9 MB / 422 MB, free: 15.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/0.6101, allocations: 85.33 kB / 422.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1779/0.788, allocations: 39.52 MB / 461.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.7881, allocations: 0 / 461.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000199/0.7883, allocations: 40 kB / 461.6 MB, free: 13.6 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.006451/0.7948, allocations: 1.749 MB / 463.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.7948, allocations: 8.031 kB / 463.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000904/0.7958, allocations: 229.6 kB / 463.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.7971, allocations: 237.4 kB / 463.8 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/0.8015, allocations: 1.27 MB / 465.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.8017, allocations: 111.6 kB / 465.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005451/0.8023, allocations: 157.7 kB / 465.4 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006758/0.8091, allocations: 1.939 MB / 467.3 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.612e-05/0.8092, allocations: 7.938 kB / 467.3 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003557/0.8096, allocations: 67.98 kB / 467.4 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.8098, allocations: 66.92 kB / 467.4 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006072/0.8159, allocations: 1.521 MB / 469 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04193/0.8578, allocations: 6.867 MB / 475.8 MB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.8615, allocations: 476.1 kB / 476.3 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009506/0.8625, allocations: 282.7 kB / 476.6 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0057/0.8682, allocations: 1.466 MB / 478 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.8683, allocations: 38.56 kB / 478.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 3.697e-06/0.8683, allocations: 0 / 478.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.02395/0.8923, allocations: 2.831 MB / 480.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003677/0.896, allocations: 2.154 MB / 483.1 MB, free: 8.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003421/0.8994, allocations: 1.376 MB / 484.4 MB, free: 6.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.8996, allocations: 33.7 kB / 484.5 MB, free: 6.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.9008, allocations: 1.037 MB / 485.5 MB, free: 5.867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.9011, allocations: 209.3 kB / 485.7 MB, free: 5.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.9012, allocations: 31.94 kB / 485.7 MB, free: 5.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.9015, allocations: 373.9 kB / 486.1 MB, free: 5.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.9028, allocations: 495.8 kB / 486.6 MB, free: 4.773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.9048, allocations: 1.383 MB / 488 MB, free: 2.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001859/0.9067, allocations: 0.7625 MB / 488.7 MB, free: 2.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.059e-05/0.9068, allocations: 16 kB / 488.7 MB, free: 2.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005329/0.9121, allocations: 1.963 MB / 490.7 MB, free: 180 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.9122, allocations: 20 kB / 490.7 MB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.733e-05/0.9123, allocations: 32 kB / 490.8 MB, free: 128 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009706/0.9132, allocations: 226.5 kB / 491 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/0.9156, allocations: 379.5 kB / 491.4 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.9182, allocations: 1.745 MB / 493.1 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.9205, allocations: 128 kB / 493.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.9207, allocations: 92 kB / 493.3 MB, free: 13.43 MB / 410.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.0003695/0.9211, allocations: 228.1 kB / 493.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.9214, allocations: 150.2 kB / 493.7 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003059/0.9245, allocations: 1.035 MB / 494.7 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.9245, allocations: 12 kB / 494.7 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.9245, allocations: 3.953 kB / 494.7 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.9245, allocations: 3.984 kB / 494.7 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009011/0.9336, allocations: 3.078 MB / 497.8 MB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.9336, allocations: 8.031 kB / 497.8 MB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008034/0.9344, allocations: 91.86 kB / 497.9 MB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.9356, allocations: 230.3 kB / 498.1 MB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.599e-05/0.9357, allocations: 19.98 kB / 498.2 MB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005942/0.9417, allocations: 3.718 MB / 0.4901 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003162/0.9449, allocations: 2.002 MB / 0.4921 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/0.9491, allocations: 1.8 MB / 0.4938 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009592/0.9501, allocations: 299.3 kB / 0.4941 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003955/0.9505, allocations: 12 kB / 0.4941 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.952, allocations: 48.02 kB / 0.4942 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.9522, allocations: 59.88 kB / 0.4942 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.9523, allocations: 19.98 kB / 0.4942 GB, free: 15.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002705/0.955, allocations: 1.015 MB / 0.4952 GB, free: 14.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.9551, allocations: 0 / 0.4952 GB, free: 14.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002728/0.9578, allocations: 404 kB / 0.4956 GB, free: 14.47 MB / 426.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.005631/0.9635, allocations: 3.454 MB / 0.499 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003916/0.9674, allocations: 1.463 MB / 0.5004 GB, free: 9.402 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.9675, allocations: 3.938 kB / 0.5004 GB, free: 9.398 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.9695, allocations: 0.7828 MB / 0.5012 GB, free: 8.574 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/0.9727, allocations: 381.2 kB / 0.5016 GB, free: 8.199 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008958/0.9817, allocations: 2.785 MB / 0.5043 GB, free: 5.316 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.9835, allocations: 1.495 MB / 0.5057 GB, free: 3.793 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001923/0.9854, allocations: 353.6 kB / 0.5061 GB, free: 3.441 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.9868, allocations: 0.6203 MB / 0.5067 GB, free: 2.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/0.9868, allocations: 0 / 0.5067 GB, free: 2.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4168/1.404, allocations: 37.16 MB / 0.543 GB, free: 117.9 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/1.404, allocations: 211.4 kB / 0.5432 GB, free: 117.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.913/5.317, allocations: 1.75 kB / 0.5432 GB, free: 117.6 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat does not exist to compare? outputFormat=mat