Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.543e-05, allocations: 0 / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 50.42 MB / 342.7 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4598/0.5683, allocations: 89.48 MB / 432.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004333/0.5688, allocations: 80.14 kB / 432.2 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09949/0.6684, allocations: 22.01 MB / 454.2 MB, free: 2.125 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6684, allocations: 0 / 454.2 MB, free: 2.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.209e-05/0.6685, allocations: 20 kB / 454.2 MB, free: 2.105 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004684/0.6732, allocations: 1.146 MB / 455.4 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.039e-05/0.6733, allocations: 8.031 kB / 455.4 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008819/0.6742, allocations: 150.9 kB / 455.5 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004628/0.6788, allocations: 298.3 kB / 455.8 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/0.681, allocations: 0.5368 MB / 456.4 MB, free: 148 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.6812, allocations: 77.52 kB / 456.4 MB, free: 100 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/0.6815, allocations: 103.8 kB / 456.5 MB, free: 32 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003695/0.6853, allocations: 0.9511 MB / 457.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.179e-05/0.6854, allocations: 11.78 kB / 457.5 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.6856, allocations: 45.38 kB / 457.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.6857, allocations: 24 kB / 457.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003494/0.6892, allocations: 0.7699 MB / 458.3 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009785/0.699, allocations: 3.577 MB / 461.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/0.7025, allocations: 1.852 MB / 463.8 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.704, allocations: 416 kB / 464.2 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.7042, allocations: 97.81 kB / 464.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.7054, allocations: 459.9 kB / 464.7 MB, free: 7.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 3.868e-06/0.7055, allocations: 4 kB / 464.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.002894/0.7084, allocations: 0.8216 MB / 465.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.7085, allocations: 204.7 kB / 465.8 MB, free: 6.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/0.7093, allocations: 395.8 kB / 466.1 MB, free: 6.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.7095, allocations: 41.7 kB / 466.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.7099, allocations: 415.6 kB / 466.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.7103, allocations: 276 kB / 466.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.7104, allocations: 20 kB / 466.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.7106, allocations: 374.8 kB / 467.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000703/0.7113, allocations: 230 kB / 467.5 MB, free: 4.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.7124, allocations: 449.4 kB / 467.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009242/0.7134, allocations: 286 kB / 468.2 MB, free: 4.145 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.7134, allocations: 0 / 468.2 MB, free: 4.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002891/0.7163, allocations: 0.9392 MB / 469.1 MB, free: 3.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.7164, allocations: 8.062 kB / 469.1 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.7164, allocations: 12 kB / 469.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.7178, allocations: 259.6 kB / 469.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.719, allocations: 155.7 kB / 469.5 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00817/0.7272, allocations: 4.371 MB / 473.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.7285, allocations: 111 kB / 474 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.7286, allocations: 32 kB / 474.1 MB, free: 13.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y_last,iDC2.mean.y_last,$PRE.iAC.mean1.y_last,iAC.mean1.y_last,$PRE.iAC.mean2.y_last,iAC.mean2.y_last,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 (82): * Single equations (assignments): 80 * 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.0002884/0.7289, allocations: 157.6 kB / 474.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.7291, allocations: 71.19 kB / 474.3 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.732, allocations: 0.8992 MB / 475.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.7321, allocations: 8 kB / 475.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7321, allocations: 4 kB / 475.2 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.7321, allocations: 3.984 kB / 475.2 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004893/0.737, allocations: 1.873 MB / 477.1 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.7371, allocations: 4 kB / 477.1 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009143/0.738, allocations: 103.9 kB / 477.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.7393, allocations: 260.1 kB / 477.4 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-05/0.7395, allocations: 16 kB / 477.4 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007903/0.7474, allocations: 4.348 MB / 481.8 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7474, allocations: 4.062 kB / 481.8 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/0.7511, allocations: 1.286 MB / 483.1 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004888/0.7517, allocations: 216 kB / 483.3 MB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.7519, allocations: 16 kB / 483.3 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008524/0.7527, allocations: 55.97 kB / 483.4 MB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.753, allocations: 68.62 kB / 483.4 MB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/0.7531, allocations: 23.98 kB / 483.5 MB, free: 4.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005729/0.7537, allocations: 309.6 kB / 483.8 MB, free: 3.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7537, allocations: 0 / 483.8 MB, free: 3.859 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001594/0.7553, allocations: 315.2 kB / 484.1 MB, free: 3.551 MB / 394.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_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * 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.004293/0.7596, allocations: 2.076 MB / 486.1 MB, free: 1.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002719/0.7624, allocations: 0.9671 MB / 487.1 MB, free: 456 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.7624, allocations: 0 / 487.1 MB, free: 456 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.7643, allocations: 0.6769 MB / 487.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.7653, allocations: 98.34 kB / 487.9 MB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005664/0.771, allocations: 1.357 MB / 489.2 MB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009035/0.7719, allocations: 1.014 MB / 490.3 MB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006672/0.7726, allocations: 77.34 kB / 490.3 MB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/0.7733, allocations: 315.3 kB / 490.6 MB, free: 12.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/0.7733, allocations: 0 / 490.6 MB, free: 12.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06715/0.8405, allocations: 17.49 MB / 0.4962 GB, free: 11.52 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/0.8409, allocations: 200 kB / 0.4964 GB, free: 11.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/4.355, allocations: 0 / 0.4964 GB, free: 11.29 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat