Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.455e-05, allocations: 4 kB / 292.8 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1447, allocations: 50.41 MB / 343.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5045/0.6492, allocations: 122.7 MB / 465.8 MB, free: 3.953 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.6496, allocations: 95.69 kB / 465.9 MB, free: 3.902 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6923/1.342, allocations: 102.5 MB / 0.5551 GB, free: 96.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.342, allocations: 4.656 kB / 0.5551 GB, free: 96.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004832/1.342, allocations: 110.2 kB / 0.5552 GB, free: 96.6 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01759/1.36, allocations: 4.205 MB / 0.5593 GB, free: 94.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.36, allocations: 7.625 kB / 0.5594 GB, free: 94.93 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002622/1.363, allocations: 0.6217 MB / 0.56 GB, free: 94.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00798/1.371, allocations: 0.9564 MB / 0.5609 GB, free: 94.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/1.386, allocations: 3.951 MB / 0.5648 GB, free: 93.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005315/1.386, allocations: 480.2 kB / 0.5652 GB, free: 93.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001678/1.388, allocations: 414.6 kB / 0.5656 GB, free: 93.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/1.404, allocations: 5.161 MB / 0.5706 GB, free: 93.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002052/1.405, allocations: 6.031 kB / 0.5707 GB, free: 93.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001533/1.406, allocations: 181.1 kB / 0.5708 GB, free: 93.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/1.407, allocations: 171.8 kB / 0.571 GB, free: 93.19 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/1.42, allocations: 4.134 MB / 0.575 GB, free: 91.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04621/1.466, allocations: 17.96 MB / 0.5926 GB, free: 82.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.477, allocations: 8.09 MB / 0.6005 GB, free: 75.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004672/1.482, allocations: 1.804 MB / 0.6022 GB, free: 74.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/1.498, allocations: 5.451 MB / 0.6076 GB, free: 71.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002602/1.501, allocations: 1.185 MB / 0.6087 GB, free: 70.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 5.841e-06/1.501, allocations: 0 / 0.6087 GB, free: 70.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=208): time 0.02254/1.523, allocations: 6.915 MB / 0.6155 GB, free: 67.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.523, allocations: 339 kB / 0.6158 GB, free: 67.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004964/1.528, allocations: 2.151 MB / 0.6179 GB, free: 65.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004725/1.529, allocations: 73.59 kB / 0.618 GB, free: 65.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001982/1.531, allocations: 1.924 MB / 0.6198 GB, free: 63.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009571/1.532, allocations: 0.7024 MB / 0.6205 GB, free: 63.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/1.532, allocations: 52 kB / 0.6206 GB, free: 62.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/1.532, allocations: 400.8 kB / 0.621 GB, free: 62.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/1.535, allocations: 1.036 MB / 0.622 GB, free: 61.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/1.538, allocations: 1.781 MB / 0.6237 GB, free: 59.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/1.541, allocations: 1.317 MB / 0.625 GB, free: 58.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/1.541, allocations: 9.688 kB / 0.625 GB, free: 58.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.01014/1.551, allocations: 3.822 MB / 0.6287 GB, free: 55.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00166/1.553, allocations: 8.388 MB / 0.6369 GB, free: 45.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.993e-05/1.553, allocations: 20 kB / 0.6369 GB, free: 45.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00411/1.557, allocations: 1.013 MB / 0.6379 GB, free: 45.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003495/1.561, allocations: 465 kB / 0.6384 GB, free: 44.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/1.58, allocations: 14.14 MB / 0.6522 GB, free: 30.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004133/1.584, allocations: 173.1 kB / 0.6523 GB, free: 30.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005024/1.585, allocations: 107.7 kB / 0.6524 GB, free: 30.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.585, allocations: 4 kB / 0.6525 GB, free: 30.61 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008862/1.594, allocations: 3.553 MB / 0.6559 GB, free: 27.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-05/1.594, allocations: 20 kB / 0.6559 GB, free: 27.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/1.598, allocations: 0.9992 MB / 0.6569 GB, free: 26.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003453/1.601, allocations: 464.9 kB / 0.6574 GB, free: 26.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/1.621, allocations: 14.12 MB / 0.6711 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003917/1.625, allocations: 155.9 kB / 0.6713 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/1.625, allocations: 104 kB / 0.6714 GB, free: 11.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (265): * Single equations (assignments): 258 * 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 {(2,100.0%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006766/1.626, allocations: 285.7 kB / 0.6717 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005908/1.626, allocations: 284.6 kB / 0.6719 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/1.635, allocations: 3.231 MB / 0.6751 GB, free: 7.871 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/1.635, allocations: 20 kB / 0.6751 GB, free: 7.852 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.635, allocations: 7.188 kB / 0.6751 GB, free: 7.848 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.825e-05/1.635, allocations: 7.969 kB / 0.6751 GB, free: 7.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/1.653, allocations: 7.021 MB / 0.682 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/1.653, allocations: 0 / 0.682 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/1.656, allocations: 275.8 kB / 0.6822 GB, free: 496 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004451/1.66, allocations: 1.032 MB / 0.6833 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004226/1.661, allocations: 55.91 kB / 0.6833 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/1.683, allocations: 11.61 MB / 0.6946 GB, free: 3.273 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.683, allocations: 0 / 0.6946 GB, free: 3.273 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3338/2.017, allocations: 4.609 MB / 0.6991 GB, free: 99.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/2.02, allocations: 0.5973 MB / 0.6997 GB, free: 99.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/2.021, allocations: 56.2 kB / 0.6998 GB, free: 99.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003758/2.025, allocations: 131.2 kB / 0.6999 GB, free: 99.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00115/2.026, allocations: 231.2 kB / 0.7001 GB, free: 99.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/2.026, allocations: 57.41 kB / 0.7002 GB, free: 99.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004988/2.031, allocations: 1.632 MB / 0.7018 GB, free: 98.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.042e-06/2.031, allocations: 2.906 kB / 0.7018 GB, free: 98.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009519/2.041, allocations: 1.515 MB / 0.7033 GB, free: 98.87 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * 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 (147): * Single equations (assignments): 139 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01535/2.056, allocations: 5.955 MB / 0.7091 GB, free: 97.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01697/2.073, allocations: 6.255 MB / 0.7152 GB, free: 96.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/2.073, allocations: 0 / 0.7152 GB, free: 96.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005642/2.079, allocations: 2.047 MB / 0.7172 GB, free: 95.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005723/2.085, allocations: 0.6255 MB / 0.7178 GB, free: 95.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/2.111, allocations: 7.496 MB / 0.7251 GB, free: 94.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005122/2.116, allocations: 2.924 MB / 0.728 GB, free: 93.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007259/2.123, allocations: 1.039 MB / 0.729 GB, free: 93.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003328/2.127, allocations: 1.558 MB / 0.7305 GB, free: 93.27 MB / 458.7 MB Notification: Performance of SimCode: time 1.493e-06/2.127, allocations: 0 / 0.7305 GB, free: 93.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1964/2.323, allocations: 85.35 MB / 0.8139 GB, free: 46.02 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/2.323, allocations: 233.3 kB / 0.8141 GB, free: 45.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/8.927, allocations: 0 / 0.8141 GB, free: 45.75 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat