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 2.029/2.029, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/2.009e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3014, allocations: 44.5 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.4916, allocations: 109.8 MB / 404 MB, free: 4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/0.492, allocations: 91.94 kB / 404.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4918/0.9838, allocations: 61.25 MB / 465.4 MB, free: 84.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.9839, allocations: 0 / 465.4 MB, free: 84.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002615/0.9841, allocations: 75.84 kB / 465.4 MB, free: 84.85 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.009813/0.994, allocations: 2.99 MB / 468.4 MB, free: 81.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.994, allocations: 8.031 kB / 468.4 MB, free: 81.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.9966, allocations: 479.6 kB / 468.9 MB, free: 81.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006838/1.003, allocations: 2.039 MB / 470.9 MB, free: 79.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/1.004, allocations: 291.8 kB / 471.2 MB, free: 78.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/1.005, allocations: 171.9 kB / 471.4 MB, free: 78.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008059/1.013, allocations: 2.651 MB / 474.1 MB, free: 76.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009709/1.023, allocations: 3.159 MB / 477.2 MB, free: 72.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/1.023, allocations: 4 kB / 477.2 MB, free: 72.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003682/1.023, allocations: 7.984 kB / 477.2 MB, free: 72.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/1.023, allocations: 113.5 kB / 477.3 MB, free: 72.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02816/1.052, allocations: 11.21 MB / 488.5 MB, free: 61.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004191/1.056, allocations: 2.72 MB / 491.3 MB, free: 58.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/1.058, allocations: 1.05 MB / 492.3 MB, free: 57.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/1.059, allocations: 142.3 kB / 492.4 MB, free: 57.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002053/1.061, allocations: 1.079 MB / 493.5 MB, free: 56.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=155): time 4.197e-06/1.061, allocations: 0 / 493.5 MB, free: 56.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=179): time 0.01881/1.079, allocations: 6.379 MB / 499.9 MB, free: 49.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.08, allocations: 308.7 kB / 0.4885 GB, free: 49.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/1.083, allocations: 1.537 MB / 0.49 GB, free: 47.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004021/1.083, allocations: 41.62 kB / 0.49 GB, free: 47.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.084, allocations: 1.292 MB / 0.4913 GB, free: 46.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006454/1.085, allocations: 0.5774 MB / 0.4919 GB, free: 45.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/1.085, allocations: 0 / 0.4919 GB, free: 45.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/1.085, allocations: 394.8 kB / 0.4922 GB, free: 45.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/1.087, allocations: 0.9567 MB / 0.4932 GB, free: 44.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/1.09, allocations: 1.47 MB / 0.4946 GB, free: 42.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/1.092, allocations: 1.161 MB / 0.4957 GB, free: 41.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.092, allocations: 4 kB / 0.4957 GB, free: 41.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007548/1.1, allocations: 3.201 MB / 0.4989 GB, free: 38.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001097/1.101, allocations: 4.979 MB / 0.5037 GB, free: 32.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/1.101, allocations: 12 kB / 0.5037 GB, free: 32.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004676/1.105, allocations: 1.167 MB / 0.5049 GB, free: 31.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/1.108, allocations: 375.4 kB / 0.5052 GB, free: 31.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/1.128, allocations: 14 MB / 0.5189 GB, free: 16.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/1.131, allocations: 131.9 kB / 0.519 GB, free: 16.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/1.131, allocations: 79.98 kB / 0.5191 GB, free: 16.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.132, allocations: 4 kB / 0.5191 GB, free: 16.5 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007398/1.139, allocations: 3.082 MB / 0.5221 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.732e-05/1.139, allocations: 15.95 kB / 0.5221 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003869/1.143, allocations: 1.142 MB / 0.5232 GB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/1.146, allocations: 371.4 kB / 0.5236 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/1.166, allocations: 14.11 MB / 0.5374 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.169, allocations: 119.8 kB / 0.5375 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/1.169, allocations: 80.05 kB / 0.5376 GB, free: 12.86 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[1].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[3].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[2].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] 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 {(2,100.0%) 16,(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.0007358/1.17, allocations: 193.5 kB / 0.5378 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009911/1.18, allocations: 3.069 MB / 0.5408 GB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.181, allocations: 213.7 kB / 0.541 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/1.191, allocations: 3.207 MB / 0.5441 GB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/1.191, allocations: 20 kB / 0.5441 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/1.191, allocations: 4 kB / 0.5441 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.6e-05/1.191, allocations: 7.969 kB / 0.5441 GB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/1.21, allocations: 6.106 MB / 0.5501 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/1.21, allocations: 96 / 0.5501 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/1.212, allocations: 207.7 kB / 0.5503 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006207/1.218, allocations: 1.378 MB / 0.5516 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003189/1.219, allocations: 23.97 kB / 0.5517 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.322/1.541, allocations: 14.1 MB / 0.5654 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/1.541, allocations: 5.344 kB / 0.5654 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/1.553, allocations: 4.698 MB / 0.57 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/1.554, allocations: 0.5082 MB / 0.5705 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005834/1.555, allocations: 19.28 kB / 0.5705 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/1.557, allocations: 108.4 kB / 0.5706 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008341/1.558, allocations: 233.5 kB / 0.5709 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/1.559, allocations: 48.34 kB / 0.5709 GB, free: 101.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002576/1.561, allocations: 1.154 MB / 0.572 GB, free: 101 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.561, allocations: 1.312 kB / 0.572 GB, free: 101 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005846/1.567, allocations: 1.093 MB / 0.5731 GB, free: 101 MB / 394.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.01125/1.578, allocations: 6.116 MB / 0.5791 GB, free: 99.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01353/1.592, allocations: 5.907 MB / 0.5848 GB, free: 97.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.592, allocations: 0 / 0.5848 GB, free: 97.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005932/1.598, allocations: 2.215 MB / 0.587 GB, free: 97.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/1.602, allocations: 403.9 kB / 0.5874 GB, free: 97.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/1.62, allocations: 5.694 MB / 0.5929 GB, free: 96.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002619/1.623, allocations: 2.277 MB / 0.5952 GB, free: 95.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002422/1.625, allocations: 1.138 MB / 0.5963 GB, free: 95.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.613e-06/1.625, allocations: 0 / 0.5963 GB, free: 95.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.766/6.392, allocations: 130.2 MB / 0.7234 GB, free: 118.4 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