Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.5e-05, allocations: 4 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5361/0.6374, allocations: 119.4 MB / 436.4 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/0.6378, allocations: 89.02 kB / 436.5 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9971/1.635, allocations: 160.5 MB / 0.583 GB, free: 79.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.936e-06/1.635, allocations: 0 / 0.583 GB, free: 79.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005115/1.636, allocations: 99.97 kB / 0.5831 GB, free: 79.84 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01743/1.653, allocations: 3.911 MB / 0.5869 GB, free: 77.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.653, allocations: 10.56 kB / 0.5869 GB, free: 77.94 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002973/1.656, allocations: 0.6085 MB / 0.5875 GB, free: 77.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008241/1.664, allocations: 0.9142 MB / 0.5884 GB, free: 77.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/1.682, allocations: 3.804 MB / 0.5921 GB, free: 75.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004831/1.682, allocations: 306.5 kB / 0.5924 GB, free: 75.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00194/1.684, allocations: 399.4 kB / 0.5928 GB, free: 75.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/1.703, allocations: 4.974 MB / 0.5977 GB, free: 72.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000272/1.703, allocations: 15.05 kB / 0.5977 GB, free: 72.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001683/1.705, allocations: 176.2 kB / 0.5979 GB, free: 72.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002485/1.705, allocations: 176.1 kB / 0.598 GB, free: 72.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/1.719, allocations: 3.978 MB / 0.6019 GB, free: 70.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0476/1.767, allocations: 16.94 MB / 0.6184 GB, free: 53.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/1.778, allocations: 8.244 MB / 0.6265 GB, free: 44.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004636/1.783, allocations: 1.621 MB / 0.6281 GB, free: 42.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0137/1.796, allocations: 4.832 MB / 0.6328 GB, free: 38.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/1.796, allocations: 51.83 kB / 0.6328 GB, free: 37.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 5.109e-06/1.796, allocations: 0 / 0.6328 GB, free: 37.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.01279/1.809, allocations: 4.495 MB / 0.6372 GB, free: 33.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/1.809, allocations: 68.72 kB / 0.6373 GB, free: 33.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00548/1.815, allocations: 1.973 MB / 0.6392 GB, free: 31.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004033/1.815, allocations: 49.7 kB / 0.6393 GB, free: 31.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001762/1.817, allocations: 1.85 MB / 0.6411 GB, free: 29.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007856/1.818, allocations: 0.5229 MB / 0.6416 GB, free: 28.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/1.818, allocations: 40 kB / 0.6416 GB, free: 28.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/1.818, allocations: 401.9 kB / 0.642 GB, free: 28.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/1.821, allocations: 0.7422 MB / 0.6427 GB, free: 27.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002614/1.823, allocations: 1.43 MB / 0.6441 GB, free: 25.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/1.826, allocations: 1.008 MB / 0.6451 GB, free: 24.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/1.826, allocations: 4 kB / 0.6451 GB, free: 24.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.007523/1.834, allocations: 2.591 MB / 0.6477 GB, free: 22.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/1.834, allocations: 15.28 kB / 0.6477 GB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/1.834, allocations: 24 kB / 0.6477 GB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/1.834, allocations: 126.1 kB / 0.6478 GB, free: 22.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004145/1.838, allocations: 0.5343 MB / 0.6483 GB, free: 21.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/1.841, allocations: 1.807 MB / 0.6501 GB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00338/1.844, allocations: 111.8 kB / 0.6502 GB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005223/1.845, allocations: 100 kB / 0.6503 GB, free: 19.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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.0006175/1.845, allocations: 236.2 kB / 0.6505 GB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007735/1.846, allocations: 241.1 kB / 0.6508 GB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006712/1.853, allocations: 2.268 MB / 0.653 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/1.853, allocations: 16 kB / 0.653 GB, free: 16.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/1.853, allocations: 11.94 kB / 0.653 GB, free: 16.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-05/1.853, allocations: 3.984 kB / 0.653 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/1.87, allocations: 5.544 MB / 0.6584 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.87, allocations: 0 / 0.6584 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/1.872, allocations: 291.8 kB / 0.6587 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/1.874, allocations: 314.2 kB / 0.659 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003491/1.874, allocations: 39.98 kB / 0.659 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008604/1.883, allocations: 6.284 MB / 0.6652 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.883, allocations: 0 / 0.6652 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00833/1.891, allocations: 3.41 MB / 0.6685 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.329/2.22, allocations: 485.9 kB / 0.669 GB, free: 83.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/2.221, allocations: 36.83 kB / 0.669 GB, free: 83.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00303/2.224, allocations: 91.94 kB / 0.6691 GB, free: 83.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007394/2.225, allocations: 116.2 kB / 0.6692 GB, free: 83.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002943/2.226, allocations: 42.14 kB / 0.6692 GB, free: 83.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005534/2.231, allocations: 1.495 MB / 0.6707 GB, free: 83.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.233e-06/2.231, allocations: 0.9375 kB / 0.6707 GB, free: 83.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005279/2.237, allocations: 0.7161 MB / 0.6714 GB, free: 83.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.01188/2.249, allocations: 4.763 MB / 0.676 GB, free: 81.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006537/2.255, allocations: 2.02 MB / 0.678 GB, free: 81.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/2.255, allocations: 0 / 0.678 GB, free: 81.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004297/2.26, allocations: 1.323 MB / 0.6793 GB, free: 81.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005746/2.265, allocations: 0.5558 MB / 0.6799 GB, free: 81.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/2.291, allocations: 6.531 MB / 0.6862 GB, free: 79.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005476/2.296, allocations: 2.738 MB / 0.6889 GB, free: 79.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004151/2.301, allocations: 0.5422 MB / 0.6894 GB, free: 79.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003975/2.305, allocations: 1.478 MB / 0.6909 GB, free: 79.13 MB / 426.7 MB Notification: Performance of SimCode: time 2.555e-06/2.305, allocations: 0 / 0.6909 GB, free: 79.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1546/2.459, allocations: 61.24 MB / 0.7507 GB, free: 61.03 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/2.46, allocations: 202.6 kB / 0.7509 GB, free: 60.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.687/7.147, allocations: 0 / 0.7509 GB, free: 60.79 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat does not exist to compare? outputFormat=mat