Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.27e-05, allocations: 4 kB / 255.4 MB, free: 2.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09626, allocations: 44.51 MB / 300 MB, free: 6.086 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4261/0.5224, allocations: 76.07 MB / 376 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.5228, allocations: 70.89 kB / 376.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02865/0.5514, allocations: 6.35 MB / 382.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5515, allocations: 0 / 382.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.017e-05/0.5515, allocations: 11.72 kB / 382.5 MB, free: 11.94 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.002204/0.5538, allocations: 0.7089 MB / 383.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.5538, allocations: 9.938 kB / 383.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.554, allocations: 79.88 kB / 383.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.5542, allocations: 49.08 kB / 383.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.5548, allocations: 295 kB / 383.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.5549, allocations: 26.22 kB / 383.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.555, allocations: 38.44 kB / 383.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.5562, allocations: 420.5 kB / 384.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.5562, allocations: 0 / 384.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/0.5563, allocations: 23.06 kB / 384.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.5563, allocations: 9.625 kB / 384.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.5574, allocations: 351.2 kB / 384.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.5615, allocations: 1.422 MB / 385.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.5629, allocations: 372.3 kB / 386.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.5635, allocations: 188.5 kB / 386.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.761e-05/0.5636, allocations: 9.25 kB / 386.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.5636, allocations: 40.52 kB / 386.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 2.926e-06/0.5636, allocations: 0 / 386.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.002067/0.5657, allocations: 0.5003 MB / 387 MB, free: 10.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.5658, allocations: 165.9 kB / 387.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.5662, allocations: 229.7 kB / 387.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-05/0.5663, allocations: 29.64 kB / 387.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.5664, allocations: 210.5 kB / 387.6 MB, free: 9.945 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.5665, allocations: 141.5 kB / 387.7 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.5666, allocations: 3.875 kB / 387.7 MB, free: 9.859 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5667, allocations: 342.8 kB / 388.1 MB, free: 9.547 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.5671, allocations: 126.4 kB / 388.2 MB, free: 9.547 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.5675, allocations: 224 kB / 388.4 MB, free: 9.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.5679, allocations: 138.9 kB / 388.5 MB, free: 9.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5679, allocations: 0 / 388.5 MB, free: 9.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002657/0.5706, allocations: 0.6614 MB / 389.2 MB, free: 9.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.5707, allocations: 7.875 kB / 389.2 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5707, allocations: 3.875 kB / 389.2 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/0.5726, allocations: 298.8 kB / 389.5 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.5733, allocations: 85.44 kB / 389.6 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.5746, allocations: 1.314 MB / 390.9 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.5756, allocations: 98.62 kB / 391 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.5756, allocations: 15.06 kB / 391 MB, free: 8.191 MB / 314.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.0001569/0.5758, allocations: 126.7 kB / 391.1 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.5759, allocations: 35.19 kB / 391.2 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.5785, allocations: 0.6282 MB / 391.8 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.5785, allocations: 7.797 kB / 391.8 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5785, allocations: 6.047 kB / 391.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.5786, allocations: 2.906 kB / 391.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007798/0.5793, allocations: 459.3 kB / 392.3 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5794, allocations: 0 / 392.3 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.5799, allocations: 62.98 kB / 392.3 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/0.5818, allocations: 302.2 kB / 392.6 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.291e-05/0.5819, allocations: 3.188 kB / 392.6 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.5832, allocations: 1.319 MB / 393.9 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5833, allocations: 3.906 kB / 393.9 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.5863, allocations: 0.8774 MB / 394.8 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.5865, allocations: 111.7 kB / 394.9 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.5866, allocations: 11.44 kB / 394.9 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007148/0.5873, allocations: 61.77 kB / 395 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.573e-05/0.5875, allocations: 24.81 kB / 395 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.5875, allocations: 15.22 kB / 395 MB, free: 6.348 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002299/0.5878, allocations: 174.8 kB / 395.2 MB, free: 6.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5878, allocations: 0 / 395.2 MB, free: 6.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005985/0.5884, allocations: 117.6 kB / 395.3 MB, free: 6.254 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.003632/0.592, allocations: 1.439 MB / 396.8 MB, free: 21.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.5932, allocations: 363.4 kB / 397.1 MB, free: 21.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5933, allocations: 0 / 397.1 MB, free: 21.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006284/0.5939, allocations: 207.1 kB / 397.3 MB, free: 21.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.5945, allocations: 44.64 kB / 397.4 MB, free: 21.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.5966, allocations: 0.6692 MB / 398 MB, free: 21.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.5971, allocations: 0.8089 MB / 398.8 MB, free: 20.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002712/0.5974, allocations: 22.22 kB / 398.9 MB, free: 20.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.5976, allocations: 124.9 kB / 399 MB, free: 20.45 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5976, allocations: 0 / 399 MB, free: 20.45 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.6318, allocations: 8.343 MB / 407.3 MB, free: 18.88 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.6321, allocations: 200 kB / 407.5 MB, free: 18.64 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.972/3.604, allocations: 0 / 407.5 MB, free: 18.64 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat