Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.192/2.192, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.192e-05, allocations: 0 / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 50.41 MB / 342.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5258/0.6427, allocations: 107.9 MB / 450.6 MB, free: 2.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/0.6431, allocations: 82.39 kB / 450.6 MB, free: 2.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2212/0.8643, allocations: 50.47 MB / 0.4894 GB, free: 3.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.8643, allocations: 3.938 kB / 0.4894 GB, free: 3.801 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003084/0.8647, allocations: 67.94 kB / 0.4894 GB, free: 3.734 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.009636/0.8743, allocations: 2.503 MB / 0.4919 GB, free: 1.172 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.8744, allocations: 12.03 kB / 0.4919 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001363/0.8758, allocations: 333.4 kB / 0.4922 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.8776, allocations: 336.3 kB / 0.4925 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/0.8839, allocations: 1.779 MB / 0.4943 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.8842, allocations: 176.7 kB / 0.4944 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009354/0.8852, allocations: 236.6 kB / 0.4947 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009673/0.8949, allocations: 3.012 MB / 0.4976 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.8951, allocations: 7.906 kB / 0.4976 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004883/0.8956, allocations: 92 kB / 0.4977 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/0.8958, allocations: 104.6 kB / 0.4978 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008051/0.9039, allocations: 2.43 MB / 0.5002 GB, free: 8.457 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02806/0.932, allocations: 9.747 MB / 0.5097 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.9366, allocations: 2.143 MB / 0.5118 GB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/0.9392, allocations: 0.9294 MB / 0.5127 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004961/0.9397, allocations: 219.1 kB / 0.5129 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.9398, allocations: 48.22 kB / 0.5129 GB, free: 10.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=119): time 4.228e-06/0.9398, allocations: 3.938 kB / 0.513 GB, free: 10.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=141): time 0.0261/0.9659, allocations: 6.493 MB / 0.5193 GB, free: 4.312 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.966, allocations: 68.72 kB / 0.5194 GB, free: 4.234 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004158/0.9702, allocations: 1.504 MB / 0.5208 GB, free: 2.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003958/0.9706, allocations: 53.7 kB / 0.5209 GB, free: 2.672 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.9719, allocations: 1.132 MB / 0.522 GB, free: 1.523 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008195/0.9728, allocations: 488.9 kB / 0.5224 GB, free: 1.039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.973, allocations: 32 kB / 0.5225 GB, free: 1.008 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.9732, allocations: 369.8 kB / 0.5228 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.313/1.286, allocations: 0.7979 MB / 0.5236 GB, free: 112.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0027/1.289, allocations: 1.168 MB / 0.5248 GB, free: 112.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/1.292, allocations: 0.9762 MB / 0.5257 GB, free: 112.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.752e-05/1.292, allocations: 3.75 kB / 0.5257 GB, free: 112.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.008494/1.301, allocations: 2.692 MB / 0.5283 GB, free: 112.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/1.301, allocations: 10.44 kB / 0.5283 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.364e-05/1.301, allocations: 10.69 kB / 0.5284 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/1.303, allocations: 0.5834 MB / 0.5289 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/1.306, allocations: 368.4 kB / 0.5293 GB, free: 112.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/1.319, allocations: 6.316 MB / 0.5354 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/1.322, allocations: 116.2 kB / 0.5356 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004829/1.322, allocations: 64.25 kB / 0.5356 GB, free: 109.9 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * 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.0005154/1.323, allocations: 205.4 kB / 0.5358 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007323/1.324, allocations: 188.1 kB / 0.536 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007554/1.331, allocations: 2.515 MB / 0.5384 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/1.331, allocations: 13.69 kB / 0.5385 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.612e-05/1.331, allocations: 10.02 kB / 0.5385 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.385e-05/1.331, allocations: 7.172 kB / 0.5385 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/1.347, allocations: 5.264 MB / 0.5436 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/1.347, allocations: 1.375 kB / 0.5436 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0022/1.349, allocations: 234 kB / 0.5438 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003016/1.353, allocations: 0.6383 MB / 0.5445 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/1.353, allocations: 32.38 kB / 0.5445 GB, free: 109.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/1.365, allocations: 8.041 MB / 0.5524 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/1.366, allocations: 12.72 kB / 0.5524 GB, free: 105 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00947/1.375, allocations: 3.814 MB / 0.5561 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.377, allocations: 456.5 kB / 0.5565 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005249/1.377, allocations: 38.02 kB / 0.5566 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/1.379, allocations: 102.7 kB / 0.5567 GB, free: 102.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004446/1.379, allocations: 131.7 kB / 0.5568 GB, free: 102.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.38, allocations: 40.41 kB / 0.5568 GB, free: 102.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002313/1.382, allocations: 1.151 MB / 0.5579 GB, free: 102.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.382, allocations: 0 / 0.5579 GB, free: 102.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002855/1.385, allocations: 0.5744 MB / 0.5585 GB, free: 102.4 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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.00951/1.394, allocations: 5.266 MB / 0.5636 GB, free: 99.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00622/1.401, allocations: 2.435 MB / 0.566 GB, free: 98.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.401, allocations: 0 / 0.566 GB, free: 98.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004203/1.405, allocations: 1.598 MB / 0.5676 GB, free: 97.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/1.409, allocations: 434.5 kB / 0.568 GB, free: 97.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.422, allocations: 4.821 MB / 0.5727 GB, free: 95.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/1.424, allocations: 2.071 MB / 0.5747 GB, free: 94.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00231/1.427, allocations: 429.4 kB / 0.5751 GB, free: 94.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/1.429, allocations: 0.9161 MB / 0.576 GB, free: 94.01 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/1.429, allocations: 0 / 0.576 GB, free: 94.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1196/1.548, allocations: 49.79 MB / 0.6247 GB, free: 61.85 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/1.549, allocations: 195.4 kB / 0.6248 GB, free: 61.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.213/5.761, allocations: 0 / 0.6248 GB, free: 61.62 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat does not exist to compare? outputFormat=mat