Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.082/2.082, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.73e-05, allocations: 4 kB / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.09942, allocations: 47.57 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/0.5487, allocations: 77.96 MB / 395 MB, free: 9.734 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/0.5492, allocations: 63.16 kB / 395 MB, free: 9.703 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02658/0.5758, allocations: 3.908 MB / 399 MB, free: 6.355 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.5758, allocations: 0 / 399 MB, free: 6.355 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.5759, allocations: 4 kB / 399 MB, free: 6.352 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001364/0.5773, allocations: 494.8 kB / 399.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.133e-05/0.5774, allocations: 12.03 kB / 399.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.5775, allocations: 48.17 kB / 399.5 MB, free: 5.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.5776, allocations: 30.34 kB / 399.5 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.5781, allocations: 230.3 kB / 399.8 MB, free: 5.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.5782, allocations: 15.25 kB / 399.8 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.437e-05/0.5783, allocations: 21.94 kB / 399.8 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.5791, allocations: 176.5 kB / 400 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.5791, allocations: 0.5 kB / 400 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.347e-05/0.5792, allocations: 10.06 kB / 400 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.5792, allocations: 4 kB / 400 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.58, allocations: 134.6 kB / 400.1 MB, free: 5.258 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.5833, allocations: 0.8666 MB / 401 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.584, allocations: 146 kB / 401.1 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.5844, allocations: 87.11 kB / 401.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-05/0.5845, allocations: 8 kB / 401.2 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.5846, allocations: 38.48 kB / 401.2 MB, free: 4.223 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 4.949e-06/0.5846, allocations: 0 / 401.2 MB, free: 4.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001162/0.5858, allocations: 191.6 kB / 401.4 MB, free: 4.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.5859, allocations: 55.34 kB / 401.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.5862, allocations: 160.1 kB / 401.6 MB, free: 3.859 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/0.5863, allocations: 29.33 kB / 401.7 MB, free: 3.828 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.5865, allocations: 151.9 kB / 401.8 MB, free: 3.691 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.5866, allocations: 69.84 kB / 401.9 MB, free: 3.633 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.5867, allocations: 0.6562 kB / 401.9 MB, free: 3.633 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5869, allocations: 325.5 kB / 402.2 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.5871, allocations: 42.25 kB / 402.2 MB, free: 3.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.5874, allocations: 66.33 kB / 402.3 MB, free: 3.238 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.5877, allocations: 50.25 kB / 402.4 MB, free: 3.207 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/0.5877, allocations: 4 kB / 402.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001034/0.5887, allocations: 217.9 kB / 402.6 MB, free: 3.031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.5888, allocations: 7.281 kB / 402.6 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5888, allocations: 0 / 402.6 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003473/0.5923, allocations: 218.8 kB / 402.8 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.5928, allocations: 39.17 kB / 402.8 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.5939, allocations: 0.6049 MB / 403.4 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.5942, allocations: 19.31 kB / 403.5 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.5943, allocations: 8.062 kB / 403.5 MB, free: 2.168 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001698/0.5945, allocations: 106.1 kB / 403.6 MB, free: 2.062 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.024e-05/0.5946, allocations: 23.55 kB / 403.6 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009805/0.5956, allocations: 219.5 kB / 403.8 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.5956, allocations: 4 kB / 403.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.5956, allocations: 3.953 kB / 403.8 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.5957, allocations: 0 / 403.8 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.5976, allocations: 0.5732 MB / 404.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.5977, allocations: 0 / 404.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.5981, allocations: 35.86 kB / 404.4 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003024/0.6012, allocations: 207.7 kB / 404.6 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.224e-05/0.6013, allocations: 6.938 kB / 404.6 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009739/0.6023, allocations: 0.6152 MB / 405.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6023, allocations: 0 / 405.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.6037, allocations: 406.6 kB / 405.6 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.6038, allocations: 96.98 kB / 405.7 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.6039, allocations: 7.312 kB / 405.8 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.6043, allocations: 19.19 kB / 405.8 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.6044, allocations: 7.984 kB / 405.8 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.6045, allocations: 11.25 kB / 405.8 MB, free: 20 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002455/0.6048, allocations: 125.5 kB / 405.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.262e-06/0.6048, allocations: 0 / 405.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007199/0.6055, allocations: 66.94 kB / 406 MB, free: 15.85 MB / 330.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.001939/0.6075, allocations: 1.001 MB / 407 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000758/0.6083, allocations: 132.6 kB / 407.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6083, allocations: 0 / 407.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.6087, allocations: 77.67 kB / 407.2 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/0.6094, allocations: 29.62 kB / 407.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.6114, allocations: 435.4 kB / 407.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.6119, allocations: 0.7441 MB / 408.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.6121, allocations: 17.28 kB / 408.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.6123, allocations: 61.22 kB / 408.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.512e-06/0.6123, allocations: 0 / 408.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06013/0.6725, allocations: 4.126 MB / 412.6 MB, free: 9.43 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003218/0.6729, allocations: 180.8 kB / 412.8 MB, free: 9.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.165, allocations: 4 kB / 412.8 MB, free: 9.199 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat