Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.773/1.773, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.204e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2776, allocations: 38.77 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4138, allocations: 75.57 MB / 339.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/0.4142, allocations: 87.94 kB / 339.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08282/0.4971, allocations: 19.62 MB / 359.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4971, allocations: 4 kB / 359.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.057e-05/0.4972, allocations: 20 kB / 359.2 MB, free: 10.21 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003765/0.501, allocations: 1.087 MB / 360.2 MB, free: 9.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.5011, allocations: 12.03 kB / 360.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003531/0.5014, allocations: 135.6 kB / 360.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007454/0.5022, allocations: 142.7 kB / 360.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.5034, allocations: 0.4945 MB / 361 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.5035, allocations: 70 kB / 361.1 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.5038, allocations: 92 kB / 361.2 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/0.5062, allocations: 0.8559 MB / 362 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.584e-05/0.5063, allocations: 4 kB / 362 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.5065, allocations: 36 kB / 362.1 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.5065, allocations: 20 kB / 362.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.5088, allocations: 0.6286 MB / 362.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008611/0.5175, allocations: 3.26 MB / 366 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002198/0.5197, allocations: 0.8732 MB / 366.9 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.521, allocations: 363.3 kB / 367.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.634e-05/0.5211, allocations: 12.55 kB / 367.2 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.5221, allocations: 405.8 kB / 367.6 MB, free: 1.352 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 4.068e-06/0.5222, allocations: 0 / 367.6 MB, free: 1.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.00257/0.5247, allocations: 0.7267 MB / 368.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.5249, allocations: 188.5 kB / 368.5 MB, free: 396 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/0.5257, allocations: 379.1 kB / 368.9 MB, free: 20 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.2361/0.7618, allocations: 39.27 kB / 368.9 MB, free: 83.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005558/0.7625, allocations: 392.8 kB / 369.3 MB, free: 83.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/0.7629, allocations: 231 kB / 369.6 MB, free: 83.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/0.763, allocations: 19 kB / 369.6 MB, free: 83.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.7632, allocations: 365.3 kB / 369.9 MB, free: 83.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007003/0.7639, allocations: 192.1 kB / 370.1 MB, free: 83.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008514/0.7648, allocations: 397.2 kB / 370.5 MB, free: 83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007656/0.7656, allocations: 236.6 kB / 370.7 MB, free: 82.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.7656, allocations: 1.938 kB / 370.7 MB, free: 82.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002782/0.7684, allocations: 0.8398 MB / 371.6 MB, free: 82.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.7685, allocations: 7.906 kB / 371.6 MB, free: 82.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.7685, allocations: 4.641 kB / 371.6 MB, free: 82.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.7699, allocations: 262.7 kB / 371.8 MB, free: 82.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000922/0.7708, allocations: 125 kB / 372 MB, free: 82.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006987/0.7778, allocations: 4.369 MB / 376.3 MB, free: 80.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.779, allocations: 98.25 kB / 376.4 MB, free: 80.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.7791, allocations: 33.75 kB / 376.5 MB, free: 80.13 MB / 314.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,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 (65): * Single equations (assignments): 63 * 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.000252/0.7793, allocations: 161 kB / 376.6 MB, free: 80.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.7795, allocations: 67.84 kB / 376.7 MB, free: 79.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.7818, allocations: 0.7612 MB / 377.4 MB, free: 79.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.7818, allocations: 9.469 kB / 377.5 MB, free: 79.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7818, allocations: 0 / 377.5 MB, free: 79.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.7819, allocations: 6.641 kB / 377.5 MB, free: 79.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/0.7855, allocations: 1.592 MB / 379.1 MB, free: 79.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7855, allocations: 0 / 379.1 MB, free: 79.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/0.7862, allocations: 72.34 kB / 379.1 MB, free: 79.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.7874, allocations: 265 kB / 379.4 MB, free: 79.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.112e-05/0.7875, allocations: 16.11 kB / 379.4 MB, free: 79.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00644/0.794, allocations: 4.338 MB / 383.7 MB, free: 76.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.794, allocations: 5.188 kB / 383.7 MB, free: 76.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.7968, allocations: 1.117 MB / 384.9 MB, free: 76.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.7972, allocations: 200.4 kB / 385.1 MB, free: 75.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.7974, allocations: 13.38 kB / 385.1 MB, free: 75.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/0.7981, allocations: 56.41 kB / 385.1 MB, free: 75.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.7984, allocations: 52.81 kB / 385.2 MB, free: 75.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.7984, allocations: 21.94 kB / 385.2 MB, free: 75.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004625/0.7989, allocations: 291 kB / 385.5 MB, free: 75.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.7989, allocations: 3.094 kB / 385.5 MB, free: 75.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001322/0.8003, allocations: 293.4 kB / 385.8 MB, free: 75.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.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 (40): * Single equations (assignments): 35 * 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.003065/0.8033, allocations: 1.847 MB / 387.6 MB, free: 74.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.8055, allocations: 0.8863 MB / 388.5 MB, free: 73.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.8055, allocations: 4.062 kB / 388.5 MB, free: 73.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.8068, allocations: 0.6224 MB / 389.1 MB, free: 73.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008534/0.8077, allocations: 99.8 kB / 389.2 MB, free: 73.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.8117, allocations: 1.211 MB / 390.4 MB, free: 72.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.8123, allocations: 0.9852 MB / 391.4 MB, free: 72.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005234/0.8128, allocations: 59.86 kB / 391.5 MB, free: 72.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/0.8133, allocations: 284.8 kB / 391.8 MB, free: 71.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.8133, allocations: 0 / 391.8 MB, free: 71.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06887/0.8822, allocations: 15.99 MB / 407.8 MB, free: 61.84 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/0.8826, allocations: 196.6 kB / 407.9 MB, free: 61.62 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.492/4.375, allocations: 4.062 kB / 407.9 MB, free: 61.61 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat