Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.082/2.082, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.89e-05/4.902e-05, allocations: 7.984 kB / 269.5 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.5777, allocations: 105.4 MB / 422.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.5781, allocations: 87.48 kB / 422.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2048/0.7829, allocations: 46.1 MB / 468.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.7829, allocations: 0 / 468.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002685/0.7832, allocations: 55.94 kB / 468.6 MB, free: 7.68 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.008825/0.7921, allocations: 2.255 MB / 470.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.7921, allocations: 16.02 kB / 470.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/0.7933, allocations: 312 kB / 471.2 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.7949, allocations: 296.7 kB / 471.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005906/0.8008, allocations: 1.588 MB / 473.1 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/0.8011, allocations: 160.2 kB / 473.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009425/0.8021, allocations: 212.7 kB / 473.5 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008622/0.8107, allocations: 2.695 MB / 476.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001045/0.8109, allocations: 7.906 kB / 476.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004184/0.8113, allocations: 88 kB / 476.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/0.8115, allocations: 100.2 kB / 476.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007771/0.8193, allocations: 2.105 MB / 478.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0258/0.8451, allocations: 8.624 MB / 487.1 MB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/0.8493, allocations: 1.676 MB / 488.7 MB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/0.8516, allocations: 0.7928 MB / 489.5 MB, free: 2.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004956/0.8521, allocations: 215.2 kB / 489.7 MB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.8522, allocations: 47.56 kB / 489.8 MB, free: 1.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=104): time 3.977e-06/0.8522, allocations: 0 / 489.8 MB, free: 1.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.02406/0.8762, allocations: 5.941 MB / 495.7 MB, free: 11.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.8764, allocations: 68.39 kB / 495.8 MB, free: 11.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003135/0.8795, allocations: 1.233 MB / 497 MB, free: 10.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000333/0.8799, allocations: 49.7 kB / 497.1 MB, free: 10.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.8811, allocations: 1.026 MB / 498.1 MB, free: 9.402 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007601/0.8819, allocations: 429.8 kB / 498.5 MB, free: 8.977 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.8821, allocations: 32 kB / 498.6 MB, free: 8.945 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.8823, allocations: 369.9 kB / 498.9 MB, free: 8.578 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.8843, allocations: 0.699 MB / 499.6 MB, free: 7.879 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.8867, allocations: 1.057 MB / 0.4889 GB, free: 6.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.8891, allocations: 0.8754 MB / 0.4898 GB, free: 5.793 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.8892, allocations: 4 kB / 0.4898 GB, free: 5.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007547/0.8967, allocations: 2.469 MB / 0.4922 GB, free: 3.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.8968, allocations: 12.25 kB / 0.4922 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.8968, allocations: 12 kB / 0.4922 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/0.8995, allocations: 0.5724 MB / 0.4928 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/0.9022, allocations: 339.5 kB / 0.4931 GB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.9155, allocations: 6.315 MB / 0.4993 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/0.9179, allocations: 115.8 kB / 0.4994 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/0.9182, allocations: 60 kB / 0.4995 GB, free: 11.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 154 * 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.0004249/0.9186, allocations: 192.5 kB / 0.4996 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004536/0.9191, allocations: 166 kB / 0.4998 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006685/0.9258, allocations: 2.277 MB / 0.502 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.9258, allocations: 12 kB / 0.502 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.9258, allocations: 4 kB / 0.502 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.601e-05/0.9259, allocations: 11.97 kB / 0.502 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/0.939, allocations: 4.684 MB / 0.5066 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.939, allocations: 4 kB / 0.5066 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/0.9408, allocations: 212 kB / 0.5068 GB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002999/0.9439, allocations: 0.6431 MB / 0.5075 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/0.9441, allocations: 27.98 kB / 0.5075 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3009/1.245, allocations: 8.038 MB / 0.5153 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.245, allocations: 3.531 kB / 0.5153 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009134/1.254, allocations: 3.404 MB / 0.5187 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.256, allocations: 396.1 kB / 0.519 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003875/1.256, allocations: 28.7 kB / 0.5191 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/1.258, allocations: 97.73 kB / 0.5192 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004296/1.258, allocations: 101.7 kB / 0.5193 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.258, allocations: 40.75 kB / 0.5193 GB, free: 113.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00232/1.261, allocations: 0.9477 MB / 0.5202 GB, free: 113.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.261, allocations: 0 / 0.5202 GB, free: 113.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002971/1.264, allocations: 0.5161 MB / 0.5207 GB, free: 113.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (98): * Single equations (assignments): 95 * 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,72.2%) 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.01026/1.274, allocations: 4.764 MB / 0.5254 GB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005989/1.28, allocations: 2.212 MB / 0.5275 GB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.28, allocations: 0 / 0.5275 GB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004002/1.284, allocations: 1.432 MB / 0.5289 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.288, allocations: 381 kB / 0.5293 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.3, allocations: 4.258 MB / 0.5335 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/1.302, allocations: 1.863 MB / 0.5353 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001986/1.304, allocations: 355.2 kB / 0.5356 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/1.306, allocations: 0.8232 MB / 0.5364 GB, free: 109.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.713e-06/1.306, allocations: 0 / 0.5364 GB, free: 109.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/1.417, allocations: 44.17 MB / 0.5795 GB, free: 91.84 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/1.417, allocations: 208.5 kB / 0.5797 GB, free: 91.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.218/5.635, allocations: 4.062 kB / 0.5798 GB, free: 91.61 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat does not exist to compare? outputFormat=mat