Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.235/2.235, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.32e-05, allocations: 4 kB / 292.8 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 50.41 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4923/0.6092, allocations: 120.6 MB / 463.8 MB, free: 5.965 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.6096, allocations: 94.06 kB / 463.9 MB, free: 5.914 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9074/1.517, allocations: 160.9 MB / 0.6101 GB, free: 81 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.517, allocations: 0 / 0.6101 GB, free: 81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004055/1.517, allocations: 106.6 kB / 0.6102 GB, free: 80.98 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01587/1.533, allocations: 3.928 MB / 0.614 GB, free: 77.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.533, allocations: 8.031 kB / 0.614 GB, free: 77.15 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002446/1.536, allocations: 0.5997 MB / 0.6146 GB, free: 76.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007731/1.544, allocations: 0.9185 MB / 0.6155 GB, free: 75.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01367/1.557, allocations: 3.805 MB / 0.6192 GB, free: 71.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003357/1.558, allocations: 302.8 kB / 0.6195 GB, free: 71.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001477/1.559, allocations: 404.2 kB / 0.6199 GB, free: 71.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/1.574, allocations: 4.98 MB / 0.6248 GB, free: 66.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001398/1.574, allocations: 11.83 kB / 0.6248 GB, free: 66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006766/1.575, allocations: 172 kB / 0.6249 GB, free: 65.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001986/1.575, allocations: 164 kB / 0.6251 GB, free: 65.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/1.588, allocations: 3.987 MB / 0.629 GB, free: 61.67 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04181/1.63, allocations: 16.93 MB / 0.6455 GB, free: 44.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00964/1.639, allocations: 8.24 MB / 0.6536 GB, free: 35.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004187/1.644, allocations: 1.619 MB / 0.6551 GB, free: 33.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/1.656, allocations: 4.85 MB / 0.6599 GB, free: 28.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/1.656, allocations: 43.88 kB / 0.6599 GB, free: 28.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 5.22e-06/1.656, allocations: 0 / 0.6599 GB, free: 28.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=154): time 0.01115/1.667, allocations: 4.512 MB / 0.6643 GB, free: 23.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/1.667, allocations: 64.72 kB / 0.6644 GB, free: 23.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/1.671, allocations: 1.976 MB / 0.6663 GB, free: 21.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003396/1.672, allocations: 53.7 kB / 0.6664 GB, free: 21.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/1.673, allocations: 1.852 MB / 0.6682 GB, free: 19.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006455/1.674, allocations: 0.5283 MB / 0.6687 GB, free: 19.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/1.674, allocations: 40 kB / 0.6687 GB, free: 19.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/1.674, allocations: 390 kB / 0.6691 GB, free: 18.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/1.676, allocations: 0.75 MB / 0.6698 GB, free: 18.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/1.678, allocations: 1.414 MB / 0.6712 GB, free: 16.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/1.68, allocations: 1.029 MB / 0.6722 GB, free: 15.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/1.68, allocations: 8 kB / 0.6722 GB, free: 15.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.006273/1.687, allocations: 2.607 MB / 0.6748 GB, free: 12.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/1.687, allocations: 12 kB / 0.6748 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.826e-05/1.687, allocations: 24 kB / 0.6748 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004562/1.687, allocations: 130.1 kB / 0.6749 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003833/1.691, allocations: 0.5304 MB / 0.6755 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/1.693, allocations: 1.807 MB / 0.6772 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/1.696, allocations: 119.8 kB / 0.6773 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/1.697, allocations: 104 kB / 0.6774 GB, free: 9.875 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (259): * Single equations (assignments): 257 * 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: 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004767/1.697, allocations: 229 kB / 0.6777 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005759/1.698, allocations: 245 kB / 0.6779 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005566/1.704, allocations: 2.279 MB / 0.6801 GB, free: 7.066 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.704, allocations: 19.95 kB / 0.6801 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/1.704, allocations: 4 kB / 0.6801 GB, free: 7.043 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/1.704, allocations: 11.97 kB / 0.6801 GB, free: 7.031 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/1.717, allocations: 5.538 MB / 0.6856 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/1.717, allocations: 0 / 0.6856 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002456/1.719, allocations: 295.8 kB / 0.6858 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/1.721, allocations: 314.3 kB / 0.6861 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/1.721, allocations: 39.98 kB / 0.6862 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3285/2.049, allocations: 6.291 MB / 0.6923 GB, free: 76.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/2.049, allocations: 2.469 kB / 0.6923 GB, free: 76.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008432/2.058, allocations: 3.399 MB / 0.6956 GB, free: 76.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/2.06, allocations: 492.8 kB / 0.6961 GB, free: 76.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008769/2.061, allocations: 36.39 kB / 0.6961 GB, free: 76.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/2.063, allocations: 89.3 kB / 0.6962 GB, free: 76.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004851/2.064, allocations: 114.8 kB / 0.6963 GB, free: 76.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/2.064, allocations: 43.25 kB / 0.6964 GB, free: 76.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004319/2.068, allocations: 1.495 MB / 0.6978 GB, free: 76.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.42e-07/2.068, allocations: 0 / 0.6978 GB, free: 76.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004557/2.073, allocations: 0.7266 MB / 0.6986 GB, free: 76.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.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 (126): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01046/2.083, allocations: 4.704 MB / 0.7031 GB, free: 74.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005978/2.089, allocations: 2.031 MB / 0.7051 GB, free: 74.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/2.089, allocations: 3.969 kB / 0.7051 GB, free: 74.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003852/2.093, allocations: 1.307 MB / 0.7064 GB, free: 73.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005324/2.099, allocations: 0.5524 MB / 0.7069 GB, free: 73.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/2.121, allocations: 6.515 MB / 0.7133 GB, free: 72.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003906/2.124, allocations: 2.732 MB / 0.716 GB, free: 71.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003641/2.128, allocations: 0.5487 MB / 0.7165 GB, free: 71.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003387/2.132, allocations: 1.473 MB / 0.718 GB, free: 71.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.834e-06/2.132, allocations: 0 / 0.718 GB, free: 71.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/2.277, allocations: 61.41 MB / 0.7779 GB, free: 55.07 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/2.278, allocations: 213.6 kB / 0.7781 GB, free: 54.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.749/7.027, allocations: 4 kB / 0.7781 GB, free: 54.84 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat does not exist to compare? outputFormat=mat