Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.18/2.18, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.465e-05, allocations: 11.98 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.09372, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4767/0.5705, allocations: 74.64 MB / 374.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.5708, allocations: 73.61 kB / 374.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03656/0.6074, allocations: 8.777 MB / 383.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6074, allocations: 1.75 kB / 383.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.547e-05/0.6075, allocations: 12.19 kB / 383.4 MB, free: 11.79 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.001756/0.6092, allocations: 0.7532 MB / 384.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.6093, allocations: 9.625 kB / 384.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.6095, allocations: 117.3 kB / 384.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.6097, allocations: 69.53 kB / 384.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000638/0.6103, allocations: 374.3 kB / 384.7 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.6104, allocations: 44.56 kB / 384.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.6105, allocations: 52.88 kB / 384.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.6118, allocations: 0.5329 MB / 385.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.6119, allocations: 3.938 kB / 385.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.222e-05/0.6119, allocations: 29.98 kB / 385.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.612, allocations: 13.06 kB / 385.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.6132, allocations: 423.5 kB / 385.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/0.6176, allocations: 2.12 MB / 388 MB, free: 9.848 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.6189, allocations: 0.6016 MB / 388.6 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007132/0.6196, allocations: 395 kB / 388.9 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-05/0.6197, allocations: 8.312 kB / 388.9 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.6197, allocations: 33.06 kB / 389 MB, free: 9.645 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 2.795e-06/0.6197, allocations: 0 / 389 MB, free: 9.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.002922/0.6227, allocations: 1.269 MB / 390.2 MB, free: 9.207 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.6227, allocations: 55.84 kB / 390.3 MB, free: 9.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.6232, allocations: 312.1 kB / 390.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.6232, allocations: 37.08 kB / 390.6 MB, free: 9.004 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.6234, allocations: 280.5 kB / 390.9 MB, free: 8.805 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.6235, allocations: 195.8 kB / 391.1 MB, free: 8.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.6236, allocations: 11.5 kB / 391.1 MB, free: 8.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.6236, allocations: 337.9 kB / 391.5 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.624, allocations: 143.5 kB / 391.6 MB, free: 8.359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.6244, allocations: 193.5 kB / 391.8 MB, free: 8.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.6249, allocations: 165.9 kB / 391.9 MB, free: 8.332 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6249, allocations: 0 / 391.9 MB, free: 8.332 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001451/0.6263, allocations: 0.6088 MB / 392.6 MB, free: 8.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6264, allocations: 9.328 kB / 392.6 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.6264, allocations: 0 / 392.6 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.6275, allocations: 257.8 kB / 392.8 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.628, allocations: 60.95 kB / 392.9 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00785/0.6359, allocations: 6.76 MB / 399.6 MB, free: 18.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.6365, allocations: 27.09 kB / 399.7 MB, free: 18.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.6366, allocations: 19.44 kB / 399.7 MB, free: 18.7 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.0001764/0.6368, allocations: 128 kB / 399.8 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.6369, allocations: 53.42 kB / 399.9 MB, free: 18.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.6371, allocations: 62.72 kB / 399.9 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.6371, allocations: 7.562 kB / 399.9 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.6371, allocations: 7.859 kB / 399.9 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.6371, allocations: 5.203 kB / 399.9 MB, free: 18.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.6398, allocations: 1.311 MB / 401.2 MB, free: 18.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.6399, allocations: 3.938 kB / 401.3 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.6404, allocations: 64.34 kB / 401.3 MB, free: 18.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.6414, allocations: 247.7 kB / 401.6 MB, free: 18.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.6415, allocations: 13.66 kB / 401.6 MB, free: 18.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008325/0.6498, allocations: 6.765 MB / 408.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6499, allocations: 0 / 408.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.6522, allocations: 0.9679 MB / 409.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.6526, allocations: 165.8 kB / 409.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/0.6527, allocations: 7.562 kB / 409.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.6532, allocations: 29.83 kB / 409.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.6534, allocations: 48.97 kB / 409.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.6534, allocations: 18.67 kB / 409.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003933/0.6538, allocations: 249.1 kB / 409.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6539, allocations: 0 / 409.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001217/0.6551, allocations: 179.7 kB / 410 MB, free: 12.23 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.004006/0.6591, allocations: 1.544 MB / 411.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002866/0.662, allocations: 0.9827 MB / 412.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6621, allocations: 0 / 412.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.6644, allocations: 0.8109 MB / 413.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.6657, allocations: 78.84 kB / 413.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/0.6716, allocations: 1.153 MB / 414.6 MB, free: 9.961 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/0.6725, allocations: 0.8957 MB / 415.4 MB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.673, allocations: 185.8 kB / 415.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.673, allocations: 0 / 415.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.152/3.825, allocations: 15.85 MB / 431.5 MB, free: 3.078 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat