Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.647e-05/3.653e-05, allocations: 4 kB / 292.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1511, allocations: 50.41 MB / 342.7 MB, free: 5.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/0.629, allocations: 116.1 MB / 458.8 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.6294, allocations: 83.58 kB / 458.9 MB, free: 10.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2668/0.8962, allocations: 62.75 MB / 0.5094 GB, free: 15.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.8963, allocations: 0 / 0.5094 GB, free: 15.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003568/0.8967, allocations: 75.94 kB / 0.5095 GB, free: 15.09 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.01143/0.9081, allocations: 3.022 MB / 0.5124 GB, free: 12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.9082, allocations: 8.031 kB / 0.5124 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001798/0.91, allocations: 454.2 kB / 0.5129 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/0.9129, allocations: 483.5 kB / 0.5133 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007413/0.9204, allocations: 2.065 MB / 0.5154 GB, free: 8.945 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005517/0.921, allocations: 387.9 kB / 0.5157 GB, free: 8.527 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/0.9223, allocations: 279.9 kB / 0.516 GB, free: 8.254 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.9343, allocations: 3.559 MB / 0.5195 GB, free: 4.547 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.9345, allocations: 7.906 kB / 0.5195 GB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000683/0.9352, allocations: 120 kB / 0.5196 GB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001734/0.9354, allocations: 117.5 kB / 0.5197 GB, free: 4.305 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009912/0.9453, allocations: 2.783 MB / 0.5224 GB, free: 1.516 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3279/1.273, allocations: 11.97 MB / 0.5341 GB, free: 101.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005092/1.278, allocations: 2.762 MB / 0.5368 GB, free: 100.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002853/1.281, allocations: 1.107 MB / 0.5379 GB, free: 100.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004783/1.282, allocations: 141.9 kB / 0.538 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002852/1.285, allocations: 1.121 MB / 0.5391 GB, free: 100.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 4.95e-06/1.285, allocations: 1.062 kB / 0.5391 GB, free: 100.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.03142/1.316, allocations: 8.013 MB / 0.5469 GB, free: 99.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.316, allocations: 307.9 kB / 0.5472 GB, free: 99.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/1.321, allocations: 1.833 MB / 0.549 GB, free: 98.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004676/1.321, allocations: 70.14 kB / 0.5491 GB, free: 98.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/1.323, allocations: 1.372 MB / 0.5504 GB, free: 98.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008924/1.323, allocations: 0.6092 MB / 0.551 GB, free: 98.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/1.324, allocations: 39.09 kB / 0.5511 GB, free: 98.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/1.324, allocations: 391.5 kB / 0.5514 GB, free: 97.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/1.326, allocations: 1.003 MB / 0.5524 GB, free: 97.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/1.329, allocations: 1.526 MB / 0.5539 GB, free: 97.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/1.331, allocations: 1.223 MB / 0.5551 GB, free: 97.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/1.332, allocations: 3.625 kB / 0.5551 GB, free: 97.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009077/1.341, allocations: 3.543 MB / 0.5586 GB, free: 96.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001055/1.342, allocations: 5.398 MB / 0.5638 GB, free: 90.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-05/1.342, allocations: 16.5 kB / 0.5638 GB, free: 90.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004883/1.347, allocations: 1.192 MB / 0.565 GB, free: 90.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/1.35, allocations: 380.5 kB / 0.5654 GB, free: 90.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/1.37, allocations: 14.56 MB / 0.5796 GB, free: 79.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/1.374, allocations: 175 kB / 0.5798 GB, free: 79.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004469/1.375, allocations: 83.47 kB / 0.5798 GB, free: 79.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/1.375, allocations: 3.438 kB / 0.5798 GB, free: 79.94 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008332/1.383, allocations: 3.308 MB / 0.5831 GB, free: 78.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-05/1.383, allocations: 21.22 kB / 0.5831 GB, free: 78.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004566/1.388, allocations: 1.183 MB / 0.5843 GB, free: 78.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/1.391, allocations: 375.6 kB / 0.5846 GB, free: 78.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02117/1.412, allocations: 14.54 MB / 0.5988 GB, free: 67.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003578/1.415, allocations: 158.7 kB / 0.599 GB, free: 67.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002727/1.416, allocations: 90.23 kB / 0.599 GB, free: 67.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 205 * 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: 6 * 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: 3 {(4,100.0%) 14,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006081/1.416, allocations: 246.7 kB / 0.5993 GB, free: 67.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006006/1.417, allocations: 236 kB / 0.5995 GB, free: 67.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009478/1.426, allocations: 3.407 MB / 0.6028 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/1.427, allocations: 13.94 kB / 0.6028 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.427, allocations: 3.219 kB / 0.6029 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.727e-05/1.427, allocations: 11.12 kB / 0.6029 GB, free: 66.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01855/1.445, allocations: 6.673 MB / 0.6094 GB, free: 63.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.445, allocations: 0 / 0.6094 GB, free: 63.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/1.447, allocations: 208.3 kB / 0.6096 GB, free: 63.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005837/1.453, allocations: 1.398 MB / 0.6109 GB, free: 63.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003516/1.453, allocations: 53.23 kB / 0.611 GB, free: 63.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02444/1.478, allocations: 14.69 MB / 0.6253 GB, free: 51.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.478, allocations: 4 kB / 0.6253 GB, free: 51.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/1.489, allocations: 4.885 MB / 0.6301 GB, free: 46.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/1.491, allocations: 0.53 MB / 0.6306 GB, free: 46.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007461/1.492, allocations: 47.28 kB / 0.6307 GB, free: 46.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00292/1.495, allocations: 139 kB / 0.6308 GB, free: 46.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008056/1.496, allocations: 233.5 kB / 0.631 GB, free: 45.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/1.496, allocations: 51.61 kB / 0.6311 GB, free: 45.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003111/1.499, allocations: 1.404 MB / 0.6325 GB, free: 44.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.499, allocations: 3.719 kB / 0.6325 GB, free: 44.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006336/1.505, allocations: 1.27 MB / 0.6337 GB, free: 43.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 52,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01222/1.518, allocations: 6.3 MB / 0.6398 GB, free: 37.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01416/1.532, allocations: 6.13 MB / 0.6458 GB, free: 31.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.532, allocations: 7.828 kB / 0.6458 GB, free: 31.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005869/1.538, allocations: 2.359 MB / 0.6481 GB, free: 29.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00411/1.542, allocations: 0.5171 MB / 0.6487 GB, free: 29.35 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/1.56, allocations: 5.951 MB / 0.6545 GB, free: 24.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/1.563, allocations: 2.329 MB / 0.6567 GB, free: 22.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004977/1.568, allocations: 0.8946 MB / 0.6576 GB, free: 21.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002155/1.571, allocations: 1.117 MB / 0.6587 GB, free: 20.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.222e-06/1.571, allocations: 0 / 0.6587 GB, free: 20.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4785/2.049, allocations: 73.73 MB / 0.7307 GB, free: 107.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/2.049, allocations: 211.6 kB / 0.7309 GB, free: 107.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.664/7.713, allocations: 3.938 kB / 0.7309 GB, free: 107.1 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat