Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.595e-05, allocations: 4 kB / 292.2 MB, free: 8.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 50.41 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.5631, allocations: 82.02 MB / 424.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.5634, allocations: 68.59 kB / 424.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02965/0.5931, allocations: 6.536 MB / 431.3 MB, free: 6.113 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5931, allocations: 0 / 431.3 MB, free: 6.113 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.719e-05/0.5931, allocations: 8 kB / 431.3 MB, free: 6.105 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.5953, allocations: 0.7007 MB / 432 MB, free: 5.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.5954, allocations: 8.031 kB / 432 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.5955, allocations: 78.52 kB / 432.1 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.5957, allocations: 47.44 kB / 432.1 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.5964, allocations: 318.8 kB / 432.4 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.5965, allocations: 33.09 kB / 432.4 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.5966, allocations: 41.11 kB / 432.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5977, allocations: 425 kB / 432.9 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.5977, allocations: 0 / 432.9 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.5978, allocations: 14.38 kB / 432.9 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.5978, allocations: 8 kB / 432.9 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009993/0.5988, allocations: 351.4 kB / 433.3 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00411/0.603, allocations: 1.555 MB / 434.8 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.6043, allocations: 363.6 kB / 435.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.6048, allocations: 194.8 kB / 435.4 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.198e-05/0.6049, allocations: 15.86 kB / 435.4 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.605, allocations: 42.33 kB / 435.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 5.651e-06/0.605, allocations: 0 / 435.4 MB, free: 2.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.00213/0.6071, allocations: 0.5028 MB / 435.9 MB, free: 2.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/0.6072, allocations: 161.8 kB / 436.1 MB, free: 1.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.6076, allocations: 230.7 kB / 436.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.6077, allocations: 41.06 kB / 436.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.6079, allocations: 257.2 kB / 436.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.6081, allocations: 139.9 kB / 436.7 MB, free: 1.418 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.6081, allocations: 9 kB / 436.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.6083, allocations: 329 kB / 437.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.6086, allocations: 126.2 kB / 437.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.6091, allocations: 213.6 kB / 437.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.6095, allocations: 143.5 kB / 437.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6096, allocations: 8 kB / 437.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002837/0.6124, allocations: 0.621 MB / 438.2 MB, free: 228 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.6125, allocations: 8 kB / 438.2 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.6125, allocations: 3.984 kB / 438.2 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.6145, allocations: 295.4 kB / 438.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/0.6153, allocations: 87.88 kB / 438.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.6168, allocations: 1.302 MB / 439.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009432/0.6178, allocations: 94.95 kB / 439.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/0.6179, allocations: 15.38 kB / 440 MB, free: 14.54 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.0001847/0.6181, allocations: 130.4 kB / 440.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.6182, allocations: 35.58 kB / 440.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.621, allocations: 0.6353 MB / 440.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.621, allocations: 7.938 kB / 440.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6211, allocations: 0 / 440.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.6211, allocations: 4 kB / 440.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000886/0.622, allocations: 478.3 kB / 441.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.622, allocations: 0 / 441.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.6226, allocations: 63.08 kB / 441.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/0.6245, allocations: 304.1 kB / 441.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.6246, allocations: 3.75 kB / 441.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.6261, allocations: 1.32 MB / 442.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6261, allocations: 3.938 kB / 442.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.6293, allocations: 0.8593 MB / 443.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.6294, allocations: 112.6 kB / 443.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.597e-05/0.6296, allocations: 14.64 kB / 443.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/0.6303, allocations: 59.39 kB / 444 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/0.6304, allocations: 27.2 kB / 444 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.6305, allocations: 11.44 kB / 444 MB, free: 10.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002767/0.6308, allocations: 183.1 kB / 444.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.415e-06/0.6308, allocations: 4 kB / 444.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005918/0.6314, allocations: 113.6 kB / 444.3 MB, free: 10.74 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.003576/0.635, allocations: 1.428 MB / 445.7 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.6363, allocations: 366.2 kB / 446.1 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6363, allocations: 0 / 446.1 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.6369, allocations: 195.5 kB / 446.3 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.6374, allocations: 46.72 kB / 446.3 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.6397, allocations: 0.7198 MB / 447 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.6401, allocations: 0.8073 MB / 447.8 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.6404, allocations: 124.6 kB / 448 MB, free: 7.543 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6404, allocations: 0 / 448 MB, free: 7.543 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.718/3.358, allocations: 8.415 MB / 456.4 MB, free: 15.19 MB / 378.7 MB