Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.268e-05/4.278e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1435, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5158/0.6594, allocations: 114.5 MB / 431.5 MB, free: 5.754 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.6597, allocations: 87.89 kB / 431.6 MB, free: 5.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4105/1.07, allocations: 86 MB / 0.5055 GB, free: 6.285 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.659e-06/1.07, allocations: 0 / 0.5055 GB, free: 6.285 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003195/1.071, allocations: 83.86 kB / 0.5055 GB, free: 6.203 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.01102/1.082, allocations: 2.786 MB / 0.5083 GB, free: 3.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/1.082, allocations: 12.03 kB / 0.5083 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001376/1.083, allocations: 383.9 kB / 0.5086 GB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/1.085, allocations: 443.7 kB / 0.5091 GB, free: 2.523 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006628/1.092, allocations: 1.938 MB / 0.5109 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/1.092, allocations: 209.4 kB / 0.5111 GB, free: 332 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008615/1.093, allocations: 267.9 kB / 0.5114 GB, free: 64 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2932/1.387, allocations: 3.374 MB / 0.5147 GB, free: 99.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/1.387, allocations: 4.422 kB / 0.5147 GB, free: 99.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000689/1.387, allocations: 113.6 kB / 0.5148 GB, free: 99.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/1.388, allocations: 114.2 kB / 0.5149 GB, free: 99.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/1.398, allocations: 2.661 MB / 0.5175 GB, free: 99.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03368/1.432, allocations: 11.25 MB / 0.5285 GB, free: 96.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/1.436, allocations: 2.237 MB / 0.5307 GB, free: 95.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/1.438, allocations: 0.9785 MB / 0.5316 GB, free: 95.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000492/1.438, allocations: 226 kB / 0.5319 GB, free: 95.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/1.438, allocations: 50.25 kB / 0.5319 GB, free: 95.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 4.308e-06/1.438, allocations: 0 / 0.5319 GB, free: 95.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=157): time 0.02698/1.465, allocations: 7.192 MB / 0.5389 GB, free: 94.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.465, allocations: 67.94 kB / 0.539 GB, free: 94.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/1.469, allocations: 1.727 MB / 0.5407 GB, free: 94.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004581/1.47, allocations: 51.52 kB / 0.5407 GB, free: 94.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/1.471, allocations: 1.3 MB / 0.542 GB, free: 93.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000741/1.472, allocations: 0.5345 MB / 0.5425 GB, free: 93.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/1.472, allocations: 31 kB / 0.5426 GB, free: 93.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/1.472, allocations: 377.4 kB / 0.5429 GB, free: 93.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/1.474, allocations: 0.8795 MB / 0.5438 GB, free: 93.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/1.477, allocations: 1.325 MB / 0.5451 GB, free: 92.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/1.479, allocations: 1.09 MB / 0.5461 GB, free: 92.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/1.479, allocations: 3.844 kB / 0.5461 GB, free: 92.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.007981/1.487, allocations: 2.988 MB / 0.5491 GB, free: 91.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.487, allocations: 11.66 kB / 0.5491 GB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.311e-05/1.487, allocations: 17.55 kB / 0.5491 GB, free: 91.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/1.49, allocations: 0.6244 MB / 0.5497 GB, free: 90.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00333/1.493, allocations: 444.2 kB / 0.5501 GB, free: 90.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/1.507, allocations: 5.707 MB / 0.5557 GB, free: 87.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004824/1.511, allocations: 131.9 kB / 0.5558 GB, free: 87.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005408/1.512, allocations: 73.59 kB / 0.5559 GB, free: 87.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {(6,72.2%) 27} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000769/1.513, allocations: 218.5 kB / 0.5561 GB, free: 87.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.514, allocations: 216.1 kB / 0.5563 GB, free: 87.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007909/1.522, allocations: 2.712 MB / 0.5589 GB, free: 86.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/1.522, allocations: 15.5 kB / 0.559 GB, free: 86.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/1.522, allocations: 7.609 kB / 0.559 GB, free: 86.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.627e-05/1.522, allocations: 7.547 kB / 0.559 GB, free: 86.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/1.538, allocations: 5.737 MB / 0.5646 GB, free: 84.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-05/1.538, allocations: 7.797 kB / 0.5646 GB, free: 84.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.54, allocations: 281.6 kB / 0.5649 GB, free: 84.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003182/1.544, allocations: 0.689 MB / 0.5655 GB, free: 84.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003288/1.544, allocations: 34.97 kB / 0.5656 GB, free: 84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/1.557, allocations: 7.423 MB / 0.5728 GB, free: 79.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.557, allocations: 5.188 kB / 0.5728 GB, free: 79.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009549/1.567, allocations: 4.108 MB / 0.5768 GB, free: 77.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/1.569, allocations: 0.4913 MB / 0.5773 GB, free: 77.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006068/1.569, allocations: 41.73 kB / 0.5773 GB, free: 77.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.572, allocations: 115 kB / 0.5775 GB, free: 77.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004499/1.572, allocations: 120.4 kB / 0.5776 GB, free: 77.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/1.572, allocations: 57.86 kB / 0.5776 GB, free: 77.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002895/1.575, allocations: 1.31 MB / 0.5789 GB, free: 76.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.575, allocations: 0 / 0.5789 GB, free: 76.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00369/1.579, allocations: 0.679 MB / 0.5796 GB, free: 76.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01059/1.59, allocations: 5.468 MB / 0.5849 GB, free: 73.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006437/1.596, allocations: 2.609 MB / 0.5875 GB, free: 72.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.596, allocations: 0 / 0.5875 GB, free: 72.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004294/1.601, allocations: 1.644 MB / 0.5891 GB, free: 71.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003988/1.605, allocations: 478.2 kB / 0.5895 GB, free: 70.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/1.618, allocations: 5.355 MB / 0.5947 GB, free: 66.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/1.621, allocations: 2.206 MB / 0.5969 GB, free: 64.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002517/1.623, allocations: 448 kB / 0.5973 GB, free: 64.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002169/1.626, allocations: 1.066 MB / 0.5984 GB, free: 63.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/1.626, allocations: 0 / 0.5984 GB, free: 63.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/1.758, allocations: 55.72 MB / 0.6528 GB, free: 16.01 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/1.758, allocations: 197.4 kB / 0.653 GB, free: 15.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.499/6.257, allocations: 0 / 0.653 GB, free: 15.79 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_DOL_res.mat does not exist to compare? outputFormat=mat