Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.743e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3287, allocations: 44.5 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.5262, allocations: 109.8 MB / 404 MB, free: 4.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003904/0.5267, allocations: 99.88 kB / 404.1 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.532/1.059, allocations: 61.24 MB / 465.4 MB, free: 85.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.417e-06/1.059, allocations: 0 / 465.4 MB, free: 85.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003437/1.059, allocations: 79.88 kB / 465.5 MB, free: 84.96 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.01063/1.07, allocations: 2.986 MB / 468.5 MB, free: 81.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.07, allocations: 8.031 kB / 468.5 MB, free: 81.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/1.073, allocations: 475.6 kB / 468.9 MB, free: 81.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006969/1.08, allocations: 2.052 MB / 471 MB, free: 79.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003008/1.08, allocations: 287.8 kB / 471.3 MB, free: 79.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/1.081, allocations: 171.9 kB / 471.4 MB, free: 78.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007899/1.089, allocations: 2.658 MB / 474.1 MB, free: 76.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009368/1.099, allocations: 3.151 MB / 477.2 MB, free: 72.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/1.099, allocations: 11.98 kB / 477.2 MB, free: 72.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003836/1.099, allocations: 7.984 kB / 477.3 MB, free: 72.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/1.099, allocations: 109.5 kB / 477.4 MB, free: 72.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02926/1.129, allocations: 11.2 MB / 488.6 MB, free: 61.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004204/1.133, allocations: 2.716 MB / 491.3 MB, free: 58.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002276/1.135, allocations: 1.058 MB / 492.3 MB, free: 57.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/1.136, allocations: 134.3 kB / 492.5 MB, free: 57.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00227/1.138, allocations: 1.079 MB / 493.5 MB, free: 56.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=155): time 4.939e-06/1.138, allocations: 4 kB / 493.6 MB, free: 56.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=179): time 0.01996/1.158, allocations: 6.378 MB / 499.9 MB, free: 49.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.158, allocations: 316.7 kB / 0.4885 GB, free: 49.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004366/1.163, allocations: 1.533 MB / 0.49 GB, free: 47.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004865/1.163, allocations: 33.7 kB / 0.49 GB, free: 47.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/1.165, allocations: 1.366 MB / 0.4914 GB, free: 46.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008894/1.165, allocations: 0.5774 MB / 0.4919 GB, free: 45.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/1.166, allocations: 0 / 0.4919 GB, free: 45.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/1.166, allocations: 390 kB / 0.4923 GB, free: 45.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/1.168, allocations: 0.9529 MB / 0.4932 GB, free: 44.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/1.17, allocations: 1.473 MB / 0.4947 GB, free: 42.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/1.173, allocations: 1.157 MB / 0.4958 GB, free: 41.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.817e-05/1.173, allocations: 4 kB / 0.4958 GB, free: 41.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.008179/1.181, allocations: 3.328 MB / 0.4991 GB, free: 38.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009821/1.182, allocations: 5.164 MB / 0.5041 GB, free: 32.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.308e-05/1.182, allocations: 12 kB / 0.5041 GB, free: 32.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00476/1.187, allocations: 1.175 MB / 0.5053 GB, free: 31.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/1.19, allocations: 375.4 kB / 0.5056 GB, free: 31.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/1.21, allocations: 14 MB / 0.5193 GB, free: 16.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/1.214, allocations: 135.8 kB / 0.5194 GB, free: 16.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005813/1.214, allocations: 79.98 kB / 0.5195 GB, free: 16.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/1.214, allocations: 4 kB / 0.5195 GB, free: 16.18 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008364/1.223, allocations: 3.078 MB / 0.5225 GB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-05/1.223, allocations: 16.05 kB / 0.5225 GB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004552/1.227, allocations: 1.165 MB / 0.5237 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/1.23, allocations: 367.4 kB / 0.524 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/1.252, allocations: 13.99 MB / 0.5377 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003492/1.255, allocations: 127.8 kB / 0.5378 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000594/1.256, allocations: 79.98 kB / 0.5379 GB, free: 12.64 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.0007911/1.257, allocations: 189.6 kB / 0.5381 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01028/1.267, allocations: 3.069 MB / 0.5411 GB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.268, allocations: 213.5 kB / 0.5413 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/1.278, allocations: 3.211 MB / 0.5444 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.655e-05/1.279, allocations: 20 kB / 0.5444 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/1.279, allocations: 0 / 0.5444 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-05/1.279, allocations: 7.969 kB / 0.5444 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/1.298, allocations: 6.106 MB / 0.5504 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/1.298, allocations: 0 / 0.5504 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/1.3, allocations: 207.7 kB / 0.5506 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006332/1.307, allocations: 1.375 MB / 0.5519 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003785/1.307, allocations: 19.98 kB / 0.552 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3032/1.61, allocations: 14.11 MB / 0.5657 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/1.61, allocations: 2.844 kB / 0.5657 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/1.624, allocations: 4.701 MB / 0.5703 GB, free: 100.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/1.627, allocations: 0.4988 MB / 0.5708 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/1.628, allocations: 24.94 kB / 0.5708 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003127/1.631, allocations: 107 kB / 0.5709 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/1.632, allocations: 235.7 kB / 0.5712 GB, free: 100.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003338/1.633, allocations: 49.11 kB / 0.5712 GB, free: 100.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003321/1.636, allocations: 1.157 MB / 0.5723 GB, free: 100.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.636, allocations: 0.625 kB / 0.5723 GB, free: 100.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007524/1.643, allocations: 1.1 MB / 0.5734 GB, free: 100.5 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.01299/1.656, allocations: 6.114 MB / 0.5794 GB, free: 98.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01499/1.672, allocations: 5.925 MB / 0.5852 GB, free: 97.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.672, allocations: 0 / 0.5852 GB, free: 97.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00652/1.678, allocations: 2.324 MB / 0.5874 GB, free: 96.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004105/1.682, allocations: 393.1 kB / 0.5878 GB, free: 96.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.702, allocations: 5.72 MB / 0.5934 GB, free: 95.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003567/1.706, allocations: 2.306 MB / 0.5957 GB, free: 94.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004731/1.711, allocations: 0.838 MB / 0.5965 GB, free: 94.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/1.713, allocations: 1.111 MB / 0.5976 GB, free: 94.64 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/1.713, allocations: 3.062 kB / 0.5976 GB, free: 94.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2074/1.92, allocations: 63.55 MB / 0.6596 GB, free: 45.15 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/1.921, allocations: 178.2 kB / 0.6598 GB, free: 44.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.472/7.392, allocations: 0 / 0.6598 GB, free: 44.95 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat