Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.635/2.635, allocations: 195 MB / 202.9 MB, free: 13.77 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.32e-05, allocations: 4 kB / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3481, allocations: 44.5 MB / 294.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.5371, allocations: 75.41 MB / 369.7 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.5375, allocations: 67.97 kB / 369.8 MB, free: 6.324 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03499/0.5725, allocations: 6.3 MB / 376.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5725, allocations: 0 / 376.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.181e-05/0.5726, allocations: 8 kB / 376.1 MB, free: 15.98 MB / 330.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.002635/0.5752, allocations: 0.7166 MB / 376.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/0.5753, allocations: 12.03 kB / 376.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.5756, allocations: 47.48 kB / 376.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.5762, allocations: 297.3 kB / 377.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.5763, allocations: 12 kB / 377.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.5764, allocations: 24 kB / 377.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001243/0.5777, allocations: 329.5 kB / 377.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.5789, allocations: 371.9 kB / 377.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.579, allocations: 0 / 377.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/0.579, allocations: 0 / 377.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.5791, allocations: 12 kB / 377.9 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004844/0.5839, allocations: 1.34 MB / 379.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.5855, allocations: 355.4 kB / 379.5 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.5861, allocations: 173.9 kB / 379.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.509e-05/0.5862, allocations: 24.28 kB / 379.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.5862, allocations: 38.89 kB / 379.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 4.318e-06/0.5863, allocations: 0 / 379.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.00253/0.5888, allocations: 488.9 kB / 380.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.5889, allocations: 166.2 kB / 380.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.5893, allocations: 202.4 kB / 380.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.547e-05/0.5894, allocations: 25.7 kB / 380.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.5896, allocations: 208.3 kB / 380.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.5898, allocations: 138 kB / 381 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.5899, allocations: 0 / 381 MB, free: 10.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5901, allocations: 342.8 kB / 381.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.5905, allocations: 116.8 kB / 381.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.5911, allocations: 209.8 kB / 381.6 MB, free: 10.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/0.5917, allocations: 143.2 kB / 381.8 MB, free: 9.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5917, allocations: 3.938 kB / 381.8 MB, free: 9.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003471/0.5952, allocations: 0.6157 MB / 382.4 MB, free: 9.332 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.5953, allocations: 8 kB / 382.4 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.5953, allocations: 3.953 kB / 382.4 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.5971, allocations: 253.5 kB / 382.7 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.598, allocations: 87.88 kB / 382.7 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.6, allocations: 1.335 MB / 384.1 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.6011, allocations: 91.61 kB / 384.2 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/0.6011, allocations: 16 kB / 384.2 MB, free: 7.488 MB / 330.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.0001967/0.6014, allocations: 116.7 kB / 384.3 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002348/0.6037, allocations: 486.6 kB / 384.8 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.6039, allocations: 39.62 kB / 384.8 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/0.6071, allocations: 0.5954 MB / 385.4 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.6071, allocations: 4 kB / 385.4 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.6071, allocations: 0 / 385.4 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.6071, allocations: 3.984 kB / 385.4 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/0.6081, allocations: 401.6 kB / 385.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6081, allocations: 0 / 385.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000708/0.6088, allocations: 71.89 kB / 385.9 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/0.6104, allocations: 261.5 kB / 386.1 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.6105, allocations: 0 / 386.1 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.6124, allocations: 1.354 MB / 387.5 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6125, allocations: 0 / 387.5 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/0.6161, allocations: 0.8399 MB / 388.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.6163, allocations: 120.6 kB / 388.4 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.6164, allocations: 4 kB / 388.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008157/0.6172, allocations: 55.94 kB / 388.5 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6174, allocations: 19.97 kB / 388.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/0.6174, allocations: 8 kB / 388.5 MB, free: 2.969 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000279/0.6177, allocations: 170 kB / 388.7 MB, free: 2.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6177, allocations: 0 / 388.7 MB, free: 2.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007151/0.6185, allocations: 95.78 kB / 388.8 MB, free: 2.711 MB / 330.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.004138/0.6226, allocations: 1.39 MB / 390.2 MB, free: 1.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.624, allocations: 347.6 kB / 390.5 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.624, allocations: 0 / 390.5 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007478/0.6248, allocations: 196.4 kB / 390.7 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.6254, allocations: 24.55 kB / 390.7 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.6278, allocations: 0.6305 MB / 391.4 MB, free: 60 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.6284, allocations: 0.7995 MB / 392.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.6287, allocations: 35.27 kB / 392.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.629, allocations: 123.4 kB / 392.3 MB, free: 15.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6291, allocations: 4 kB / 392.3 MB, free: 15.08 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06117/0.6902, allocations: 7.617 MB / 399.9 MB, free: 7.492 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003404/0.6907, allocations: 159.5 kB / 400.1 MB, free: 7.289 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.48/4.17, allocations: 3.938 kB / 400.1 MB, free: 7.285 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat