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.726/1.726, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.641e-05, allocations: 8 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2715, allocations: 38.76 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.3971, allocations: 71.04 MB / 334.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.3975, allocations: 71.95 kB / 335 MB, free: 2.512 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02977/0.4273, allocations: 6.435 MB / 341.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4273, allocations: 0 / 341.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.408e-05/0.4273, allocations: 8 kB / 341.4 MB, free: 12.03 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.002161/0.4295, allocations: 0.7089 MB / 342.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4296, allocations: 8.031 kB / 342.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.4297, allocations: 74.53 kB / 342.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.4299, allocations: 47.44 kB / 342.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.4304, allocations: 301.4 kB / 342.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.4304, allocations: 24.78 kB / 342.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.4306, allocations: 40 kB / 342.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.4316, allocations: 415.9 kB / 343 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.4317, allocations: 3.984 kB / 343 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/0.4317, allocations: 16 kB / 343 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.4318, allocations: 8 kB / 343 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.4328, allocations: 345.5 kB / 343.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004206/0.437, allocations: 1.422 MB / 344.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.4385, allocations: 359.5 kB / 345.2 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/0.439, allocations: 193.4 kB / 345.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.034e-05/0.4391, allocations: 12.3 kB / 345.4 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.4391, allocations: 50.78 kB / 345.4 MB, free: 7.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 3.166e-06/0.4391, allocations: 0 / 345.4 MB, free: 7.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.00215/0.4413, allocations: 0.4971 MB / 345.9 MB, free: 7.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.4414, allocations: 162.2 kB / 346.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.4418, allocations: 227.5 kB / 346.3 MB, free: 6.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/0.4419, allocations: 29.7 kB / 346.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.4421, allocations: 212.2 kB / 346.5 MB, free: 6.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.4423, allocations: 145.9 kB / 346.7 MB, free: 6.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.4424, allocations: 8 kB / 346.7 MB, free: 6.492 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4425, allocations: 342.8 kB / 347 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.4429, allocations: 120.9 kB / 347.1 MB, free: 6.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.4434, allocations: 233.8 kB / 347.4 MB, free: 5.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.4439, allocations: 135.3 kB / 347.5 MB, free: 5.637 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4439, allocations: 0 / 347.5 MB, free: 5.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002927/0.4468, allocations: 0.6548 MB / 348.1 MB, free: 4.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.4469, allocations: 4 kB / 348.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4469, allocations: 4 kB / 348.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.4489, allocations: 293.5 kB / 348.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.4497, allocations: 87.88 kB / 348.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.4514, allocations: 1.304 MB / 349.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009501/0.4523, allocations: 95.66 kB / 349.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.4524, allocations: 12.05 kB / 349.9 MB, free: 3.121 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.0001962/0.4526, allocations: 144.9 kB / 350.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4527, allocations: 35.61 kB / 350.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.4556, allocations: 0.6225 MB / 350.7 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.4557, allocations: 4 kB / 350.7 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.4557, allocations: 4.188 kB / 350.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.4557, allocations: 7.984 kB / 350.7 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009491/0.4567, allocations: 476.8 kB / 351.2 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4567, allocations: 0 / 351.2 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/0.4573, allocations: 67.95 kB / 351.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/0.4593, allocations: 293.5 kB / 351.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.091e-05/0.4594, allocations: 12 kB / 351.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.461, allocations: 1.319 MB / 352.9 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.461, allocations: 4.031 kB / 352.9 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/0.4643, allocations: 0.8671 MB / 353.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.4646, allocations: 140.7 kB / 353.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.732e-05/0.4647, allocations: 7.984 kB / 353.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007399/0.4655, allocations: 64.02 kB / 354 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4656, allocations: 27.95 kB / 354 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.4657, allocations: 8 kB / 354 MB, free: 14.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002986/0.466, allocations: 179.1 kB / 354.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.466, allocations: 0 / 354.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006194/0.4666, allocations: 119.7 kB / 354.3 MB, free: 14.58 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.0038/0.4704, allocations: 1.424 MB / 355.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.4718, allocations: 359.7 kB / 356.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.4718, allocations: 7.938 kB / 356.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.4725, allocations: 203.6 kB / 356.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.473, allocations: 40.86 kB / 356.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.4753, allocations: 0.6588 MB / 357 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.4758, allocations: 0.8115 MB / 357.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.476, allocations: 26.97 kB / 357.8 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.4763, allocations: 123.4 kB / 357.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4763, allocations: 0 / 357.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/0.5215, allocations: 8.334 MB / 366.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003413/0.5219, allocations: 194.5 kB / 366.5 MB, free: 2.344 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.158, allocations: 4 kB / 366.5 MB, free: 2.34 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