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.912/1.912, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.977e-05, allocations: 0 / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09575, allocations: 44.51 MB / 299.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4413/0.5371, allocations: 110.5 MB / 410.4 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5374, allocations: 84.98 kB / 410.5 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2644/0.8019, allocations: 62.04 MB / 472.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.8019, allocations: 0 / 472.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004307/0.8024, allocations: 75.94 kB / 472.6 MB, free: 12.18 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.01223/0.8146, allocations: 2.994 MB / 475.6 MB, free: 9.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.8147, allocations: 11.97 kB / 475.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001943/0.8167, allocations: 446.1 kB / 476.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.8197, allocations: 487.5 kB / 476.5 MB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007607/0.8274, allocations: 2.033 MB / 478.6 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00047/0.8279, allocations: 379.8 kB / 478.9 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.8292, allocations: 283.9 kB / 479.2 MB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/0.8419, allocations: 3.562 MB / 482.8 MB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/0.8421, allocations: 7.906 kB / 482.8 MB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009096/0.843, allocations: 131.9 kB / 482.9 MB, free: 1.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.8432, allocations: 109.5 kB / 483 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.8538, allocations: 2.81 MB / 485.8 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03576/0.8896, allocations: 11.74 MB / 497.6 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005508/0.8952, allocations: 2.793 MB / 0.4886 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/0.8983, allocations: 1.101 MB / 0.4897 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005004/0.8989, allocations: 134.4 kB / 0.4898 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00293/0.9018, allocations: 1.124 MB / 0.4909 GB, free: 13.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 5.04e-06/0.9019, allocations: 0 / 0.4909 GB, free: 13.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=179): time 0.0339/0.9358, allocations: 7.963 MB / 0.4987 GB, free: 5.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001952/0.936, allocations: 312.7 kB / 0.499 GB, free: 4.738 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004952/0.941, allocations: 1.808 MB / 0.5008 GB, free: 2.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004982/0.9416, allocations: 61.7 kB / 0.5008 GB, free: 2.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.9434, allocations: 1.265 MB / 0.5021 GB, free: 1.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001203/0.9446, allocations: 0.6009 MB / 0.5027 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.9449, allocations: 40 kB / 0.5027 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002604/0.9452, allocations: 390.8 kB / 0.5031 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/0.9482, allocations: 0.9997 MB / 0.5041 GB, free: 15.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/0.9519, allocations: 1.524 MB / 0.5055 GB, free: 13.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/0.9554, allocations: 1.206 MB / 0.5067 GB, free: 12.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/0.9555, allocations: 4 kB / 0.5067 GB, free: 12.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01069/0.9662, allocations: 3.419 MB / 0.5101 GB, free: 9.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002032/0.9683, allocations: 4.965 MB / 0.5149 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.126e-05/0.9684, allocations: 16 kB / 0.5149 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005573/0.974, allocations: 1.2 MB / 0.5161 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003087/0.9771, allocations: 379.4 kB / 0.5165 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2897/1.267, allocations: 14.54 MB / 0.5307 GB, free: 91.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/1.271, allocations: 176.3 kB / 0.5308 GB, free: 91.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005713/1.271, allocations: 80.7 kB / 0.5309 GB, free: 91.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.271, allocations: 3.375 kB / 0.5309 GB, free: 91.66 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01021/1.282, allocations: 3.336 MB / 0.5342 GB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.007e-05/1.282, allocations: 12.38 kB / 0.5342 GB, free: 91.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004576/1.286, allocations: 1.153 MB / 0.5353 GB, free: 91.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/1.289, allocations: 365.6 kB / 0.5357 GB, free: 91.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/1.311, allocations: 14.66 MB / 0.55 GB, free: 83.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/1.313, allocations: 166.3 kB / 0.5501 GB, free: 83.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004431/1.314, allocations: 85.22 kB / 0.5502 GB, free: 83.61 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.000711/1.315, allocations: 239.9 kB / 0.5504 GB, free: 83.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008145/1.315, allocations: 232.1 kB / 0.5507 GB, free: 83.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/1.326, allocations: 3.391 MB / 0.554 GB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/1.326, allocations: 17.38 kB / 0.554 GB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/1.326, allocations: 0 / 0.554 GB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.923e-05/1.326, allocations: 14.83 kB / 0.554 GB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/1.346, allocations: 6.642 MB / 0.5605 GB, free: 82.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/1.346, allocations: 6.719 kB / 0.5605 GB, free: 82.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/1.347, allocations: 203 kB / 0.5607 GB, free: 82.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006033/1.354, allocations: 1.389 MB / 0.562 GB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003761/1.354, allocations: 50.06 kB / 0.5621 GB, free: 81.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02499/1.379, allocations: 14.58 MB / 0.5763 GB, free: 72.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.379, allocations: 7.344 kB / 0.5763 GB, free: 72.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/1.391, allocations: 4.881 MB / 0.5811 GB, free: 69.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/1.393, allocations: 0.5295 MB / 0.5816 GB, free: 69.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006772/1.393, allocations: 53.48 kB / 0.5817 GB, free: 69.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.396, allocations: 139.1 kB / 0.5818 GB, free: 69.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000747/1.397, allocations: 230.6 kB / 0.582 GB, free: 69.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.397, allocations: 52.52 kB / 0.5821 GB, free: 69.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003043/1.4, allocations: 1.386 MB / 0.5834 GB, free: 68.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.4, allocations: 3.562 kB / 0.5834 GB, free: 68.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006077/1.406, allocations: 1.248 MB / 0.5846 GB, free: 68.84 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.0126/1.419, allocations: 6.288 MB / 0.5908 GB, free: 65.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0153/1.434, allocations: 6.223 MB / 0.5969 GB, free: 62.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.434, allocations: 3.969 kB / 0.5969 GB, free: 62.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005994/1.44, allocations: 2.315 MB / 0.5991 GB, free: 61.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00417/1.445, allocations: 0.5143 MB / 0.5996 GB, free: 61.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/1.464, allocations: 5.89 MB / 0.6054 GB, free: 56.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/1.467, allocations: 2.282 MB / 0.6076 GB, free: 55.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002471/1.469, allocations: 1.149 MB / 0.6087 GB, free: 54.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.694e-06/1.469, allocations: 0 / 0.6087 GB, free: 54.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.842/6.312, allocations: 132.5 MB / 0.7381 GB, free: 68.81 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