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.825/1.825, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.991e-05, allocations: 1.25 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09006, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.539, allocations: 110.5 MB / 410.5 MB, free: 9.191 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.5393, allocations: 85.52 kB / 410.6 MB, free: 9.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2638/0.8032, allocations: 62.04 MB / 472.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8032, allocations: 0 / 472.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004177/0.8037, allocations: 75.94 kB / 472.7 MB, free: 11.59 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.01229/0.816, allocations: 2.998 MB / 475.7 MB, free: 8.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.8161, allocations: 8.031 kB / 475.7 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00211/0.8182, allocations: 446.1 kB / 476.1 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/0.8216, allocations: 479.5 kB / 476.6 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007922/0.8296, allocations: 2.041 MB / 478.6 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005213/0.8302, allocations: 383.8 kB / 479 MB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/0.8315, allocations: 287.9 kB / 479.3 MB, free: 4.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.8441, allocations: 3.523 MB / 482.8 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001363/0.8443, allocations: 7.906 kB / 482.8 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006629/0.845, allocations: 127.9 kB / 482.9 MB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/0.8452, allocations: 109.5 kB / 483 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.8554, allocations: 2.771 MB / 485.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/0.8928, allocations: 11.75 MB / 497.6 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005756/0.8987, allocations: 2.781 MB / 0.4886 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/0.9019, allocations: 1.097 MB / 0.4897 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005076/0.9025, allocations: 146.3 kB / 0.4898 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003018/0.9055, allocations: 1.118 MB / 0.4909 GB, free: 12.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 5.28e-06/0.9055, allocations: 0 / 0.4909 GB, free: 12.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=179): time 0.03331/0.9389, allocations: 7.953 MB / 0.4987 GB, free: 4.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002125/0.9391, allocations: 312.7 kB / 0.499 GB, free: 4.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00472/0.9439, allocations: 1.804 MB / 0.5008 GB, free: 2.398 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004921/0.9444, allocations: 69.69 kB / 0.5008 GB, free: 2.324 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00181/0.9462, allocations: 1.348 MB / 0.5021 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/0.9473, allocations: 0.6009 MB / 0.5027 GB, free: 360 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.9475, allocations: 40 kB / 0.5028 GB, free: 320 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.9478, allocations: 386 kB / 0.5031 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/0.9505, allocations: 0.9958 MB / 0.5041 GB, free: 14.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/0.9539, allocations: 1.512 MB / 0.5056 GB, free: 13.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/0.9574, allocations: 1.204 MB / 0.5068 GB, free: 12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/0.9575, allocations: 8 kB / 0.5068 GB, free: 12 MB / 410.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01124/0.9687, allocations: 3.515 MB / 0.5102 GB, free: 8.445 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002507/0.9713, allocations: 5.219 MB / 0.5153 GB, free: 2.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.254e-05/0.9714, allocations: 12 kB / 0.5153 GB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006399/0.9778, allocations: 1.2 MB / 0.5165 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003083/0.9809, allocations: 375.3 kB / 0.5168 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3131/1.294, allocations: 14.54 MB / 0.531 GB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003912/1.298, allocations: 176.4 kB / 0.5312 GB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006235/1.299, allocations: 82.64 kB / 0.5313 GB, free: 90.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.299, allocations: 5.844 kB / 0.5313 GB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01086/1.31, allocations: 3.295 MB / 0.5345 GB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.285e-05/1.31, allocations: 13.22 kB / 0.5345 GB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005233/1.315, allocations: 1.186 MB / 0.5357 GB, free: 90.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/1.318, allocations: 367.2 kB / 0.536 GB, free: 90.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/1.34, allocations: 14.51 MB / 0.5502 GB, free: 82.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003629/1.344, allocations: 166.5 kB / 0.5504 GB, free: 82.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005673/1.345, allocations: 77.55 kB / 0.5504 GB, free: 82.62 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.0008459/1.345, allocations: 248.6 kB / 0.5507 GB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008157/1.346, allocations: 232.3 kB / 0.5509 GB, free: 82.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.357, allocations: 3.391 MB / 0.5542 GB, free: 82.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/1.357, allocations: 22.67 kB / 0.5542 GB, free: 82.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.357, allocations: 0 / 0.5542 GB, free: 82.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.953e-05/1.357, allocations: 8.531 kB / 0.5542 GB, free: 82.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/1.377, allocations: 6.632 MB / 0.5607 GB, free: 81.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/1.377, allocations: 6.688 kB / 0.5607 GB, free: 81.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/1.378, allocations: 201.4 kB / 0.5609 GB, free: 81.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005909/1.384, allocations: 1.389 MB / 0.5623 GB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003776/1.385, allocations: 52.3 kB / 0.5623 GB, free: 81.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02515/1.41, allocations: 14.58 MB / 0.5766 GB, free: 71.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/1.41, allocations: 17.3 kB / 0.5766 GB, free: 71.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/1.422, allocations: 4.867 MB / 0.5813 GB, free: 69.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/1.423, allocations: 0.533 MB / 0.5818 GB, free: 68.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007145/1.424, allocations: 57.91 kB / 0.5819 GB, free: 68.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/1.427, allocations: 136.3 kB / 0.582 GB, free: 68.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008428/1.428, allocations: 229.5 kB / 0.5822 GB, free: 68.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/1.428, allocations: 49.47 kB / 0.5823 GB, free: 68.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003399/1.432, allocations: 1.392 MB / 0.5837 GB, free: 68.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.432, allocations: 3.406 kB / 0.5837 GB, free: 68.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00668/1.438, allocations: 1.26 MB / 0.5849 GB, free: 68.16 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.01295/1.451, allocations: 6.301 MB / 0.591 GB, free: 64.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01967/1.471, allocations: 6.096 MB / 0.597 GB, free: 61.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.471, allocations: 6.094 kB / 0.597 GB, free: 61.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006351/1.478, allocations: 2.355 MB / 0.5993 GB, free: 60.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004169/1.482, allocations: 0.5042 MB / 0.5998 GB, free: 60.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/1.5, allocations: 5.909 MB / 0.6056 GB, free: 56.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002617/1.503, allocations: 2.311 MB / 0.6078 GB, free: 54.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004773/1.508, allocations: 0.9004 MB / 0.6087 GB, free: 54.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/1.51, allocations: 1.109 MB / 0.6098 GB, free: 53.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.51, allocations: 4 kB / 0.6098 GB, free: 53.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4496/1.959, allocations: 73.07 MB / 0.6811 GB, free: 89.65 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/1.96, allocations: 219.6 kB / 0.6814 GB, free: 89.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.586/7.545, allocations: 0 / 0.6814 GB, free: 89.43 MB / 410.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