Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.149e-05, allocations: 4 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 44.51 MB / 300 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4437/0.5446, allocations: 89.85 MB / 389.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.545, allocations: 78.42 kB / 389.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1671/0.7121, allocations: 40.61 MB / 430.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.489e-06/0.7122, allocations: 0 / 430.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001403/0.7123, allocations: 39.06 kB / 430.5 MB, free: 15.34 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00524/0.7176, allocations: 1.55 MB / 432.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.7176, allocations: 9.062 kB / 432.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006263/0.7183, allocations: 222.1 kB / 432.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.7196, allocations: 262.9 kB / 432.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003532/0.7232, allocations: 1.099 MB / 433.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.7234, allocations: 115.7 kB / 433.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/0.7238, allocations: 157 kB / 433.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003978/0.7277, allocations: 1.426 MB / 435.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.038e-05/0.7279, allocations: 11.91 kB / 435.4 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.7281, allocations: 60.88 kB / 435.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.148e-05/0.7282, allocations: 40 kB / 435.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/0.7313, allocations: 0.9138 MB / 436.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/0.7456, allocations: 6.659 MB / 443.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.7468, allocations: 368.7 kB / 443.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.7474, allocations: 205.4 kB / 443.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.547e-05/0.7475, allocations: 8.438 kB / 443.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006211/0.7481, allocations: 253.7 kB / 443.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 3.076e-06/0.7481, allocations: 0 / 443.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.00447/0.7526, allocations: 1.623 MB / 445.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.7528, allocations: 192.5 kB / 445.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0025/0.7553, allocations: 1.069 MB / 446.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.7555, allocations: 41.73 kB / 446.8 MB, free: 2.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.7565, allocations: 0.8706 MB / 447.7 MB, free: 1.598 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.7568, allocations: 204.6 kB / 447.9 MB, free: 1.398 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.7569, allocations: 20 kB / 447.9 MB, free: 1.379 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.7571, allocations: 357.8 kB / 448.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/0.7577, allocations: 210.6 kB / 448.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.7588, allocations: 0.7879 MB / 449.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009812/0.7598, allocations: 380.6 kB / 449.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/0.7599, allocations: 8 kB / 449.6 MB, free: 15.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003198/0.7631, allocations: 1.138 MB / 450.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/0.7632, allocations: 37.7 kB / 450.8 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.793e-05/0.7633, allocations: 20 kB / 450.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003429/0.7636, allocations: 65.7 kB / 450.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/0.7653, allocations: 275.5 kB / 451.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.7682, allocations: 2.576 MB / 453.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.77, allocations: 68.05 kB / 453.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.7703, allocations: 67.98 kB / 453.8 MB, free: 10.83 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.7706, allocations: 192.4 kB / 454 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/0.7709, allocations: 130.4 kB / 454.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.7725, allocations: 0.5213 MB / 454.7 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.7726, allocations: 4 kB / 454.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.7726, allocations: 4 kB / 454.7 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.7726, allocations: 3.984 kB / 454.7 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/0.7775, allocations: 1.891 MB / 456.6 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.7776, allocations: 4 kB / 456.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009073/0.7785, allocations: 107.8 kB / 456.7 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.7788, allocations: 46.17 kB / 456.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/0.7788, allocations: 19.98 kB / 456.7 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.7813, allocations: 2.536 MB / 459.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.7814, allocations: 8.25 kB / 459.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.7837, allocations: 1.083 MB / 460.4 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008491/0.7846, allocations: 255.3 kB / 460.6 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.7848, allocations: 16 kB / 460.6 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.7859, allocations: 39.97 kB / 460.7 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.7861, allocations: 55.83 kB / 460.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.7861, allocations: 20 kB / 460.8 MB, free: 3.301 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00202/0.7882, allocations: 0.7896 MB / 461.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.7882, allocations: 0 / 461.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002168/0.7904, allocations: 344 kB / 461.9 MB, free: 2.172 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.phi,dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.inertiaRotor.phi,dcpm2.inertiaRotor.w) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003431/0.7939, allocations: 2.831 MB / 464.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002217/0.7961, allocations: 0.8862 MB / 465.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.7962, allocations: 3.938 kB / 465.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.7972, allocations: 454.4 kB / 466 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.8, allocations: 305.2 kB / 466.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007654/0.8077, allocations: 2.124 MB / 468.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.8089, allocations: 1.213 MB / 469.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001255/0.8102, allocations: 171.3 kB / 469.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.8115, allocations: 0.5852 MB / 470.4 MB, free: 9.32 MB / 362.7 MB Notification: Performance of SimCode: time 4.588e-06/0.8115, allocations: 0 / 470.4 MB, free: 9.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/0.9162, allocations: 28.44 MB / 498.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/0.9166, allocations: 200.2 kB / 499.1 MB, free: 12.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.942/4.859, allocations: 0 / 499.1 MB, free: 12.68 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_res.mat does not exist to compare? outputFormat=mat