Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.259/2.259, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.324e-05, allocations: 6.031 kB / 292.7 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.42 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4529/0.5655, allocations: 79.78 MB / 422.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5658, allocations: 74.08 kB / 423 MB, free: 14.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01846/0.5843, allocations: 4.015 MB / 427 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5844, allocations: 4 kB / 427 MB, free: 10.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.5844, allocations: 4 kB / 427 MB, free: 10.62 MB / 346.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.001039/0.5855, allocations: 489.7 kB / 427.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.5855, allocations: 8.031 kB / 427.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.43e-05/0.5856, allocations: 56.48 kB / 427.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.5857, allocations: 27.72 kB / 427.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.5862, allocations: 233.3 kB / 427.8 MB, free: 9.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.5862, allocations: 15.06 kB / 427.8 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.5863, allocations: 26.59 kB / 427.9 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005248/0.5868, allocations: 175.3 kB / 428 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5869, allocations: 0 / 428 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.5869, allocations: 19.05 kB / 428.1 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.587, allocations: 4 kB / 428.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.5874, allocations: 136.4 kB / 428.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.5895, allocations: 0.8518 MB / 429 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.59, allocations: 150 kB / 429.2 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.5903, allocations: 87.86 kB / 429.3 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.5904, allocations: 4 kB / 429.3 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.5904, allocations: 34.55 kB / 429.3 MB, free: 8.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.599e-05/0.5904, allocations: 0 / 429.3 MB, free: 8.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008357/0.5913, allocations: 207.2 kB / 429.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.5914, allocations: 51.41 kB / 429.6 MB, free: 8.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.5916, allocations: 159.7 kB / 429.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.5917, allocations: 28.89 kB / 429.8 MB, free: 8.082 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.5918, allocations: 148.7 kB / 429.9 MB, free: 7.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.5919, allocations: 54.23 kB / 430 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.5919, allocations: 7.812 kB / 430 MB, free: 7.902 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5921, allocations: 333.4 kB / 430.3 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.5923, allocations: 40.5 kB / 430.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.5924, allocations: 64.66 kB / 430.4 MB, free: 7.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.5926, allocations: 51.34 kB / 430.4 MB, free: 7.465 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.5926, allocations: 0 / 430.4 MB, free: 7.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000687/0.5933, allocations: 211.2 kB / 430.6 MB, free: 7.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.5934, allocations: 12.03 kB / 430.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5934, allocations: 0 / 430.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.5958, allocations: 218.9 kB / 430.9 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.5961, allocations: 27.98 kB / 430.9 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008036/0.5969, allocations: 0.6186 MB / 431.5 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.5972, allocations: 15.8 kB / 431.5 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.5973, allocations: 11.42 kB / 431.5 MB, free: 6.43 MB / 346.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.0001281/0.5974, allocations: 108.3 kB / 431.6 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.5975, allocations: 19.88 kB / 431.7 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006298/0.5981, allocations: 213.2 kB / 431.9 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.5981, allocations: 4 kB / 431.9 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.5982, allocations: 3.984 kB / 431.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.5982, allocations: 0 / 431.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.5995, allocations: 0.5919 MB / 432.5 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5995, allocations: 0 / 432.5 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.5998, allocations: 27.98 kB / 432.5 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/0.6018, allocations: 216.2 kB / 432.7 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.6019, allocations: 7.984 kB / 432.7 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007239/0.6026, allocations: 0.6139 MB / 433.3 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6026, allocations: 3.938 kB / 433.3 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.6036, allocations: 401.6 kB / 433.7 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6037, allocations: 88.92 kB / 433.8 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.6037, allocations: 3.188 kB / 433.8 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.604, allocations: 19.11 kB / 433.8 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.6041, allocations: 7.984 kB / 433.8 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.6041, allocations: 15.39 kB / 433.9 MB, free: 4.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.6043, allocations: 126.1 kB / 434 MB, free: 4.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6043, allocations: 0 / 434 MB, free: 4.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004657/0.6048, allocations: 74.89 kB / 434.1 MB, free: 4.094 MB / 346.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.001426/0.6063, allocations: 0.9931 MB / 435.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005672/0.6069, allocations: 136.5 kB / 435.2 MB, free: 3.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.6069, allocations: 4 kB / 435.2 MB, free: 3.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.6072, allocations: 80.22 kB / 435.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.6076, allocations: 18.55 kB / 435.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.6092, allocations: 436.6 kB / 435.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.6096, allocations: 0.7441 MB / 436.5 MB, free: 1.777 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.6098, allocations: 13.33 kB / 436.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.6099, allocations: 60.5 kB / 436.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of SimCode: time 3.026e-06/0.6099, allocations: 7.938 kB / 436.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.6476, allocations: 4.173 MB / 440.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003394/0.648, allocations: 196.6 kB / 440.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.318, allocations: 0 / 440.9 MB, free: 13.43 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat