Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 205.8 MB / 218.9 MB, free: 9.285 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.33e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4815/0.6009, allocations: 115.6 MB / 432.6 MB, free: 5.051 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.6013, allocations: 85.2 kB / 432.7 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3069/0.9083, allocations: 62.44 MB / 495.2 MB, free: 13.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.9083, allocations: 0 / 495.2 MB, free: 13.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004389/0.9088, allocations: 79.88 kB / 495.2 MB, free: 12.93 MB / 410.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.01206/0.9209, allocations: 3.019 MB / 498.3 MB, free: 9.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.9209, allocations: 12.03 kB / 498.3 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001585/0.9225, allocations: 454.2 kB / 498.7 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/0.9251, allocations: 483.4 kB / 499.2 MB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007771/0.9329, allocations: 2.061 MB / 0.4895 GB, free: 6.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000571/0.9335, allocations: 383.9 kB / 0.4899 GB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/0.9351, allocations: 291.9 kB / 0.4901 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/0.9493, allocations: 3.555 MB / 0.4936 GB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.9495, allocations: 7.906 kB / 0.4936 GB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006405/0.9502, allocations: 120 kB / 0.4937 GB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/0.9504, allocations: 113.5 kB / 0.4938 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/0.9636, allocations: 2.787 MB / 0.4966 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04539/1.009, allocations: 11.98 MB / 0.5083 GB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00712/1.016, allocations: 2.77 MB / 0.511 GB, free: 24 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3072/1.324, allocations: 1.097 MB / 0.512 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005547/1.324, allocations: 142.6 kB / 0.5122 GB, free: 104 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004029/1.328, allocations: 1.119 MB / 0.5133 GB, free: 103.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=156): time 6.362e-06/1.328, allocations: 4.031 kB / 0.5133 GB, free: 103.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=180): time 0.03532/1.364, allocations: 7.993 MB / 0.5211 GB, free: 103.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/1.364, allocations: 308.8 kB / 0.5214 GB, free: 102.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/1.369, allocations: 1.843 MB / 0.5232 GB, free: 102.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004971/1.369, allocations: 68.64 kB / 0.5232 GB, free: 102.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001522/1.371, allocations: 1.388 MB / 0.5246 GB, free: 102.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008913/1.372, allocations: 0.6051 MB / 0.5252 GB, free: 101.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/1.372, allocations: 42.66 kB / 0.5252 GB, free: 101.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/1.372, allocations: 382.3 kB / 0.5256 GB, free: 101.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/1.375, allocations: 1.007 MB / 0.5266 GB, free: 101.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/1.377, allocations: 1.532 MB / 0.5281 GB, free: 101 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/1.38, allocations: 1.207 MB / 0.5293 GB, free: 100.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/1.38, allocations: 7.438 kB / 0.5293 GB, free: 100.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009061/1.389, allocations: 3.543 MB / 0.5327 GB, free: 100.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001161/1.39, allocations: 5.409 MB / 0.538 GB, free: 95.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.726e-05/1.39, allocations: 11.28 kB / 0.538 GB, free: 95.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004965/1.395, allocations: 1.191 MB / 0.5392 GB, free: 95.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/1.398, allocations: 389.7 kB / 0.5395 GB, free: 95.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/1.42, allocations: 14.56 MB / 0.5538 GB, free: 86.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004027/1.424, allocations: 174.6 kB / 0.5539 GB, free: 86.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005996/1.424, allocations: 84.47 kB / 0.554 GB, free: 86.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.424, allocations: 3.656 kB / 0.554 GB, free: 86.59 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008465/1.433, allocations: 3.306 MB / 0.5572 GB, free: 85.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-05/1.433, allocations: 14.12 kB / 0.5573 GB, free: 85.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004598/1.438, allocations: 1.194 MB / 0.5584 GB, free: 85.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/1.441, allocations: 375.8 kB / 0.5588 GB, free: 85.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02089/1.461, allocations: 14.51 MB / 0.573 GB, free: 74.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003698/1.465, allocations: 167 kB / 0.5731 GB, free: 74.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/1.466, allocations: 80.75 kB / 0.5732 GB, free: 74.46 MB / 426.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.000622/1.466, allocations: 250.1 kB / 0.5734 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007434/1.467, allocations: 232.8 kB / 0.5736 GB, free: 74.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009621/1.477, allocations: 3.417 MB / 0.577 GB, free: 72.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/1.477, allocations: 18.62 kB / 0.577 GB, free: 72.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.477, allocations: 0 / 0.577 GB, free: 72.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.855e-05/1.477, allocations: 10.73 kB / 0.577 GB, free: 72.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01799/1.495, allocations: 6.699 MB / 0.5836 GB, free: 70.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/1.495, allocations: 6.125 kB / 0.5836 GB, free: 70.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.497, allocations: 197.3 kB / 0.5837 GB, free: 70.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005835/1.502, allocations: 1.396 MB / 0.5851 GB, free: 70.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003086/1.503, allocations: 46.23 kB / 0.5852 GB, free: 70.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02459/1.527, allocations: 14.67 MB / 0.5995 GB, free: 60.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.527, allocations: 0 / 0.5995 GB, free: 60.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/1.539, allocations: 4.884 MB / 0.6043 GB, free: 55.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002067/1.541, allocations: 0.5366 MB / 0.6048 GB, free: 55.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007077/1.542, allocations: 50.42 kB / 0.6048 GB, free: 55.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/1.545, allocations: 140 kB / 0.605 GB, free: 55.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007251/1.545, allocations: 230.1 kB / 0.6052 GB, free: 55.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/1.546, allocations: 50.75 kB / 0.6052 GB, free: 55.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003038/1.549, allocations: 1.41 MB / 0.6066 GB, free: 53.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.549, allocations: 0 / 0.6066 GB, free: 53.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006183/1.555, allocations: 1.266 MB / 0.6078 GB, free: 52.45 MB / 426.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.01219/1.567, allocations: 6.311 MB / 0.614 GB, free: 46.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01479/1.582, allocations: 6.115 MB / 0.62 GB, free: 41.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.582, allocations: 6.719 kB / 0.62 GB, free: 41.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006027/1.588, allocations: 2.37 MB / 0.6223 GB, free: 38.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/1.592, allocations: 0.5121 MB / 0.6228 GB, free: 38.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/1.611, allocations: 5.949 MB / 0.6286 GB, free: 33.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002491/1.613, allocations: 2.327 MB / 0.6309 GB, free: 31.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004741/1.618, allocations: 0.9008 MB / 0.6318 GB, free: 30.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/1.62, allocations: 1.115 MB / 0.6328 GB, free: 29.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/1.62, allocations: 4 kB / 0.6328 GB, free: 29.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4644/2.085, allocations: 73.8 MB / 0.7049 GB, free: 86.85 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002934/2.085, allocations: 216 kB / 0.7051 GB, free: 86.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.091/8.176, allocations: 4 kB / 0.7051 GB, free: 86.62 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat