Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.135/2.135, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.561e-05, allocations: 4 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4502/0.5646, allocations: 81.94 MB / 425.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.565, allocations: 64.91 kB / 425.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03027/0.5953, allocations: 6.541 MB / 431.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.5953, allocations: 0 / 431.7 MB, free: 6.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.769e-05/0.5954, allocations: 8 kB / 431.7 MB, free: 6.637 MB / 346.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.002238/0.5976, allocations: 0.6981 MB / 432.4 MB, free: 5.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.5977, allocations: 8.031 kB / 432.4 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.5978, allocations: 72.47 kB / 432.5 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.598, allocations: 50.5 kB / 432.5 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/0.5988, allocations: 325.7 kB / 432.9 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.5989, allocations: 30.45 kB / 432.9 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.599, allocations: 39.69 kB / 432.9 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.6001, allocations: 424 kB / 433.3 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.6001, allocations: 3.938 kB / 433.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.6002, allocations: 18.19 kB / 433.4 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.6002, allocations: 8 kB / 433.4 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.6013, allocations: 343.1 kB / 433.7 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005259/0.6065, allocations: 1.562 MB / 435.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.6083, allocations: 355.6 kB / 435.6 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/0.609, allocations: 195 kB / 435.8 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.18e-05/0.6091, allocations: 16.23 kB / 435.8 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.6092, allocations: 42.14 kB / 435.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 7.063e-06/0.6092, allocations: 0 / 435.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002841/0.612, allocations: 0.5079 MB / 436.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.6122, allocations: 162.2 kB / 436.5 MB, free: 2.516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.6127, allocations: 234 kB / 436.8 MB, free: 2.324 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/0.6128, allocations: 29.33 kB / 436.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.6131, allocations: 205.1 kB / 437 MB, free: 2.129 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.6133, allocations: 141.5 kB / 437.1 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.6134, allocations: 10.88 kB / 437.1 MB, free: 2.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.6136, allocations: 346.8 kB / 437.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005618/0.6142, allocations: 125.1 kB / 437.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006805/0.6149, allocations: 215.8 kB / 437.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/0.6155, allocations: 137.9 kB / 437.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.6155, allocations: 4 kB / 437.9 MB, free: 1.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004206/0.6197, allocations: 0.6471 MB / 438.6 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.6198, allocations: 8 kB / 438.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.6198, allocations: 0 / 438.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002792/0.6226, allocations: 300.5 kB / 438.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009601/0.6236, allocations: 83.88 kB / 439 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.6258, allocations: 1.314 MB / 440.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.627, allocations: 97.39 kB / 440.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.6271, allocations: 11.19 kB / 440.4 MB, free: 15.09 MB / 362.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.0002391/0.6273, allocations: 127.3 kB / 440.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.6275, allocations: 35.58 kB / 440.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/0.6313, allocations: 0.6323 MB / 441.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.6314, allocations: 7.938 kB / 441.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6314, allocations: 3.938 kB / 441.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.6314, allocations: 0 / 441.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.6326, allocations: 470.8 kB / 441.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.6327, allocations: 0 / 441.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.6335, allocations: 71.56 kB / 441.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/0.6361, allocations: 295.9 kB / 442 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/0.6362, allocations: 5.188 kB / 442 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/0.6383, allocations: 1.317 MB / 443.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6384, allocations: 0 / 443.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004303/0.6427, allocations: 0.8716 MB / 444.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.6429, allocations: 108.7 kB / 444.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.643, allocations: 15.08 kB / 444.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009829/0.644, allocations: 59.89 kB / 444.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.6442, allocations: 27.14 kB / 444.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-05/0.6443, allocations: 11.56 kB / 444.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003642/0.6446, allocations: 181.8 kB / 444.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6447, allocations: 0 / 444.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008959/0.6456, allocations: 109.9 kB / 444.7 MB, free: 11.31 MB / 362.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.004983/0.6506, allocations: 1.431 MB / 446.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.6523, allocations: 357.4 kB / 446.5 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.6523, allocations: 3.062 kB / 446.5 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000902/0.6533, allocations: 203.3 kB / 446.7 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/0.654, allocations: 50.38 kB / 446.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.657, allocations: 0.6901 MB / 447.4 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.6576, allocations: 0.8073 MB / 448.2 MB, free: 8.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003726/0.658, allocations: 30.97 kB / 448.3 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.6583, allocations: 123.3 kB / 448.4 MB, free: 8.109 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6584, allocations: 0 / 448.4 MB, free: 8.109 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05674/0.7151, allocations: 8.346 MB / 456.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.7154, allocations: 189.5 kB / 456.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.525, allocations: 4 kB / 456.9 MB, free: 15.64 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat