Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.73e-05, allocations: 4 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 50.41 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4536/0.5605, allocations: 81.96 MB / 424.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.5608, allocations: 78.44 kB / 424.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02986/0.5907, allocations: 6.523 MB / 431.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5907, allocations: 4 kB / 431.2 MB, free: 6.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.681e-05/0.5908, allocations: 11.94 kB / 431.2 MB, free: 6.25 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.002144/0.5929, allocations: 0.6952 MB / 431.9 MB, free: 5.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.593, allocations: 12.03 kB / 431.9 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.5931, allocations: 75.91 kB / 432 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.5933, allocations: 51.42 kB / 432 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007697/0.5941, allocations: 334.3 kB / 432.4 MB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.5941, allocations: 23.47 kB / 432.4 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-05/0.5942, allocations: 34.94 kB / 432.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.5953, allocations: 423.7 kB / 432.8 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5953, allocations: 4 kB / 432.8 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.5954, allocations: 20.88 kB / 432.9 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.5954, allocations: 8 kB / 432.9 MB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009971/0.5964, allocations: 347.1 kB / 433.2 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.6005, allocations: 1.545 MB / 434.8 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.6018, allocations: 368.8 kB / 435.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.6023, allocations: 201.4 kB / 435.3 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.437e-05/0.6024, allocations: 4.328 kB / 435.3 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.6024, allocations: 42.69 kB / 435.4 MB, free: 2.727 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 7.344e-06/0.6025, allocations: 3.984 kB / 435.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002069/0.6045, allocations: 0.5011 MB / 435.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/0.6046, allocations: 161.5 kB / 436 MB, free: 2.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.605, allocations: 230.9 kB / 436.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.6051, allocations: 35.95 kB / 436.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.6052, allocations: 203.8 kB / 436.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.6054, allocations: 140.7 kB / 436.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.6054, allocations: 7.438 kB / 436.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6056, allocations: 347.8 kB / 437 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.606, allocations: 124.1 kB / 437.1 MB, free: 1.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/0.6065, allocations: 224.7 kB / 437.3 MB, free: 1.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.6069, allocations: 137.2 kB / 437.4 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6069, allocations: 0 / 437.4 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00278/0.6097, allocations: 0.6488 MB / 438.1 MB, free: 412 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6097, allocations: 8.031 kB / 438.1 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.6097, allocations: 4 kB / 438.1 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.6117, allocations: 296.1 kB / 438.4 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.6124, allocations: 87.88 kB / 438.5 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.6139, allocations: 1.308 MB / 439.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009289/0.6149, allocations: 94.66 kB / 439.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.6149, allocations: 15.19 kB / 439.9 MB, free: 14.71 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.0001774/0.6151, allocations: 129.9 kB / 440 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.6152, allocations: 35.58 kB / 440.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.6181, allocations: 0.6353 MB / 440.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.6181, allocations: 7.938 kB / 440.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.6181, allocations: 0 / 440.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.6181, allocations: 7.984 kB / 440.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008795/0.619, allocations: 468 kB / 441.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.619, allocations: 0 / 441.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/0.6197, allocations: 63.95 kB / 441.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/0.6216, allocations: 300.9 kB / 441.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-05/0.6217, allocations: 7.75 kB / 441.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.6232, allocations: 1.32 MB / 442.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6232, allocations: 0 / 442.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/0.6264, allocations: 0.8599 MB / 443.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.6265, allocations: 112.3 kB / 443.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/0.6266, allocations: 11.64 kB / 443.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000753/0.6274, allocations: 67 kB / 443.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.6275, allocations: 23.28 kB / 443.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.6276, allocations: 19.42 kB / 443.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002611/0.6279, allocations: 176.4 kB / 444.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6279, allocations: 0 / 444.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005956/0.6285, allocations: 110.6 kB / 444.2 MB, free: 10.93 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.003569/0.6321, allocations: 1.442 MB / 445.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.6333, allocations: 356.9 kB / 446 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6333, allocations: 0 / 446 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006551/0.634, allocations: 204.2 kB / 446.2 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.6345, allocations: 50 kB / 446.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.6368, allocations: 0.6786 MB / 446.9 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.6373, allocations: 0.8073 MB / 447.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003009/0.6376, allocations: 38.95 kB / 447.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.6378, allocations: 119.6 kB / 447.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6378, allocations: 0 / 447.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03752/0.6754, allocations: 8.355 MB / 456.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.6757, allocations: 183 kB / 456.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.355, allocations: 0 / 456.4 MB, free: 15.26 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat