Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.818e-05, allocations: 7.797 kB / 292.2 MB, free: 8.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 50.4 MB / 342.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.5978, allocations: 115.2 MB / 457.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5982, allocations: 84.27 kB / 458 MB, free: 11.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6599/1.258, allocations: 86.33 MB / 0.5315 GB, free: 106.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.258, allocations: 0 / 0.5315 GB, free: 106.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000325/1.258, allocations: 72.02 kB / 0.5316 GB, free: 106.2 MB / 442.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.01069/1.269, allocations: 2.817 MB / 0.5344 GB, free: 105.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.269, allocations: 10.06 kB / 0.5344 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001392/1.271, allocations: 388.4 kB / 0.5347 GB, free: 105.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/1.273, allocations: 441.8 kB / 0.5352 GB, free: 104.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006578/1.28, allocations: 1.946 MB / 0.5371 GB, free: 104.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/1.28, allocations: 207.5 kB / 0.5373 GB, free: 104.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009353/1.281, allocations: 265.1 kB / 0.5375 GB, free: 104.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009994/1.291, allocations: 3.369 MB / 0.5408 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/1.291, allocations: 9.188 kB / 0.5408 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004058/1.292, allocations: 114.2 kB / 0.5409 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/1.292, allocations: 117.7 kB / 0.541 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00871/1.301, allocations: 2.66 MB / 0.5436 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0259/1.327, allocations: 11.24 MB / 0.5546 GB, free: 101.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003583/1.33, allocations: 2.229 MB / 0.5568 GB, free: 100.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001943/1.332, allocations: 0.9865 MB / 0.5577 GB, free: 100.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004298/1.333, allocations: 227.4 kB / 0.558 GB, free: 100 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.124e-05/1.333, allocations: 50.38 kB / 0.558 GB, free: 99.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=134): time 5.2e-06/1.333, allocations: 0 / 0.558 GB, free: 99.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=158): time 0.02504/1.358, allocations: 7.197 MB / 0.565 GB, free: 97.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/1.358, allocations: 68.09 kB / 0.5651 GB, free: 97.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/1.361, allocations: 1.72 MB / 0.5668 GB, free: 96.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002622/1.362, allocations: 61.17 kB / 0.5668 GB, free: 96.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009406/1.363, allocations: 1.295 MB / 0.5681 GB, free: 95.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005539/1.363, allocations: 0.5337 MB / 0.5686 GB, free: 95.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/1.363, allocations: 31.94 kB / 0.5687 GB, free: 95.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/1.363, allocations: 393.6 kB / 0.569 GB, free: 95.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/1.365, allocations: 0.8757 MB / 0.5699 GB, free: 94.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/1.368, allocations: 1.319 MB / 0.5712 GB, free: 93.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/1.37, allocations: 1.094 MB / 0.5722 GB, free: 93.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1.37, allocations: 6.188 kB / 0.5722 GB, free: 93.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007332/1.377, allocations: 2.99 MB / 0.5752 GB, free: 92.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/1.377, allocations: 11.09 kB / 0.5752 GB, free: 92.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-05/1.377, allocations: 13.91 kB / 0.5752 GB, free: 92.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/1.38, allocations: 0.6266 MB / 0.5758 GB, free: 92.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/1.383, allocations: 438.6 kB / 0.5762 GB, free: 92.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/1.394, allocations: 5.718 MB / 0.5818 GB, free: 89.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/1.397, allocations: 135.5 kB / 0.5819 GB, free: 89.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000393/1.397, allocations: 79.8 kB / 0.582 GB, free: 89.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (197): * Single equations (assignments): 193 * 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.0004733/1.398, allocations: 208.4 kB / 0.5822 GB, free: 88.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006113/1.398, allocations: 215.5 kB / 0.5824 GB, free: 88.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006946/1.405, allocations: 2.726 MB / 0.5851 GB, free: 87.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/1.405, allocations: 14.81 kB / 0.5851 GB, free: 87.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.405, allocations: 7.438 kB / 0.5851 GB, free: 87.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-05/1.405, allocations: 11.53 kB / 0.5851 GB, free: 87.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/1.42, allocations: 5.766 MB / 0.5907 GB, free: 85.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/1.42, allocations: 2.469 kB / 0.5907 GB, free: 85.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/1.423, allocations: 287.9 kB / 0.591 GB, free: 85.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/1.426, allocations: 0.6877 MB / 0.5917 GB, free: 85.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002424/1.426, allocations: 40.72 kB / 0.5917 GB, free: 85.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01296/1.439, allocations: 7.419 MB / 0.599 GB, free: 80.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/1.439, allocations: 17.67 kB / 0.599 GB, free: 80.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009088/1.448, allocations: 4.13 MB / 0.603 GB, free: 78.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/1.45, allocations: 0.4916 MB / 0.6035 GB, free: 77.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005755/1.451, allocations: 39.95 kB / 0.6035 GB, free: 77.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.453, allocations: 113.1 kB / 0.6036 GB, free: 77.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/1.453, allocations: 127.3 kB / 0.6038 GB, free: 77.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.454, allocations: 47.75 kB / 0.6038 GB, free: 77.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002709/1.456, allocations: 1.313 MB / 0.6051 GB, free: 76.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.713e-06/1.456, allocations: 0 / 0.6051 GB, free: 76.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003362/1.46, allocations: 0.6756 MB / 0.6058 GB, free: 75.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (122): * Single equations (assignments): 118 * 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.009909/1.47, allocations: 5.584 MB / 0.6112 GB, free: 70.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006047/1.476, allocations: 2.608 MB / 0.6138 GB, free: 68.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.476, allocations: 2.906 kB / 0.6138 GB, free: 68.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004074/1.48, allocations: 1.645 MB / 0.6154 GB, free: 66.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/1.484, allocations: 463.6 kB / 0.6158 GB, free: 66.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.498, allocations: 5.385 MB / 0.6211 GB, free: 61.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/1.5, allocations: 2.205 MB / 0.6232 GB, free: 59.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002361/1.502, allocations: 454.2 kB / 0.6236 GB, free: 59.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/1.504, allocations: 1.062 MB / 0.6247 GB, free: 58.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/1.504, allocations: 0 / 0.6247 GB, free: 58.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1307/1.635, allocations: 55.75 MB / 0.6791 GB, free: 7.781 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/1.635, allocations: 184.8 kB / 0.6793 GB, free: 7.562 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.267/5.902, allocations: 3.938 kB / 0.6793 GB, free: 7.559 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat does not exist to compare? outputFormat=mat