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.671/1.671, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.889e-05, allocations: 0 / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3012, allocations: 38.77 MB / 263.9 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.4322, allocations: 68.62 MB / 332.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.4326, allocations: 63.97 kB / 332.6 MB, free: 5.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02436/0.4569, allocations: 3.958 MB / 336.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.457, allocations: 0 / 336.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.11e-05/0.4571, allocations: 8 kB / 336.5 MB, free: 1.051 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.001396/0.4585, allocations: 494.2 kB / 337 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.4586, allocations: 8.031 kB / 337 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.4587, allocations: 58.53 kB / 337.1 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.4589, allocations: 27.72 kB / 337.1 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.4594, allocations: 235.3 kB / 337.3 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.4595, allocations: 20.39 kB / 337.3 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.988e-05/0.4596, allocations: 28 kB / 337.4 MB, free: 100 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/0.4604, allocations: 217 kB / 337.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.4605, allocations: 0 / 337.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/0.4606, allocations: 8 kB / 337.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.4606, allocations: 4 kB / 337.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/0.4612, allocations: 136.9 kB / 337.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.4643, allocations: 0.867 MB / 338.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.4649, allocations: 138.6 kB / 338.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.4653, allocations: 92.86 kB / 338.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.4654, allocations: 0 / 338.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.4654, allocations: 38.55 kB / 338.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.756e-06/0.4655, allocations: 0 / 338.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.00113/0.4666, allocations: 198.4 kB / 339.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.4667, allocations: 55.41 kB / 339.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.4671, allocations: 166.3 kB / 339.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.4671, allocations: 29.7 kB / 339.3 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.4673, allocations: 155.9 kB / 339.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.4674, allocations: 67.11 kB / 339.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.4675, allocations: 4 kB / 339.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4677, allocations: 322.8 kB / 339.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.4679, allocations: 48 kB / 339.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.4682, allocations: 84.28 kB / 340 MB, free: 13.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.4684, allocations: 65.75 kB / 340 MB, free: 13.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4685, allocations: 0 / 340 MB, free: 13.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001043/0.4695, allocations: 230.8 kB / 340.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.4696, allocations: 8 kB / 340.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4696, allocations: 0 / 340.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002944/0.4726, allocations: 216.7 kB / 340.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.4731, allocations: 43.91 kB / 340.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008983/0.474, allocations: 0.6109 MB / 341.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.4744, allocations: 19.84 kB / 341.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.4744, allocations: 4 kB / 341.1 MB, free: 12.11 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.0001492/0.4746, allocations: 120.4 kB / 341.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.4746, allocations: 19.88 kB / 341.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007411/0.4754, allocations: 215.9 kB / 341.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.4754, allocations: 7.938 kB / 341.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4754, allocations: 0 / 341.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4755, allocations: 4 kB / 341.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.477, allocations: 0.5924 MB / 342.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.477, allocations: 0 / 342.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.4774, allocations: 27.98 kB / 342.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/0.4795, allocations: 216.6 kB / 342.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.4796, allocations: 8 kB / 342.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007441/0.4804, allocations: 0.6187 MB / 343 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4804, allocations: 3.984 kB / 343 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.4814, allocations: 399 kB / 343.4 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.4816, allocations: 108.9 kB / 343.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.4817, allocations: 11.95 kB / 343.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.482, allocations: 11.98 kB / 343.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.4821, allocations: 11.98 kB / 343.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.4821, allocations: 8 kB / 343.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001771/0.4823, allocations: 137.2 kB / 343.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.366e-06/0.4823, allocations: 0 / 343.6 MB, free: 9.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004715/0.4828, allocations: 67.78 kB / 343.7 MB, free: 9.402 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.001533/0.4843, allocations: 1.011 MB / 344.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005973/0.485, allocations: 146.6 kB / 344.9 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.485, allocations: 0 / 344.9 MB, free: 8.219 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.4853, allocations: 71.92 kB / 344.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.4857, allocations: 40.47 kB / 345 MB, free: 8.109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.4873, allocations: 429.4 kB / 345.4 MB, free: 7.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.4877, allocations: 0.7556 MB / 346.1 MB, free: 6.867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.4879, allocations: 13.56 kB / 346.2 MB, free: 6.855 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.488, allocations: 63.41 kB / 346.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of SimCode: time 1.654e-06/0.488, allocations: 0 / 346.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.5173, allocations: 4.295 MB / 350.5 MB, free: 2.562 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/0.5177, allocations: 188.3 kB / 350.7 MB, free: 2.332 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.903, allocations: 0 / 350.7 MB, free: 2.332 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