Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.19e-05, allocations: 3.938 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3241, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2165/0.5407, allocations: 81.58 MB / 375.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5411, allocations: 79.94 kB / 375.9 MB, free: 192 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09154/0.6326, allocations: 21.88 MB / 397.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.6327, allocations: 0 / 397.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.497e-05/0.6328, allocations: 28 kB / 397.8 MB, free: 10.09 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003941/0.6367, allocations: 1.142 MB / 398.9 MB, free: 8.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.6368, allocations: 12.02 kB / 399 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.6402, allocations: 374.3 kB / 399.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.6417, allocations: 0.5278 MB / 399.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/0.6418, allocations: 32 kB / 399.9 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.6421, allocations: 67.91 kB / 399.9 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00249/0.6446, allocations: 0.7889 MB / 400.7 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.6471, allocations: 0.8286 MB / 401.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/0.6472, allocations: 4 kB / 401.6 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.6473, allocations: 4 kB / 401.6 MB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.6474, allocations: 24 kB / 401.6 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009648/0.657, allocations: 3.604 MB / 405.2 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/0.6612, allocations: 2.4 MB / 407.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.6624, allocations: 371.3 kB / 408 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.6626, allocations: 97.86 kB / 408.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.6637, allocations: 436 kB / 408.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=86): time 4.488e-06/0.6637, allocations: 0 / 408.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.003077/0.6668, allocations: 0.8138 MB / 409.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.667, allocations: 196.7 kB / 409.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/0.6677, allocations: 369 kB / 409.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.6679, allocations: 25.7 kB / 409.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004753/0.6684, allocations: 427.4 kB / 410.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.6687, allocations: 268 kB / 410.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.6688, allocations: 0 / 410.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.669, allocations: 378.7 kB / 410.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.6697, allocations: 222.6 kB / 411.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/0.6707, allocations: 473.2 kB / 411.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.6719, allocations: 340.3 kB / 411.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.672, allocations: 0 / 411.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003426/0.6754, allocations: 0.9702 MB / 412.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.6755, allocations: 8 kB / 412.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.6755, allocations: 8 kB / 412.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.6769, allocations: 263.7 kB / 413.2 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.6783, allocations: 163.8 kB / 413.3 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00779/0.6861, allocations: 4.206 MB / 417.5 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.6874, allocations: 87.23 kB / 417.6 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.6876, allocations: 39.98 kB / 417.7 MB, free: 5.043 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: rectifierQS.vQS.re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real rectifierQS.vQS.im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real 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.0003532/0.6879, allocations: 148.4 kB / 417.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002983/0.6909, allocations: 0.8209 MB / 418.6 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.6912, allocations: 67.23 kB / 418.7 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.6944, allocations: 0.876 MB / 419.6 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.6944, allocations: 8 kB / 419.6 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6945, allocations: 0 / 419.6 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.6945, allocations: 11.98 kB / 419.6 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005065/0.6996, allocations: 1.745 MB / 421.3 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.6996, allocations: 0 / 421.3 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009725/0.7006, allocations: 103.9 kB / 421.4 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.702, allocations: 257.6 kB / 421.7 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.7021, allocations: 4 kB / 421.7 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2578/0.96, allocations: 4.17 MB / 425.9 MB, free: 97.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9601, allocations: 3.094 kB / 425.9 MB, free: 97.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003514/0.9636, allocations: 1.262 MB / 427.1 MB, free: 96.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.9641, allocations: 213.9 kB / 427.3 MB, free: 96.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.9643, allocations: 7.969 kB / 427.3 MB, free: 96.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000795/0.9651, allocations: 38.81 kB / 427.4 MB, free: 96.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.9654, allocations: 69.73 kB / 427.5 MB, free: 96.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/0.9655, allocations: 31.34 kB / 427.5 MB, free: 96.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004301/0.9659, allocations: 267.8 kB / 427.7 MB, free: 96.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.966, allocations: 1 kB / 427.7 MB, free: 96.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001624/0.9676, allocations: 281.3 kB / 428 MB, free: 96.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.003877/0.9715, allocations: 1.93 MB / 429.9 MB, free: 95.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002393/0.9739, allocations: 0.9614 MB / 430.9 MB, free: 95.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.974, allocations: 1.438 kB / 430.9 MB, free: 95.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.9755, allocations: 0.6595 MB / 431.6 MB, free: 95.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.9767, allocations: 72.81 kB / 431.6 MB, free: 95.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009026/0.9857, allocations: 1.723 MB / 433.4 MB, free: 94.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009083/0.9867, allocations: 1.017 MB / 434.4 MB, free: 94.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001007/0.9877, allocations: 85.39 kB / 434.5 MB, free: 94.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008117/0.9886, allocations: 308.7 kB / 434.8 MB, free: 94.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.9886, allocations: 0 / 434.8 MB, free: 94.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.093, allocations: 15.91 MB / 450.7 MB, free: 92.61 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/1.093, allocations: 167.6 kB / 450.8 MB, free: 92.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/4.323, allocations: 0 / 450.8 MB, free: 92.42 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat