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 1.918/1.918, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.498e-05/3.504e-05, allocations: 4 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 44.5 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/0.5567, allocations: 76.08 MB / 376.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/0.5571, allocations: 70.88 kB / 376.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04532/0.6025, allocations: 6.348 MB / 382.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6025, allocations: 0 / 382.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.932e-05/0.6026, allocations: 8.375 kB / 382.5 MB, free: 12.14 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.002233/0.6048, allocations: 0.7201 MB / 383.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.6049, allocations: 9.812 kB / 383.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001523/0.605, allocations: 74.36 kB / 383.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.6052, allocations: 46.98 kB / 383.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.6057, allocations: 295.8 kB / 383.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.6058, allocations: 33.53 kB / 383.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.6059, allocations: 34.69 kB / 383.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.6069, allocations: 418 kB / 384.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.607, allocations: 0 / 384.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.347e-05/0.6071, allocations: 15.5 kB / 384.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.6071, allocations: 8.25 kB / 384.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.6081, allocations: 352.5 kB / 384.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.6123, allocations: 1.423 MB / 385.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.6137, allocations: 364.2 kB / 386.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.6143, allocations: 188.5 kB / 386.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.217e-05/0.6143, allocations: 16.72 kB / 386.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.6144, allocations: 37.3 kB / 386.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 3.837e-06/0.6144, allocations: 4 kB / 386.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.002104/0.6165, allocations: 0.5025 MB / 387 MB, free: 10.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.6166, allocations: 160.6 kB / 387.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.617, allocations: 228.8 kB / 387.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/0.6171, allocations: 29.64 kB / 387.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.6172, allocations: 210 kB / 387.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.6174, allocations: 135.9 kB / 387.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.6174, allocations: 7.469 kB / 387.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.235e-05/0.6175, allocations: 349.5 kB / 388.1 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.6178, allocations: 120.7 kB / 388.2 MB, free: 9.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.6183, allocations: 223.8 kB / 388.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.6187, allocations: 142.3 kB / 388.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6187, allocations: 0 / 388.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002702/0.6214, allocations: 0.6562 MB / 389.2 MB, free: 9.531 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.6215, allocations: 3.812 kB / 389.2 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.6215, allocations: 3.781 kB / 389.2 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.6235, allocations: 300.1 kB / 389.5 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/0.6243, allocations: 85.7 kB / 389.6 MB, free: 9.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.6256, allocations: 1.312 MB / 390.9 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009689/0.6266, allocations: 102.3 kB / 391 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.6267, allocations: 14.56 kB / 391 MB, free: 8.402 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.0001612/0.6269, allocations: 121.7 kB / 391.1 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.627, allocations: 39 kB / 391.2 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.6296, allocations: 0.6195 MB / 391.8 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.6297, allocations: 11.77 kB / 391.8 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.6297, allocations: 3.875 kB / 391.8 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.6297, allocations: 1.781 kB / 391.8 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009528/0.6307, allocations: 461.3 kB / 392.3 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6307, allocations: 0 / 392.3 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/0.6314, allocations: 69.22 kB / 392.3 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.6332, allocations: 304.3 kB / 392.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/0.6333, allocations: 6.812 kB / 392.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.6346, allocations: 1.308 MB / 393.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6347, allocations: 7.5 kB / 393.9 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.6377, allocations: 0.8786 MB / 394.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.6379, allocations: 108.4 kB / 394.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.638, allocations: 10.72 kB / 394.9 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007484/0.6388, allocations: 63.92 kB / 395 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.6389, allocations: 18.94 kB / 395 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.639, allocations: 15.06 kB / 395 MB, free: 6.559 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.6392, allocations: 177.9 kB / 395.2 MB, free: 6.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6392, allocations: 3.906 kB / 395.2 MB, free: 6.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000625/0.6399, allocations: 111.3 kB / 395.3 MB, free: 6.465 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.003674/0.6435, allocations: 1.434 MB / 396.8 MB, free: 21.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.6448, allocations: 357.6 kB / 397.1 MB, free: 21.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6448, allocations: 4.312 kB / 397.1 MB, free: 21.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005875/0.6454, allocations: 197.2 kB / 397.3 MB, free: 21.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.646, allocations: 51.03 kB / 397.4 MB, free: 21.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.648, allocations: 0.6661 MB / 398 MB, free: 21.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.6485, allocations: 0.7986 MB / 398.8 MB, free: 20.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002659/0.6488, allocations: 33.55 kB / 398.9 MB, free: 20.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.649, allocations: 119.6 kB / 399 MB, free: 20.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.649, allocations: 3.969 kB / 399 MB, free: 20.67 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.6867, allocations: 8.33 MB / 407.3 MB, free: 19.08 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003386/0.6871, allocations: 182.9 kB / 407.5 MB, free: 18.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/3.749, allocations: 0 / 407.5 MB, free: 18.86 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