Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.181/2.181, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.558e-05, allocations: 4 kB / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 50.4 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.483/0.5994, allocations: 105.9 MB / 449 MB, free: 4.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.5998, allocations: 82.33 kB / 449.1 MB, free: 4.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2091/0.8089, allocations: 46.3 MB / 495.4 MB, free: 10.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.809, allocations: 0 / 495.4 MB, free: 10.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002969/0.8093, allocations: 67.86 kB / 495.5 MB, free: 10.16 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.008957/0.8183, allocations: 2.251 MB / 497.7 MB, free: 7.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.8184, allocations: 12.03 kB / 497.7 MB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001018/0.8194, allocations: 312 kB / 498 MB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.8207, allocations: 296.8 kB / 498.3 MB, free: 7.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005798/0.8265, allocations: 1.592 MB / 499.9 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.8268, allocations: 156.2 kB / 0.4884 GB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.8279, allocations: 219.9 kB / 0.4886 GB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.838, allocations: 2.675 MB / 0.4912 GB, free: 2.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/0.8382, allocations: 15.89 kB / 0.4912 GB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007724/0.839, allocations: 91.98 kB / 0.4913 GB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001871/0.8392, allocations: 92.19 kB / 0.4914 GB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007626/0.8468, allocations: 2.109 MB / 0.4934 GB, free: 76 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02607/0.873, allocations: 8.62 MB / 0.5018 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004035/0.8771, allocations: 1.675 MB / 0.5035 GB, free: 5.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.8792, allocations: 0.777 MB / 0.5042 GB, free: 4.637 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004812/0.8797, allocations: 223.1 kB / 0.5045 GB, free: 4.379 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.8798, allocations: 43.56 kB / 0.5045 GB, free: 4.328 MB / 426.7 MB Notification: Performance of pre-optimization done (n=104): time 6.121e-06/0.8798, allocations: 0 / 0.5045 GB, free: 4.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.02555/0.9054, allocations: 5.982 MB / 0.5103 GB, free: 14.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.9055, allocations: 64.41 kB / 0.5104 GB, free: 14.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/0.9085, allocations: 1.237 MB / 0.5116 GB, free: 12.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002865/0.9089, allocations: 45.7 kB / 0.5116 GB, free: 12.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.9099, allocations: 1.03 MB / 0.5127 GB, free: 11.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005579/0.9105, allocations: 441.7 kB / 0.5131 GB, free: 11.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.9106, allocations: 28 kB / 0.5131 GB, free: 11.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.9108, allocations: 357.9 kB / 0.5134 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/0.9127, allocations: 0.7029 MB / 0.5141 GB, free: 10.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.9147, allocations: 1.064 MB / 0.5152 GB, free: 9.137 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.9169, allocations: 0.8754 MB / 0.516 GB, free: 8.262 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.917, allocations: 4 kB / 0.516 GB, free: 8.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007846/0.9248, allocations: 2.481 MB / 0.5184 GB, free: 5.758 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.9249, allocations: 8 kB / 0.5185 GB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.925, allocations: 12 kB / 0.5185 GB, free: 5.738 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002758/0.9277, allocations: 0.5834 MB / 0.519 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/0.9306, allocations: 339.5 kB / 0.5194 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3105/1.241, allocations: 6.311 MB / 0.5255 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/1.244, allocations: 113.2 kB / 0.5256 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/1.244, allocations: 64.12 kB / 0.5257 GB, free: 114.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 155 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004569/1.245, allocations: 190.6 kB / 0.5259 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006157/1.245, allocations: 159.9 kB / 0.526 GB, free: 114.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.256, allocations: 2.292 MB / 0.5283 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-05/1.257, allocations: 13.81 kB / 0.5283 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.303e-05/1.257, allocations: 6.25 kB / 0.5283 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.3e-05/1.257, allocations: 6.375 kB / 0.5283 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02442/1.281, allocations: 4.724 MB / 0.5329 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.884e-05/1.281, allocations: 5.062 kB / 0.5329 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003134/1.284, allocations: 213 kB / 0.5331 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005319/1.29, allocations: 0.6324 MB / 0.5337 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004217/1.29, allocations: 34.08 kB / 0.5338 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02089/1.311, allocations: 8.051 MB / 0.5416 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.311, allocations: 9.844 kB / 0.5416 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009512/1.321, allocations: 3.426 MB / 0.545 GB, free: 109.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/1.322, allocations: 403.5 kB / 0.5454 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006366/1.323, allocations: 30.56 kB / 0.5454 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/1.325, allocations: 96.61 kB / 0.5455 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005958/1.326, allocations: 100 kB / 0.5456 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.326, allocations: 39.81 kB / 0.5456 GB, free: 109.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002658/1.329, allocations: 0.9472 MB / 0.5465 GB, free: 109.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.422e-06/1.329, allocations: 0 / 0.5465 GB, free: 109.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002969/1.332, allocations: 0.5197 MB / 0.5471 GB, free: 109.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009351/1.341, allocations: 4.851 MB / 0.5518 GB, free: 107 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005903/1.347, allocations: 2.223 MB / 0.554 GB, free: 106 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.347, allocations: 0 / 0.554 GB, free: 106 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004227/1.351, allocations: 1.443 MB / 0.5554 GB, free: 105.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003528/1.355, allocations: 378.1 kB / 0.5557 GB, free: 105.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/1.369, allocations: 4.277 MB / 0.5599 GB, free: 103.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002805/1.372, allocations: 1.864 MB / 0.5617 GB, free: 102.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002252/1.375, allocations: 357.7 kB / 0.5621 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002043/1.377, allocations: 0.8198 MB / 0.5629 GB, free: 102 MB / 442.7 MB Notification: Performance of SimCode: time 1.553e-06/1.377, allocations: 0 / 0.5629 GB, free: 102 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/1.494, allocations: 44.22 MB / 0.6061 GB, free: 80.77 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/1.495, allocations: 196.9 kB / 0.6062 GB, free: 80.55 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.052/5.547, allocations: 4 kB / 0.6062 GB, free: 80.54 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter_res.mat does not exist to compare? outputFormat=mat