Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.67/1.67, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.558e-05/4.592e-05, allocations: 7.984 kB / 225.1 MB, free: 2.137 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2544, allocations: 38.77 MB / 263.9 MB, free: 9.691 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.3836, allocations: 71.02 MB / 334.9 MB, free: 2.566 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.384, allocations: 67.97 kB / 334.9 MB, free: 2.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02849/0.4125, allocations: 6.424 MB / 341.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.4125, allocations: 4 kB / 341.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.4125, allocations: 11.94 kB / 341.4 MB, free: 12.02 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00215/0.4147, allocations: 0.7089 MB / 342.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.4148, allocations: 11.97 kB / 342.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.4149, allocations: 74.53 kB / 342.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.415, allocations: 51.44 kB / 342.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.4156, allocations: 301.4 kB / 342.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.4156, allocations: 24.78 kB / 342.5 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4157, allocations: 39.98 kB / 342.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.4168, allocations: 421.5 kB / 343 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4168, allocations: 0 / 343 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/0.4169, allocations: 12 kB / 343 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.4169, allocations: 12 kB / 343 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.418, allocations: 355.1 kB / 343.4 MB, free: 9.918 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003929/0.4219, allocations: 1.414 MB / 344.8 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.4233, allocations: 375.7 kB / 345.1 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004846/0.4238, allocations: 194.6 kB / 345.3 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.343e-05/0.4239, allocations: 8.312 kB / 345.3 MB, free: 7.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.4239, allocations: 50.77 kB / 345.4 MB, free: 7.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/0.4239, allocations: 0 / 345.4 MB, free: 7.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002123/0.4261, allocations: 0.4967 MB / 345.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.4262, allocations: 170.1 kB / 346.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.4266, allocations: 223.5 kB / 346.3 MB, free: 6.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.4266, allocations: 37.7 kB / 346.3 MB, free: 6.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.4268, allocations: 212.3 kB / 346.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.427, allocations: 137.9 kB / 346.7 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.4271, allocations: 8 kB / 346.7 MB, free: 6.453 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4272, allocations: 342.8 kB / 347 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.4276, allocations: 124.9 kB / 347.1 MB, free: 5.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.4281, allocations: 234.6 kB / 347.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.4285, allocations: 135.2 kB / 347.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4286, allocations: 0 / 347.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002788/0.4314, allocations: 0.6586 MB / 348.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.4314, allocations: 8 kB / 348.1 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4314, allocations: 4.031 kB / 348.1 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/0.4333, allocations: 289.4 kB / 348.4 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.434, allocations: 91.88 kB / 348.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.4356, allocations: 1.304 MB / 349.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008552/0.4365, allocations: 91.66 kB / 349.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.4365, allocations: 16 kB / 349.9 MB, free: 3.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.4367, allocations: 128.9 kB / 350.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4368, allocations: 39.61 kB / 350.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.4396, allocations: 0.6302 MB / 350.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.4396, allocations: 8 kB / 350.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4397, allocations: 0 / 350.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4397, allocations: 3.984 kB / 350.7 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008662/0.4406, allocations: 468.9 kB / 351.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4406, allocations: 0 / 351.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.4412, allocations: 67.89 kB / 351.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.4431, allocations: 297.5 kB / 351.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.4431, allocations: 8 kB / 351.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.4447, allocations: 1.319 MB / 352.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4448, allocations: 0 / 352.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.4479, allocations: 0.8711 MB / 353.7 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.4482, allocations: 136.7 kB / 353.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.299e-05/0.4483, allocations: 8 kB / 353.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/0.449, allocations: 68 kB / 354 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.551e-05/0.4491, allocations: 19.97 kB / 354 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.4492, allocations: 15.98 kB / 354 MB, free: 14.83 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000263/0.4495, allocations: 183.1 kB / 354.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4495, allocations: 0 / 354.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005691/0.4501, allocations: 115.7 kB / 354.3 MB, free: 14.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.003556/0.4536, allocations: 1.432 MB / 355.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.4549, allocations: 371.3 kB / 356.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4549, allocations: 0 / 356.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.4555, allocations: 208.1 kB / 356.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.456, allocations: 47.56 kB / 356.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.4581, allocations: 0.6579 MB / 357 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.4586, allocations: 0.8037 MB / 357.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002559/0.4588, allocations: 26.97 kB / 357.8 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.4591, allocations: 123.4 kB / 357.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of SimCode: time 2.936e-06/0.4591, allocations: 0 / 357.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.4959, allocations: 8.367 MB / 366.3 MB, free: 2.5 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003531/0.4963, allocations: 187.9 kB / 366.5 MB, free: 2.273 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/3.193, allocations: 7.938 kB / 366.5 MB, free: 2.266 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat