Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.715/1.715, allocations: 171.2 MB / 183.8 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.586e-05, allocations: 4 kB / 225.1 MB, free: 2.617 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.26, allocations: 38.77 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.415, allocations: 71.03 MB / 334.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004105/0.4155, allocations: 71.97 kB / 334.9 MB, free: 2.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03343/0.449, allocations: 6.422 MB / 341.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.449, allocations: 0 / 341.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.678e-05/0.4491, allocations: 8 kB / 341.4 MB, free: 12.07 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.00241/0.4515, allocations: 0.7167 MB / 342.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.4516, allocations: 8.031 kB / 342.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.4518, allocations: 74.53 kB / 342.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.4519, allocations: 47.44 kB / 342.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.4525, allocations: 301.3 kB / 342.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.4526, allocations: 28.78 kB / 342.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.4527, allocations: 36 kB / 342.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.4539, allocations: 424 kB / 343 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.454, allocations: 0 / 343 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-05/0.454, allocations: 16 kB / 343 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.4541, allocations: 12 kB / 343 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.4552, allocations: 345.4 kB / 343.4 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004541/0.4598, allocations: 1.422 MB / 344.8 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.4613, allocations: 359.5 kB / 345.1 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/0.4619, allocations: 193.8 kB / 345.3 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.486e-05/0.462, allocations: 12.31 kB / 345.3 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.462, allocations: 38.84 kB / 345.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.627e-06/0.4621, allocations: 0 / 345.4 MB, free: 7.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002305/0.4644, allocations: 0.5088 MB / 345.9 MB, free: 7.344 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.4645, allocations: 162.2 kB / 346 MB, free: 7.148 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/0.465, allocations: 223.5 kB / 346.3 MB, free: 6.922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.4651, allocations: 29.7 kB / 346.3 MB, free: 6.887 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.4653, allocations: 266.7 kB / 346.5 MB, free: 6.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.4655, allocations: 141.9 kB / 346.7 MB, free: 6.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.4655, allocations: 4 kB / 346.7 MB, free: 6.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4657, allocations: 326.8 kB / 347 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.4661, allocations: 128.8 kB / 347.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.4667, allocations: 225.7 kB / 347.4 MB, free: 5.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.4672, allocations: 135.9 kB / 347.5 MB, free: 5.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.4672, allocations: 0 / 347.5 MB, free: 5.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002966/0.4702, allocations: 0.6393 MB / 348.1 MB, free: 4.984 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.4703, allocations: 8 kB / 348.1 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.4703, allocations: 0 / 348.1 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/0.4724, allocations: 293.5 kB / 348.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.4732, allocations: 87.88 kB / 348.5 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.4751, allocations: 1.304 MB / 349.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.4765, allocations: 95.62 kB / 349.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.4766, allocations: 15.98 kB / 349.9 MB, free: 3.133 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.0002628/0.4769, allocations: 132.9 kB / 350 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.4771, allocations: 31.62 kB / 350.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/0.481, allocations: 0.6302 MB / 350.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.4811, allocations: 8 kB / 350.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4812, allocations: 0 / 350.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.4812, allocations: 3.984 kB / 350.7 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.4826, allocations: 464.9 kB / 351.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.4826, allocations: 0 / 351.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000827/0.4835, allocations: 76.12 kB / 351.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002604/0.4861, allocations: 285.5 kB / 351.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.4863, allocations: 23.94 kB / 351.6 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.4887, allocations: 1.315 MB / 352.9 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.4887, allocations: 0 / 352.9 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005158/0.4939, allocations: 0.8673 MB / 353.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.4944, allocations: 152.6 kB / 353.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.4946, allocations: 8 kB / 353.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.4958, allocations: 60.02 kB / 354 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.4959, allocations: 27.95 kB / 354 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-05/0.496, allocations: 8 kB / 354 MB, free: 14.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004018/0.4964, allocations: 179.1 kB / 354.2 MB, free: 14.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4965, allocations: 4 kB / 354.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001021/0.4975, allocations: 107.8 kB / 354.3 MB, free: 14.61 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.01759/0.5151, allocations: 1.44 MB / 355.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.5169, allocations: 355.6 kB / 356.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.5169, allocations: 0 / 356.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009043/0.5178, allocations: 216 kB / 356.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008431/0.5263, allocations: 45.97 kB / 356.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.5297, allocations: 0.684 MB / 357 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.5303, allocations: 0.8037 MB / 357.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004774/0.5351, allocations: 123.6 kB / 357.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5351, allocations: 0 / 357.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.918/3.453, allocations: 8.327 MB / 366.2 MB, free: 2.531 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat