Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.848/1.848, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.772e-05, allocations: 4 kB / 255.5 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.0903, allocations: 44.5 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4433/0.5337, allocations: 110.5 MB / 410.5 MB, free: 9.336 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.534, allocations: 86.48 kB / 410.5 MB, free: 9.324 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3796/0.9136, allocations: 62.04 MB / 472.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.9136, allocations: 4 kB / 472.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003882/0.914, allocations: 71.94 kB / 472.6 MB, free: 12.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.01181/0.9259, allocations: 2.998 MB / 475.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.9259, allocations: 8.031 kB / 475.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001936/0.9279, allocations: 446.1 kB / 476.1 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/0.931, allocations: 479.5 kB / 476.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007413/0.9384, allocations: 2.045 MB / 478.6 MB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005004/0.939, allocations: 379.8 kB / 479 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.9403, allocations: 283.9 kB / 479.3 MB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/0.9519, allocations: 3.523 MB / 482.8 MB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.9521, allocations: 7.906 kB / 482.8 MB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000738/0.9529, allocations: 127.9 kB / 482.9 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/0.9531, allocations: 109.5 kB / 483 MB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009688/0.9628, allocations: 2.775 MB / 485.8 MB, free: 14.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03572/0.9985, allocations: 11.75 MB / 497.5 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00545/1.004, allocations: 2.781 MB / 0.4886 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/1.007, allocations: 1.105 MB / 0.4897 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004565/1.007, allocations: 134.4 kB / 0.4898 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002846/1.01, allocations: 1.122 MB / 0.4909 GB, free: 13.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 5.139e-06/1.01, allocations: 0 / 0.4909 GB, free: 13.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=179): time 0.03192/1.042, allocations: 7.95 MB / 0.4987 GB, free: 5.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/1.042, allocations: 312.7 kB / 0.499 GB, free: 4.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004353/1.047, allocations: 1.804 MB / 0.5007 GB, free: 2.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004591/1.047, allocations: 65.7 kB / 0.5008 GB, free: 2.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/1.049, allocations: 1.268 MB / 0.502 GB, free: 1.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009886/1.05, allocations: 0.597 MB / 0.5026 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/1.05, allocations: 40 kB / 0.5026 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/1.05, allocations: 390.8 kB / 0.503 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/1.053, allocations: 1.004 MB / 0.504 GB, free: 15.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003532/1.057, allocations: 1.505 MB / 0.5055 GB, free: 13.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/1.06, allocations: 1.21 MB / 0.5066 GB, free: 12.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/1.06, allocations: 4 kB / 0.5066 GB, free: 12.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009524/1.069, allocations: 3.372 MB / 0.5099 GB, free: 9.152 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001982/1.071, allocations: 4.98 MB / 0.5148 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.661e-05/1.071, allocations: 12 kB / 0.5148 GB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005407/1.077, allocations: 1.199 MB / 0.516 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/1.08, allocations: 371.4 kB / 0.5163 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2853/1.365, allocations: 14.55 MB / 0.5305 GB, free: 91.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/1.369, allocations: 175.3 kB / 0.5307 GB, free: 91.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003834/1.369, allocations: 84.06 kB / 0.5308 GB, free: 91.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.369, allocations: 6.094 kB / 0.5308 GB, free: 91.63 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009236/1.379, allocations: 3.291 MB / 0.534 GB, free: 91.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-05/1.379, allocations: 15.84 kB / 0.534 GB, free: 91.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004271/1.383, allocations: 1.143 MB / 0.5351 GB, free: 91.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002875/1.386, allocations: 374.1 kB / 0.5355 GB, free: 91.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/1.407, allocations: 14.66 MB / 0.5498 GB, free: 83.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/1.409, allocations: 165.4 kB / 0.55 GB, free: 83.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/1.409, allocations: 80.36 kB / 0.5501 GB, free: 83.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 202 * 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.0006403/1.41, allocations: 240.3 kB / 0.5503 GB, free: 83.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007788/1.411, allocations: 237.9 kB / 0.5505 GB, free: 83.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009774/1.421, allocations: 3.379 MB / 0.5538 GB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/1.421, allocations: 18.09 kB / 0.5538 GB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.421, allocations: 3.625 kB / 0.5538 GB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.406e-05/1.421, allocations: 13.17 kB / 0.5538 GB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/1.439, allocations: 6.64 MB / 0.5603 GB, free: 82.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/1.439, allocations: 3.562 kB / 0.5603 GB, free: 82.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/1.441, allocations: 199.7 kB / 0.5605 GB, free: 82.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005986/1.447, allocations: 1.394 MB / 0.5619 GB, free: 82.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003742/1.448, allocations: 49.16 kB / 0.5619 GB, free: 82.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02376/1.471, allocations: 14.58 MB / 0.5762 GB, free: 72.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.471, allocations: 7.25 kB / 0.5762 GB, free: 72.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/1.482, allocations: 4.882 MB / 0.5809 GB, free: 70.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/1.484, allocations: 0.5216 MB / 0.5815 GB, free: 69.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006012/1.485, allocations: 50.11 kB / 0.5815 GB, free: 69.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002621/1.488, allocations: 145.2 kB / 0.5816 GB, free: 69.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000741/1.488, allocations: 223.4 kB / 0.5819 GB, free: 69.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/1.489, allocations: 58.89 kB / 0.5819 GB, free: 69.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003063/1.492, allocations: 1.385 MB / 0.5833 GB, free: 69.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.492, allocations: 0 / 0.5833 GB, free: 69.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00718/1.499, allocations: 1.248 MB / 0.5845 GB, free: 69.06 MB / 410.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.pulsStart,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 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01387/1.513, allocations: 6.302 MB / 0.5906 GB, free: 65.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01729/1.53, allocations: 6.072 MB / 0.5966 GB, free: 62.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.53, allocations: 0 / 0.5966 GB, free: 62.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005799/1.536, allocations: 2.261 MB / 0.5988 GB, free: 61.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004189/1.54, allocations: 0.5074 MB / 0.5993 GB, free: 61.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/1.559, allocations: 5.883 MB / 0.605 GB, free: 57.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003381/1.562, allocations: 2.276 MB / 0.6072 GB, free: 55.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002726/1.565, allocations: 1.15 MB / 0.6084 GB, free: 54.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/1.565, allocations: 0 / 0.6084 GB, free: 54.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.815/6.379, allocations: 132.2 MB / 0.7375 GB, free: 70.55 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat