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.038/2.038, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.274e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09412, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5175, allocations: 82.24 MB / 382.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.5179, allocations: 80.77 kB / 382.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08443/0.6023, allocations: 22.16 MB / 404.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6024, allocations: 0 / 404.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.002e-05/0.6025, allocations: 23.12 kB / 404.5 MB, free: 8.32 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.00388/0.6064, allocations: 1.144 MB / 405.6 MB, free: 7.531 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.6064, allocations: 7.75 kB / 405.6 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00055/0.607, allocations: 161.9 kB / 405.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003311/0.6103, allocations: 366.8 kB / 406.1 MB, free: 7.332 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.6118, allocations: 0.5305 MB / 406.7 MB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/0.6119, allocations: 79.62 kB / 406.7 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.6122, allocations: 100.6 kB / 406.8 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.6151, allocations: 1.005 MB / 407.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.322e-05/0.6152, allocations: 0 / 407.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.6154, allocations: 47.48 kB / 407.9 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/0.6154, allocations: 27.31 kB / 407.9 MB, free: 6.703 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.6181, allocations: 0.8378 MB / 408.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009617/0.6277, allocations: 3.785 MB / 412.5 MB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/0.6313, allocations: 2.448 MB / 415 MB, free: 2.484 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.6326, allocations: 432 kB / 415.4 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.6329, allocations: 93.62 kB / 415.5 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.634, allocations: 469.2 kB / 416 MB, free: 2.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 4.498e-06/0.634, allocations: 0 / 416 MB, free: 2.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.002622/0.6366, allocations: 0.8394 MB / 416.8 MB, free: 1.957 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.6368, allocations: 195.6 kB / 417 MB, free: 1.738 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/0.6375, allocations: 405.6 kB / 417.4 MB, free: 1.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.6376, allocations: 39.89 kB / 417.4 MB, free: 1.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.638, allocations: 433.4 kB / 417.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.6383, allocations: 284.5 kB / 418.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.6384, allocations: 18.5 kB / 418.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6385, allocations: 375.8 kB / 418.5 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006925/0.6392, allocations: 242.9 kB / 418.8 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/0.64, allocations: 492.4 kB / 419.2 MB, free: 428 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007872/0.6408, allocations: 304.9 kB / 419.5 MB, free: 376 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.6409, allocations: 3.875 kB / 419.5 MB, free: 376 kB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002776/0.6436, allocations: 1.009 MB / 420.5 MB, free: 132 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.6437, allocations: 7.75 kB / 420.6 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.6438, allocations: 7.75 kB / 420.6 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001514/0.6453, allocations: 264.4 kB / 420.8 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.6465, allocations: 169.7 kB / 421 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008046/0.6546, allocations: 4.381 MB / 425.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.6559, allocations: 112.1 kB / 425.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.6561, allocations: 38.42 kB / 425.5 MB, free: 12.96 MB / 330.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.0003046/0.6564, allocations: 165.6 kB / 425.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.6566, allocations: 70.09 kB / 425.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.6595, allocations: 0.9287 MB / 426.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.6595, allocations: 7.688 kB / 426.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6595, allocations: 0 / 426.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.6596, allocations: 8.109 kB / 426.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/0.6644, allocations: 1.888 MB / 428.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.6645, allocations: 3.938 kB / 428.6 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009625/0.6654, allocations: 113.1 kB / 428.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.6668, allocations: 265.6 kB / 428.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/0.6671, allocations: 14.88 kB / 429 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007513/0.6746, allocations: 4.341 MB / 433.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6746, allocations: 0 / 433.3 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003719/0.6784, allocations: 1.304 MB / 434.6 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006194/0.679, allocations: 219 kB / 434.8 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.6793, allocations: 19.88 kB / 434.8 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/0.6801, allocations: 42.94 kB / 434.9 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.6804, allocations: 75.62 kB / 435 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/0.6805, allocations: 31.48 kB / 435 MB, free: 7.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005407/0.6811, allocations: 303.8 kB / 435.3 MB, free: 6.902 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6811, allocations: 0 / 435.3 MB, free: 6.902 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001555/0.6826, allocations: 329 kB / 435.6 MB, free: 6.812 MB / 330.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.004243/0.6869, allocations: 2.06 MB / 437.7 MB, free: 5.363 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.6899, allocations: 1.028 MB / 438.7 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.6899, allocations: 192 / 438.7 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.6917, allocations: 0.7073 MB / 439.4 MB, free: 4.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009175/0.6927, allocations: 102.2 kB / 439.5 MB, free: 4.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007352/0.7, allocations: 1.82 MB / 441.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000789/0.7009, allocations: 1.011 MB / 442.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006969/0.7016, allocations: 87.77 kB / 442.4 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006393/0.7023, allocations: 317.5 kB / 442.7 MB, free: 2.035 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.7023, allocations: 0 / 442.7 MB, free: 2.035 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06597/0.7683, allocations: 17.67 MB / 460.4 MB, free: 1.086 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/0.7686, allocations: 197 kB / 460.6 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.313/4.082, allocations: 0 / 460.6 MB, free: 0.8633 MB / 346.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