Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.026/2.026, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.57e-05, allocations: 4 kB / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.09987, allocations: 47.57 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4417/0.5416, allocations: 86.95 MB / 404 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.542, allocations: 87.5 kB / 404.1 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09153/0.6336, allocations: 22.43 MB / 426.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6336, allocations: 3.938 kB / 426.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.679e-05/0.6337, allocations: 27.98 kB / 426.5 MB, free: 14.12 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.004451/0.6382, allocations: 1.144 MB / 427.7 MB, free: 13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.6383, allocations: 16.02 kB / 427.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004907/0.6388, allocations: 164.8 kB / 427.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003488/0.6423, allocations: 372.3 kB / 428.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.644, allocations: 0.5396 MB / 428.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.212e-05/0.6441, allocations: 79.48 kB / 428.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.6444, allocations: 103.6 kB / 428.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.6476, allocations: 0.9897 MB / 429.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.827e-05/0.6477, allocations: 4 kB / 429.9 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.6479, allocations: 45.92 kB / 430 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.6479, allocations: 28 kB / 430 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.6509, allocations: 0.8304 MB / 430.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.662, allocations: 3.795 MB / 434.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004105/0.6662, allocations: 2.442 MB / 437.1 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.6676, allocations: 427.9 kB / 437.5 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.6678, allocations: 97.86 kB / 437.6 MB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.6689, allocations: 457.4 kB / 438 MB, free: 4.324 MB / 346.7 MB Notification: Performance of pre-optimization done (n=86): time 4.96e-06/0.669, allocations: 0 / 438 MB, free: 4.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.003069/0.6721, allocations: 0.836 MB / 438.9 MB, free: 3.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.6723, allocations: 204.5 kB / 439.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008859/0.6732, allocations: 412.7 kB / 439.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002463/0.6734, allocations: 40.39 kB / 439.5 MB, free: 3.098 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/0.674, allocations: 446.3 kB / 439.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005142/0.6745, allocations: 283.3 kB / 440.2 MB, free: 2.504 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.6746, allocations: 18.75 kB / 440.2 MB, free: 2.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.6749, allocations: 374.5 kB / 440.6 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007682/0.6757, allocations: 242.8 kB / 440.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000965/0.6767, allocations: 489.4 kB / 441.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009324/0.6776, allocations: 298.3 kB / 441.6 MB, free: 1.348 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.6777, allocations: 4 kB / 441.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003259/0.681, allocations: 0.9918 MB / 442.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.681, allocations: 8 kB / 442.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.6811, allocations: 8 kB / 442.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.6826, allocations: 264.5 kB / 442.9 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.684, allocations: 166.9 kB / 443 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00875/0.6928, allocations: 4.376 MB / 447.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.6942, allocations: 119.1 kB / 447.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.6944, allocations: 36 kB / 447.6 MB, free: 11.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 17,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003386/0.6948, allocations: 168.7 kB / 447.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.6951, allocations: 71.2 kB / 447.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.6984, allocations: 0.927 MB / 448.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.6984, allocations: 8 kB / 448.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6985, allocations: 7.953 kB / 448.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.719e-05/0.6985, allocations: 3.984 kB / 448.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005894/0.7044, allocations: 1.89 MB / 450.6 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.7045, allocations: 7.938 kB / 450.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009869/0.7055, allocations: 111.8 kB / 450.7 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.707, allocations: 253.7 kB / 451 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.7072, allocations: 23.94 kB / 451 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008197/0.7154, allocations: 4.34 MB / 455.4 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.7154, allocations: 7.938 kB / 455.4 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.7195, allocations: 1.306 MB / 456.7 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005804/0.7202, allocations: 220 kB / 456.9 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.7204, allocations: 16 kB / 456.9 MB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00097/0.7213, allocations: 47.97 kB / 457 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003153/0.7217, allocations: 72.67 kB / 457 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.7218, allocations: 27.95 kB / 457 MB, free: 1.633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006377/0.7224, allocations: 313.6 kB / 457.4 MB, free: 1.328 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7225, allocations: 0 / 457.4 MB, free: 1.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001724/0.7242, allocations: 323.3 kB / 457.7 MB, free: 1.012 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (currentSensorQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.004497/0.7287, allocations: 2.07 MB / 459.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003027/0.7318, allocations: 1.003 MB / 460.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.7319, allocations: 0 / 460.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.7339, allocations: 0.6761 MB / 461.4 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009676/0.7349, allocations: 98.05 kB / 461.5 MB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.7427, allocations: 1.841 MB / 463.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/0.7435, allocations: 1.01 MB / 464.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007311/0.7443, allocations: 93.55 kB / 464.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006957/0.745, allocations: 323.3 kB / 464.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.745, allocations: 4 kB / 464.8 MB, free: 9.738 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07263/0.8177, allocations: 17.76 MB / 482.5 MB, free: 8.035 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003545/0.8181, allocations: 191.8 kB / 482.7 MB, free: 7.816 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.147/3.965, allocations: 0 / 482.7 MB, free: 7.816 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat