Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.381e-05/3.399e-05, allocations: 0 / 255.4 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1246, allocations: 44.52 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4711/0.5957, allocations: 74.63 MB / 374.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.596, allocations: 70.98 kB / 374.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03625/0.6323, allocations: 8.782 MB / 383.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6323, allocations: 1.688 kB / 383.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.529e-05/0.6324, allocations: 13.98 kB / 383.5 MB, free: 11.44 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001679/0.6341, allocations: 0.7551 MB / 384.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.6341, allocations: 9.625 kB / 384.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.6343, allocations: 110.8 kB / 384.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.6345, allocations: 69.53 kB / 384.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.6351, allocations: 366 kB / 384.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.6351, allocations: 41.44 kB / 384.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.6353, allocations: 57.62 kB / 384.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.6365, allocations: 0.534 MB / 385.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.6365, allocations: 7.484 kB / 385.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.6366, allocations: 27.39 kB / 385.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.6366, allocations: 14.22 kB / 385.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.6377, allocations: 421.7 kB / 385.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004091/0.6418, allocations: 2.123 MB / 388 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6429, allocations: 0.6053 MB / 388.6 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.6436, allocations: 383.5 kB / 389 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.74e-05/0.6437, allocations: 11.77 kB / 389 MB, free: 9.344 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.6438, allocations: 37.97 kB / 389 MB, free: 9.305 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 3.036e-06/0.6438, allocations: 0 / 389 MB, free: 9.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.002865/0.6466, allocations: 1.261 MB / 390.3 MB, free: 8.867 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.6467, allocations: 59.75 kB / 390.3 MB, free: 8.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.6471, allocations: 306.9 kB / 390.6 MB, free: 8.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.6472, allocations: 43.8 kB / 390.7 MB, free: 8.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.6474, allocations: 242 kB / 390.9 MB, free: 8.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.6475, allocations: 199.7 kB / 391.1 MB, free: 8.398 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.6476, allocations: 9.688 kB / 391.1 MB, free: 8.398 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.6477, allocations: 353.2 kB / 391.5 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.648, allocations: 148.5 kB / 391.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.6485, allocations: 188.8 kB / 391.8 MB, free: 8.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.6489, allocations: 165.7 kB / 391.9 MB, free: 8.055 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6489, allocations: 4 kB / 392 MB, free: 8.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001509/0.6504, allocations: 0.6246 MB / 392.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6504, allocations: 11.06 kB / 392.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6505, allocations: 3.984 kB / 392.6 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.6515, allocations: 253.3 kB / 392.8 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.652, allocations: 70.95 kB / 392.9 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007626/0.6597, allocations: 6.755 MB / 399.7 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.6603, allocations: 29.31 kB / 399.7 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.6604, allocations: 17.94 kB / 399.7 MB, free: 18.42 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.6605, allocations: 132.6 kB / 399.8 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.6607, allocations: 54.62 kB / 399.9 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.6608, allocations: 65.34 kB / 400 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6609, allocations: 7.906 kB / 400 MB, free: 18.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.6609, allocations: 3.953 kB / 400 MB, free: 18.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.6609, allocations: 3.516 kB / 400 MB, free: 18.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.6635, allocations: 1.312 MB / 401.3 MB, free: 17.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6636, allocations: 0 / 401.3 MB, free: 17.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.6641, allocations: 64.03 kB / 401.3 MB, free: 17.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009784/0.6651, allocations: 246.4 kB / 401.6 MB, free: 17.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.6651, allocations: 14.03 kB / 401.6 MB, free: 17.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008057/0.6732, allocations: 6.767 MB / 408.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6733, allocations: 96 / 408.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.6755, allocations: 0.9771 MB / 409.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.6758, allocations: 161.7 kB / 409.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-05/0.6759, allocations: 10.5 kB / 409.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.6763, allocations: 27.8 kB / 409.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.6765, allocations: 52.52 kB / 409.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.6766, allocations: 20.52 kB / 409.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003545/0.677, allocations: 242.9 kB / 409.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.677, allocations: 0 / 409.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001098/0.6781, allocations: 179.3 kB / 410 MB, free: 11.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002491/0.6806, allocations: 1.537 MB / 411.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.6826, allocations: 0.9931 MB / 412.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6826, allocations: 4.062 kB / 412.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.684, allocations: 0.8008 MB / 413.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/0.6847, allocations: 81.02 kB / 413.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.6878, allocations: 1.118 MB / 414.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.6883, allocations: 0.8978 MB / 415.5 MB, free: 9.004 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002556/0.6886, allocations: 54.84 kB / 415.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.6889, allocations: 175.4 kB / 415.7 MB, free: 8.984 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6889, allocations: 0 / 415.7 MB, free: 8.984 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04425/0.7331, allocations: 12.13 MB / 427.8 MB, free: 4.793 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/0.7335, allocations: 185.9 kB / 428 MB, free: 4.566 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/3.799, allocations: 0 / 428 MB, free: 4.566 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat