Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.721/1.721, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.669e-05, allocations: 4 kB / 225.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2532, allocations: 38.78 MB / 263.9 MB, free: 9.801 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.3743, allocations: 68.59 MB / 332.4 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.3746, allocations: 83.94 kB / 332.5 MB, free: 5.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01719/0.3918, allocations: 3.954 MB / 336.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3919, allocations: 0 / 336.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.932e-05/0.3919, allocations: 8 kB / 336.5 MB, free: 1.043 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009359/0.3929, allocations: 494.1 kB / 337 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3929, allocations: 12.03 kB / 337 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.33e-05/0.393, allocations: 58.48 kB / 337 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.3931, allocations: 23.72 kB / 337.1 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.3935, allocations: 227.4 kB / 337.3 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.3935, allocations: 24.39 kB / 337.3 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.3936, allocations: 20 kB / 337.3 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.3942, allocations: 221.8 kB / 337.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.3942, allocations: 0 / 337.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.3942, allocations: 8 kB / 337.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.3943, allocations: 8 kB / 337.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.3947, allocations: 137.7 kB / 337.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.3968, allocations: 0.867 MB / 338.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.3972, allocations: 142.6 kB / 338.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.3975, allocations: 88.94 kB / 338.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.3975, allocations: 3.984 kB / 338.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3976, allocations: 42.5 kB / 338.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.535e-06/0.3976, allocations: 0 / 338.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007851/0.3984, allocations: 199.5 kB / 339 MB, free: 14.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3985, allocations: 59.41 kB / 339.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.3987, allocations: 162.3 kB / 339.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.3987, allocations: 29.7 kB / 339.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3989, allocations: 159.9 kB / 339.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.3989, allocations: 55.2 kB / 339.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.399, allocations: 0 / 339.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3991, allocations: 326.8 kB / 339.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.3993, allocations: 51.98 kB / 339.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.3995, allocations: 80.3 kB / 339.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3997, allocations: 61.81 kB / 340 MB, free: 13.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.3997, allocations: 7.938 kB / 340 MB, free: 13.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006711/0.4004, allocations: 230.7 kB / 340.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4004, allocations: 4 kB / 340.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4004, allocations: 3.938 kB / 340.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002094/0.4025, allocations: 224.7 kB / 340.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.4028, allocations: 39.98 kB / 340.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006686/0.4035, allocations: 0.6069 MB / 341.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.4038, allocations: 19.88 kB / 341.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.4038, allocations: 8 kB / 341.1 MB, free: 12.1 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.4039, allocations: 120.4 kB / 341.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.404, allocations: 23.72 kB / 341.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.4046, allocations: 212 kB / 341.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4047, allocations: 7.953 kB / 341.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4047, allocations: 0 / 341.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4047, allocations: 0 / 341.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.406, allocations: 0.5942 MB / 342.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.406, allocations: 4 kB / 342.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.4063, allocations: 31.92 kB / 342.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/0.4083, allocations: 220.7 kB / 342.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.4083, allocations: 0 / 342.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006666/0.409, allocations: 0.6225 MB / 343 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.409, allocations: 0 / 343 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.41, allocations: 403 kB / 343.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.4101, allocations: 108.9 kB / 343.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.4102, allocations: 7.953 kB / 343.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.4104, allocations: 11.98 kB / 343.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.4105, allocations: 11.98 kB / 343.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.4106, allocations: 8.062 kB / 343.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.4107, allocations: 137.2 kB / 343.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.705e-06/0.4107, allocations: 4 kB / 343.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004437/0.4112, allocations: 63.78 kB / 343.7 MB, free: 9.387 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001388/0.4126, allocations: 1.017 MB / 344.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005618/0.4132, allocations: 142.6 kB / 344.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4132, allocations: 0 / 344.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.4135, allocations: 80.23 kB / 344.9 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.4139, allocations: 36.16 kB / 345 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.4153, allocations: 429.4 kB / 345.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.4157, allocations: 0.7556 MB / 346.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.4158, allocations: 17.55 kB / 346.2 MB, free: 6.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.4159, allocations: 55.42 kB / 346.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4159, allocations: 0 / 346.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.4482, allocations: 4.315 MB / 350.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/0.4486, allocations: 193.6 kB / 350.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/2.835, allocations: 0 / 350.7 MB, free: 2.289 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat