Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.183/2.183, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.141e-05, allocations: 4 kB / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4786/0.5906, allocations: 105.3 MB / 448.5 MB, free: 5.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.591, allocations: 84.52 kB / 448.6 MB, free: 5.188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1698/0.7608, allocations: 39.49 MB / 488.1 MB, free: 1.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.7608, allocations: 0 / 488.1 MB, free: 1.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001945/0.7611, allocations: 47.92 kB / 488.1 MB, free: 1.543 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.006061/0.7671, allocations: 1.748 MB / 489.9 MB, free: 15.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.7672, allocations: 16.03 kB / 489.9 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007264/0.7679, allocations: 228.1 kB / 490.1 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.7691, allocations: 241.4 kB / 490.3 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004153/0.7732, allocations: 1.265 MB / 491.6 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.7734, allocations: 119.1 kB / 491.7 MB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004819/0.7739, allocations: 152 kB / 491.9 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005318/0.7792, allocations: 1.934 MB / 493.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-05/0.7794, allocations: 11.84 kB / 493.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002406/0.7796, allocations: 64 kB / 493.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/0.7798, allocations: 74.92 kB / 494 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005086/0.7849, allocations: 1.517 MB / 495.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.8019, allocations: 6.87 MB / 0.4906 GB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.8032, allocations: 468.2 kB / 0.491 GB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006707/0.8039, allocations: 278.1 kB / 0.4913 GB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004483/0.8084, allocations: 1.474 MB / 0.4927 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.8085, allocations: 34.56 kB / 0.4928 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 3.045e-06/0.8085, allocations: 0 / 0.4928 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.01015/0.8187, allocations: 2.817 MB / 0.4955 GB, free: 13.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003423/0.8221, allocations: 2.17 MB / 0.4976 GB, free: 11.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/0.8254, allocations: 1.372 MB / 0.499 GB, free: 9.898 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.8255, allocations: 33.7 kB / 0.499 GB, free: 9.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.8265, allocations: 1.033 MB / 0.5 GB, free: 8.812 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.8268, allocations: 201.4 kB / 0.5002 GB, free: 8.613 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.8269, allocations: 32 kB / 0.5002 GB, free: 8.582 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.8272, allocations: 369.9 kB / 0.5006 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.8284, allocations: 487.8 kB / 0.501 GB, free: 7.738 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/0.8304, allocations: 1.387 MB / 0.5024 GB, free: 5.898 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.8321, allocations: 0.7625 MB / 0.5031 GB, free: 5.137 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.694e-05/0.8321, allocations: 8 kB / 0.5032 GB, free: 5.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005141/0.8373, allocations: 1.967 MB / 0.5051 GB, free: 3.145 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.043e-05/0.8373, allocations: 16 kB / 0.5051 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/0.8374, allocations: 44.11 kB / 0.5051 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008877/0.8383, allocations: 226.4 kB / 0.5053 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.8404, allocations: 375.3 kB / 0.5057 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.8428, allocations: 1.738 MB / 0.5074 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.8449, allocations: 127.5 kB / 0.5075 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.8451, allocations: 95.98 kB / 0.5076 GB, free: 408 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.0003357/0.8454, allocations: 220.2 kB / 0.5078 GB, free: 180 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.8457, allocations: 150.1 kB / 0.508 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.8487, allocations: 1.039 MB / 0.509 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.8487, allocations: 8 kB / 0.509 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.8487, allocations: 4 kB / 0.509 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.8487, allocations: 3.984 kB / 0.509 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008425/0.8572, allocations: 3.085 MB / 0.512 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.8572, allocations: 4 kB / 0.512 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.858, allocations: 95.88 kB / 0.5121 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.8591, allocations: 226.8 kB / 0.5123 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.8592, allocations: 19.89 kB / 0.5123 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005658/0.8649, allocations: 3.714 MB / 0.516 GB, free: 7.418 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00309/0.868, allocations: 2.018 MB / 0.5179 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004321/0.8724, allocations: 1.806 MB / 0.5197 GB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.8734, allocations: 295.1 kB / 0.52 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.8737, allocations: 19.98 kB / 0.52 GB, free: 2.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.8749, allocations: 43.95 kB / 0.52 GB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.8751, allocations: 59.88 kB / 0.5201 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.44e-05/0.8752, allocations: 20 kB / 0.5201 GB, free: 2.848 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002469/0.8777, allocations: 1.011 MB / 0.5211 GB, free: 1.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.8777, allocations: 0 / 0.5211 GB, free: 1.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00271/0.8804, allocations: 408 kB / 0.5215 GB, free: 1.441 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.2982/1.179, allocations: 3.453 MB / 0.5249 GB, free: 120.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003761/1.182, allocations: 1.467 MB / 0.5263 GB, free: 120.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/1.182, allocations: 2.328 kB / 0.5263 GB, free: 120.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/1.184, allocations: 0.7883 MB / 0.5271 GB, free: 120.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003185/1.188, allocations: 377 kB / 0.5274 GB, free: 120.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00899/1.197, allocations: 2.783 MB / 0.5301 GB, free: 119.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/1.198, allocations: 1.497 MB / 0.5316 GB, free: 118.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002211/1.201, allocations: 350.2 kB / 0.5319 GB, free: 118.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/1.202, allocations: 0.6199 MB / 0.5326 GB, free: 118.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/1.202, allocations: 0 / 0.5326 GB, free: 118.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0973/1.3, allocations: 37.16 MB / 0.5688 GB, free: 114.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/1.3, allocations: 210.9 kB / 0.569 GB, free: 114 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.758/5.058, allocations: 2.156 kB / 0.569 GB, free: 114 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat does not exist to compare? outputFormat=mat