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.782/1.782, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.625e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2669, allocations: 38.76 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.3982, allocations: 71.02 MB / 334.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.3986, allocations: 71.95 kB / 334.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0304/0.429, allocations: 6.43 MB / 341.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.429, allocations: 0 / 341.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.665e-05/0.4291, allocations: 8 kB / 341.4 MB, free: 12.18 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.002278/0.4313, allocations: 0.705 MB / 342.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.4314, allocations: 16.03 kB / 342.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.4316, allocations: 74.53 kB / 342.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.4318, allocations: 47.44 kB / 342.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.4324, allocations: 297.4 kB / 342.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.4324, allocations: 28.78 kB / 342.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.4325, allocations: 36 kB / 342.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.4337, allocations: 425.6 kB / 343 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.4337, allocations: 0 / 343 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.653e-05/0.4338, allocations: 16 kB / 343 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.4338, allocations: 12 kB / 343 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.4349, allocations: 347.1 kB / 343.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.4393, allocations: 1.43 MB / 344.8 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.4407, allocations: 363.9 kB / 345.1 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.4413, allocations: 189.9 kB / 345.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.4414, allocations: 16.23 kB / 345.3 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.4414, allocations: 42.84 kB / 345.4 MB, free: 7.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.417e-06/0.4415, allocations: 0 / 345.4 MB, free: 7.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002265/0.4437, allocations: 0.4967 MB / 345.9 MB, free: 7.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4439, allocations: 178.1 kB / 346 MB, free: 7.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.4443, allocations: 219.5 kB / 346.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.164e-05/0.4445, allocations: 33.7 kB / 346.3 MB, free: 6.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.4447, allocations: 262.7 kB / 346.5 MB, free: 6.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.4449, allocations: 145.9 kB / 346.7 MB, free: 6.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.4449, allocations: 4 kB / 346.7 MB, free: 6.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4451, allocations: 326.8 kB / 347 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.4455, allocations: 124.9 kB / 347.1 MB, free: 6.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.446, allocations: 226.5 kB / 347.3 MB, free: 5.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.4465, allocations: 139.9 kB / 347.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.4465, allocations: 0 / 347.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002931/0.4495, allocations: 0.6431 MB / 348.1 MB, free: 5.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.4495, allocations: 8 kB / 348.1 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.4496, allocations: 3.984 kB / 348.1 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.4516, allocations: 293.5 kB / 348.4 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/0.4524, allocations: 87.88 kB / 348.5 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.4541, allocations: 1.304 MB / 349.8 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009616/0.4551, allocations: 99.58 kB / 349.9 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.4552, allocations: 16 kB / 349.9 MB, free: 3.215 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.0001939/0.4554, allocations: 128.9 kB / 350 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.4555, allocations: 35.62 kB / 350.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/0.4584, allocations: 0.6302 MB / 350.7 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.4585, allocations: 4 kB / 350.7 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4585, allocations: 0 / 350.7 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.4585, allocations: 0 / 350.7 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009819/0.4595, allocations: 480.8 kB / 351.2 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4595, allocations: 0 / 351.2 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.4602, allocations: 63.95 kB / 351.2 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.4621, allocations: 293.5 kB / 351.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/0.4622, allocations: 4 kB / 351.5 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.4639, allocations: 1.323 MB / 352.9 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4639, allocations: 192 / 352.9 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00337/0.4673, allocations: 0.8674 MB / 353.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.4676, allocations: 148.5 kB / 353.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.4677, allocations: 12 kB / 353.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/0.4685, allocations: 64 kB / 353.9 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.4686, allocations: 24 kB / 354 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.4687, allocations: 16 kB / 354 MB, free: 14.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002953/0.469, allocations: 183.1 kB / 354.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.469, allocations: 0 / 354.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005846/0.4696, allocations: 111.8 kB / 354.3 MB, free: 14.68 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.003775/0.4734, allocations: 1.432 MB / 355.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.4747, allocations: 371.3 kB / 356.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.4748, allocations: 3.938 kB / 356.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006956/0.4755, allocations: 208.5 kB / 356.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.476, allocations: 42.08 kB / 356.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.4783, allocations: 0.6877 MB / 357 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005607/0.4789, allocations: 0.8036 MB / 357.8 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.4793, allocations: 123.6 kB / 357.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.153e-06/0.4793, allocations: 0 / 357.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.754/3.233, allocations: 8.334 MB / 366.3 MB, free: 2.59 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