Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 205.8 MB / 218.9 MB, free: 9.336 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.385e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 47.57 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4204/0.5286, allocations: 80.31 MB / 397.3 MB, free: 7.406 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.5289, allocations: 75.33 kB / 397.4 MB, free: 7.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02898/0.5579, allocations: 6.397 MB / 403.8 MB, free: 1.816 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.558, allocations: 0 / 403.8 MB, free: 1.816 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.523e-05/0.558, allocations: 8 kB / 403.8 MB, free: 1.809 MB / 314.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.002138/0.5602, allocations: 0.7075 MB / 404.5 MB, free: 1.082 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.5602, allocations: 10.33 kB / 404.5 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.5604, allocations: 76.66 kB / 404.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.5605, allocations: 47.44 kB / 404.6 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.561, allocations: 299.4 kB / 404.9 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.5611, allocations: 28.22 kB / 405 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-05/0.5612, allocations: 35.5 kB / 405 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.5622, allocations: 421.4 kB / 405.4 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5623, allocations: 4 kB / 405.4 MB, free: 328 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.5624, allocations: 15.62 kB / 405.4 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.5624, allocations: 15.94 kB / 405.4 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009749/0.5634, allocations: 340.2 kB / 405.8 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/0.5678, allocations: 1.572 MB / 407.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.5693, allocations: 365.5 kB / 407.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/0.5698, allocations: 194.8 kB / 407.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-05/0.5699, allocations: 15.5 kB / 407.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.57, allocations: 37.81 kB / 408 MB, free: 14.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 3.206e-06/0.57, allocations: 0 / 408 MB, free: 14.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.002208/0.5722, allocations: 0.5069 MB / 408.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.5723, allocations: 158.2 kB / 408.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.5727, allocations: 226 kB / 408.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.858e-05/0.5729, allocations: 35.58 kB / 408.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.573, allocations: 207.7 kB / 409.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.5732, allocations: 141.1 kB / 409.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.5733, allocations: 10.12 kB / 409.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.5734, allocations: 344.2 kB / 409.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/0.5738, allocations: 124.9 kB / 409.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.5744, allocations: 225.5 kB / 409.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.5748, allocations: 146.1 kB / 410 MB, free: 12.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.5748, allocations: 0 / 410 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002894/0.5777, allocations: 0.6566 MB / 410.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.5778, allocations: 4 kB / 410.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.5778, allocations: 4 kB / 410.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.5799, allocations: 292.6 kB / 411 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.5807, allocations: 91.12 kB / 411.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.5824, allocations: 1.301 MB / 412.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009751/0.5835, allocations: 90.25 kB / 412.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.5835, allocations: 15.19 kB / 412.5 MB, free: 10.27 MB / 330.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.0001889/0.5837, allocations: 133.5 kB / 412.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.5839, allocations: 31.62 kB / 412.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.5867, allocations: 0.6302 MB / 413.3 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.5868, allocations: 4 kB / 413.3 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5868, allocations: 0 / 413.3 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.5868, allocations: 3.984 kB / 413.3 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000944/0.5878, allocations: 469.2 kB / 413.7 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5878, allocations: 0 / 413.7 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.5884, allocations: 63.77 kB / 413.8 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001931/0.5904, allocations: 302.9 kB / 414.1 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.5904, allocations: 14.11 kB / 414.1 MB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.5921, allocations: 1.311 MB / 415.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5921, allocations: 0 / 415.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/0.5953, allocations: 0.8797 MB / 416.3 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.5955, allocations: 104.7 kB / 416.4 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/0.5957, allocations: 19.12 kB / 416.4 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/0.5964, allocations: 55 kB / 416.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5965, allocations: 27.78 kB / 416.5 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.5966, allocations: 11.44 kB / 416.5 MB, free: 6.734 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002783/0.5969, allocations: 180.3 kB / 416.7 MB, free: 6.586 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5969, allocations: 4 kB / 416.7 MB, free: 6.582 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006328/0.5975, allocations: 117 kB / 416.8 MB, free: 6.48 MB / 330.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.003738/0.6013, allocations: 1.426 MB / 418.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.6026, allocations: 352.7 kB / 418.6 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6027, allocations: 7.938 kB / 418.6 MB, free: 4.996 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006443/0.6033, allocations: 199.3 kB / 418.8 MB, free: 4.863 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.6038, allocations: 44.09 kB / 418.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.6061, allocations: 0.6839 MB / 419.5 MB, free: 4.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.6066, allocations: 0.8037 MB / 420.3 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000272/0.6068, allocations: 26.98 kB / 420.3 MB, free: 3.344 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.6071, allocations: 123 kB / 420.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6071, allocations: 0 / 420.5 MB, free: 3.309 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06747/0.6746, allocations: 8.306 MB / 428.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003366/0.675, allocations: 187 kB / 429 MB, free: 10.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/3.601, allocations: 0 / 429 MB, free: 10.86 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat