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.873/1.873, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.52e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.259, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.19/0.449, allocations: 75.57 MB / 339.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.4494, allocations: 83.95 kB / 339.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08343/0.5329, allocations: 19.64 MB / 359.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5329, allocations: 4 kB / 359.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.971e-05/0.533, allocations: 20 kB / 359.2 MB, free: 10.11 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.003905/0.5369, allocations: 1.08 MB / 360.3 MB, free: 8.977 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.537, allocations: 12.03 kB / 360.3 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003984/0.5374, allocations: 147.5 kB / 360.4 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008598/0.5383, allocations: 138.7 kB / 360.6 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.5398, allocations: 0.4944 MB / 361.1 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.383e-05/0.54, allocations: 69.98 kB / 361.1 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.5402, allocations: 96 kB / 361.2 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.5428, allocations: 0.8403 MB / 362.1 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.5429, allocations: 3.938 kB / 362.1 MB, free: 7.109 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.5431, allocations: 39.98 kB / 362.1 MB, free: 7.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.5431, allocations: 24 kB / 362.1 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.5453, allocations: 0.6092 MB / 362.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008642/0.554, allocations: 3.256 MB / 366 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.5562, allocations: 0.8613 MB / 366.9 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.5575, allocations: 370.6 kB / 367.2 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.87e-05/0.5576, allocations: 8.562 kB / 367.2 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.5586, allocations: 396.6 kB / 367.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 3.657e-06/0.5587, allocations: 0 / 367.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.002618/0.5613, allocations: 0.7306 MB / 368.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.5615, allocations: 192.5 kB / 368.5 MB, free: 336 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2403/0.8018, allocations: 376 kB / 368.9 MB, free: 83.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.8021, allocations: 40.58 kB / 368.9 MB, free: 83.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006808/0.8028, allocations: 396.9 kB / 369.3 MB, free: 83.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/0.8034, allocations: 222.1 kB / 369.5 MB, free: 83.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.8035, allocations: 15.16 kB / 369.6 MB, free: 83.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.8037, allocations: 365.6 kB / 369.9 MB, free: 82.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/0.8046, allocations: 192.8 kB / 370.1 MB, free: 82.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.8057, allocations: 396.1 kB / 370.5 MB, free: 82.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.8068, allocations: 240.1 kB / 370.7 MB, free: 82.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.464e-05/0.8068, allocations: 2.094 kB / 370.7 MB, free: 82.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003615/0.8105, allocations: 0.8189 MB / 371.5 MB, free: 82.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.8106, allocations: 11.28 kB / 371.6 MB, free: 82.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.8106, allocations: 3.656 kB / 371.6 MB, free: 82.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/0.8124, allocations: 265.1 kB / 371.8 MB, free: 82.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.8136, allocations: 122.8 kB / 371.9 MB, free: 82.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009199/0.8229, allocations: 4.375 MB / 376.3 MB, free: 79.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.8244, allocations: 96.77 kB / 376.4 MB, free: 79.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.8245, allocations: 35.64 kB / 376.4 MB, free: 79.74 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.0003196/0.8249, allocations: 150.8 kB / 376.6 MB, free: 79.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.8251, allocations: 68.17 kB / 376.7 MB, free: 79.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.8285, allocations: 0.7673 MB / 377.4 MB, free: 79.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.8286, allocations: 11.25 kB / 377.4 MB, free: 79.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8286, allocations: 0 / 377.4 MB, free: 79.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.8286, allocations: 4.922 kB / 377.4 MB, free: 79.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00526/0.8339, allocations: 1.592 MB / 379 MB, free: 79.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.834, allocations: 3.375 kB / 379 MB, free: 79.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/0.8348, allocations: 72.72 kB / 379.1 MB, free: 79.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/0.8365, allocations: 262.4 kB / 379.4 MB, free: 79.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.794e-05/0.8366, allocations: 13.34 kB / 379.4 MB, free: 79.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008853/0.8455, allocations: 4.352 MB / 383.7 MB, free: 76.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8456, allocations: 2.438 kB / 383.7 MB, free: 76.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/0.8495, allocations: 1.113 MB / 384.8 MB, free: 75.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/0.85, allocations: 198.8 kB / 385 MB, free: 75.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.8503, allocations: 11.72 kB / 385 MB, free: 75.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.8513, allocations: 50.16 kB / 385.1 MB, free: 75.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003472/0.8517, allocations: 65.64 kB / 385.2 MB, free: 75.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/0.8518, allocations: 19.53 kB / 385.2 MB, free: 75.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007075/0.8525, allocations: 294.4 kB / 385.5 MB, free: 75.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.8525, allocations: 3.188 kB / 385.5 MB, free: 75.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002119/0.8547, allocations: 281.7 kB / 385.7 MB, free: 75.26 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.004287/0.859, allocations: 1.846 MB / 387.6 MB, free: 74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.8619, allocations: 0.8537 MB / 388.4 MB, free: 73.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.862, allocations: 5.156 kB / 388.4 MB, free: 73.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001906/0.8639, allocations: 0.598 MB / 389 MB, free: 73.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.8652, allocations: 99.59 kB / 389.1 MB, free: 73.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/0.8703, allocations: 1.208 MB / 390.4 MB, free: 72.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/0.8711, allocations: 0.9879 MB / 391.3 MB, free: 71.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006655/0.8718, allocations: 63.19 kB / 391.4 MB, free: 71.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006034/0.8724, allocations: 281.2 kB / 391.7 MB, free: 71.6 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8724, allocations: 0 / 391.7 MB, free: 71.6 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05508/0.9275, allocations: 15.92 MB / 407.6 MB, free: 61.8 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.9279, allocations: 199.2 kB / 407.8 MB, free: 61.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/4.151, allocations: 4 kB / 407.8 MB, free: 61.57 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