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.683/1.683, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.149e-05/4.158e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2532, allocations: 38.77 MB / 263.9 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.3779, allocations: 69.37 MB / 333.2 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.3782, allocations: 75.94 kB / 333.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03686/0.4151, allocations: 8.355 MB / 341.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4152, allocations: 0 / 341.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.478e-05/0.4152, allocations: 12 kB / 341.7 MB, free: 11.75 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.001869/0.4171, allocations: 0.7674 MB / 342.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4171, allocations: 8.031 kB / 342.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002305/0.4174, allocations: 115.6 kB / 342.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.4176, allocations: 75.11 kB / 342.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006844/0.4183, allocations: 367.4 kB / 343 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.4184, allocations: 37.31 kB / 343 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.4185, allocations: 59.91 kB / 343.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.4198, allocations: 0.5356 MB / 343.6 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.4199, allocations: 0 / 343.6 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/0.42, allocations: 24 kB / 343.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.42, allocations: 15.95 kB / 343.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.4212, allocations: 418.5 kB / 344.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.426, allocations: 2.118 MB / 346.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.4274, allocations: 0.5973 MB / 346.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000843/0.4283, allocations: 389.8 kB / 347.2 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.4284, allocations: 4.562 kB / 347.2 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.4284, allocations: 39.12 kB / 347.2 MB, free: 5.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 5.521e-06/0.4284, allocations: 4 kB / 347.2 MB, free: 5.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003396/0.4318, allocations: 1.252 MB / 348.5 MB, free: 4.629 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.4319, allocations: 59.97 kB / 348.5 MB, free: 4.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.4325, allocations: 314.9 kB / 348.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/0.4326, allocations: 41.7 kB / 348.9 MB, free: 4.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.4329, allocations: 241 kB / 349.1 MB, free: 3.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/0.4331, allocations: 205 kB / 349.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.4332, allocations: 8 kB / 349.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4334, allocations: 358.8 kB / 349.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.4338, allocations: 145.1 kB / 349.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.4343, allocations: 186.8 kB / 350 MB, free: 3.062 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.4348, allocations: 171.2 kB / 350.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4348, allocations: 0 / 350.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001805/0.4366, allocations: 0.6228 MB / 350.8 MB, free: 2.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.4367, allocations: 8.031 kB / 350.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4367, allocations: 11.89 kB / 350.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.4379, allocations: 247.2 kB / 351.1 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.4385, allocations: 63.91 kB / 351.1 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009482/0.448, allocations: 6.761 MB / 357.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.4486, allocations: 20.09 kB / 357.9 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.4487, allocations: 23.98 kB / 357.9 MB, free: 10.58 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.0001893/0.4489, allocations: 125.6 kB / 358 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.449, allocations: 51.44 kB / 358.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.4492, allocations: 65.12 kB / 358.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.4492, allocations: 15.88 kB / 358.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4492, allocations: 0 / 358.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.4493, allocations: 7.938 kB / 358.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.4524, allocations: 1.318 MB / 359.5 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4525, allocations: 0 / 359.5 MB, free: 8.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.453, allocations: 59.97 kB / 359.6 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.4542, allocations: 251.2 kB / 359.8 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.4543, allocations: 15.98 kB / 359.8 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009196/0.4635, allocations: 6.752 MB / 366.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.4636, allocations: 288 / 366.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.4662, allocations: 0.9704 MB / 367.5 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.4666, allocations: 168.5 kB / 367.7 MB, free: 120 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-05/0.4667, allocations: 8 kB / 367.7 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.4672, allocations: 27.98 kB / 367.7 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.4674, allocations: 52.44 kB / 367.8 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.4675, allocations: 16 kB / 367.8 MB, free: 16 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.217/0.6845, allocations: 253 kB / 368.1 MB, free: 90.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.272e-06/0.6845, allocations: 3.25 kB / 368.1 MB, free: 90.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00155/0.6861, allocations: 176.5 kB / 368.2 MB, free: 90.66 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.003062/0.6892, allocations: 1.535 MB / 369.8 MB, free: 89.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.6912, allocations: 0.9597 MB / 370.7 MB, free: 89.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6912, allocations: 0 / 370.7 MB, free: 89.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.6926, allocations: 0.778 MB / 371.5 MB, free: 89.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006925/0.6933, allocations: 73.38 kB / 371.6 MB, free: 89.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.6967, allocations: 1.131 MB / 372.7 MB, free: 88.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.6971, allocations: 0.8997 MB / 373.6 MB, free: 88.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003038/0.6974, allocations: 50.05 kB / 373.7 MB, free: 88.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.6977, allocations: 180.5 kB / 373.8 MB, free: 88.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.844e-06/0.6977, allocations: 3.938 kB / 373.8 MB, free: 88.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04261/0.7404, allocations: 12.06 MB / 385.9 MB, free: 81.98 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.7407, allocations: 185.1 kB / 386.1 MB, free: 81.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.877/3.618, allocations: 0 / 386.1 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