Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Rectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.621/1.621, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.234e-05, allocations: 0 / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2509, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.3748, allocations: 69.36 MB / 333.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.3751, allocations: 71.95 kB / 333.3 MB, free: 4.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04092/0.416, allocations: 8.363 MB / 341.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4161, allocations: 0 / 341.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.769e-05/0.4162, allocations: 16 kB / 341.7 MB, free: 11.87 MB / 298.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.002605/0.4188, allocations: 0.7596 MB / 342.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/0.4189, allocations: 8.031 kB / 342.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003281/0.4192, allocations: 107.6 kB / 342.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.4195, allocations: 75.11 kB / 342.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.4206, allocations: 363.5 kB / 343 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.589e-05/0.4207, allocations: 45.31 kB / 343 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.4209, allocations: 55.91 kB / 343.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.4229, allocations: 0.5382 MB / 343.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.423, allocations: 4 kB / 343.6 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.4231, allocations: 20 kB / 343.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.4231, allocations: 19.89 kB / 343.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.4249, allocations: 429.1 kB / 344.1 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/0.4312, allocations: 2.118 MB / 346.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.4331, allocations: 0.6143 MB / 346.8 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.4343, allocations: 381.8 kB / 347.2 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.914e-05/0.4344, allocations: 8.562 kB / 347.2 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.4345, allocations: 39.12 kB / 347.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 4.519e-06/0.4345, allocations: 0 / 347.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.004786/0.4393, allocations: 1.256 MB / 348.5 MB, free: 4.734 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.4394, allocations: 59.97 kB / 348.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008121/0.4402, allocations: 318.9 kB / 348.8 MB, free: 4.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.537e-05/0.4403, allocations: 33.7 kB / 348.9 MB, free: 4.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.4406, allocations: 245 kB / 349.1 MB, free: 4.066 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.441, allocations: 205 kB / 349.3 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.441, allocations: 8 kB / 349.3 MB, free: 3.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.4413, allocations: 354.8 kB / 349.7 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006348/0.4419, allocations: 145.1 kB / 349.8 MB, free: 3.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.4426, allocations: 199.9 kB / 350 MB, free: 3.156 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006741/0.4433, allocations: 159.2 kB / 350.2 MB, free: 3.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4433, allocations: 0 / 350.2 MB, free: 3.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002504/0.4459, allocations: 0.6305 MB / 350.8 MB, free: 2.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.4459, allocations: 8 kB / 350.8 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.4459, allocations: 7.953 kB / 350.8 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.4475, allocations: 255.2 kB / 351.1 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.4483, allocations: 59.95 kB / 351.1 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.4611, allocations: 6.761 MB / 357.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/0.4619, allocations: 24.03 kB / 357.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.462, allocations: 20.08 kB / 357.9 MB, free: 10.68 MB / 314.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.0002331/0.4623, allocations: 136.2 kB / 358.1 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.4625, allocations: 55.34 kB / 358.1 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.4627, allocations: 65.09 kB / 358.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.4627, allocations: 8 kB / 358.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.4628, allocations: 0 / 358.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.4628, allocations: 7.938 kB / 358.2 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004386/0.4672, allocations: 1.318 MB / 359.5 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.4672, allocations: 0 / 359.5 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/0.468, allocations: 51.97 kB / 359.6 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.4696, allocations: 263.1 kB / 359.8 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/0.4696, allocations: 12 kB / 359.8 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.4809, allocations: 6.758 MB / 366.6 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.481, allocations: 0 / 366.6 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.4835, allocations: 0.9703 MB / 367.6 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.4839, allocations: 168.6 kB / 367.7 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/0.484, allocations: 15.94 kB / 367.7 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.4845, allocations: 23.98 kB / 367.8 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.4847, allocations: 52.44 kB / 367.8 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.4848, allocations: 16 kB / 367.8 MB, free: 100 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.2117/0.6966, allocations: 249.2 kB / 368.1 MB, free: 90.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.061e-06/0.6966, allocations: 1.094 kB / 368.1 MB, free: 90.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001463/0.6981, allocations: 180.3 kB / 368.2 MB, free: 90.71 MB / 314.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.003094/0.7012, allocations: 1.535 MB / 369.8 MB, free: 90.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.7032, allocations: 0.9892 MB / 370.8 MB, free: 89.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.7033, allocations: 0 / 370.8 MB, free: 89.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.7047, allocations: 0.8113 MB / 371.6 MB, free: 89.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.7054, allocations: 73.22 kB / 371.7 MB, free: 89.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.7095, allocations: 1.135 MB / 372.8 MB, free: 88.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.7101, allocations: 0.8971 MB / 373.7 MB, free: 88.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.7105, allocations: 55.83 kB / 373.7 MB, free: 88.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.7109, allocations: 177.3 kB / 373.9 MB, free: 88.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7109, allocations: 0 / 373.9 MB, free: 88.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08187/0.7928, allocations: 12.14 MB / 386 MB, free: 81.98 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.793, allocations: 186.1 kB / 386.2 MB, free: 81.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/3.718, allocations: 0 / 386.2 MB, free: 81.75 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat