Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 194.9 MB / 208.5 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.913e-05, allocations: 7.984 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 44.51 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.5176, allocations: 73.83 MB / 373.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5179, allocations: 71.12 kB / 373.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01754/0.5354, allocations: 3.959 MB / 377.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5355, allocations: 5.312 kB / 377.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.5355, allocations: 3.312 kB / 377.8 MB, free: 12.31 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008776/0.5364, allocations: 492.9 kB / 378.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.5365, allocations: 9.438 kB / 378.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.687e-05/0.5366, allocations: 56.39 kB / 378.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.5367, allocations: 25.97 kB / 378.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.537, allocations: 232.8 kB / 378.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.537, allocations: 15.38 kB / 378.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.5371, allocations: 21.34 kB / 378.7 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.5376, allocations: 212.8 kB / 378.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.5376, allocations: 4.562 kB / 378.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.5377, allocations: 5.188 kB / 378.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.5377, allocations: 5.688 kB / 378.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.5381, allocations: 134.8 kB / 379 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.5401, allocations: 0.8525 MB / 379.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.5406, allocations: 144.1 kB / 380 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.5408, allocations: 96.03 kB / 380.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.5409, allocations: 2.062 kB / 380.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.5409, allocations: 36.91 kB / 380.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.016e-06/0.5409, allocations: 0 / 380.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007915/0.5417, allocations: 196.6 kB / 380.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.5418, allocations: 59.22 kB / 380.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.542, allocations: 158.5 kB / 380.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.5421, allocations: 29.39 kB / 380.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.5421, allocations: 210.9 kB / 380.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.5422, allocations: 60.62 kB / 380.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.5422, allocations: 4.781 kB / 380.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.375e-05/0.5423, allocations: 322.4 kB / 381.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.5425, allocations: 45.62 kB / 381.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.5426, allocations: 71.94 kB / 381.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.5428, allocations: 63 kB / 381.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.5428, allocations: 0 / 381.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006285/0.5435, allocations: 205.8 kB / 381.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5435, allocations: 7.562 kB / 381.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5435, allocations: 1.312 kB / 381.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/0.5457, allocations: 220.4 kB / 381.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.5461, allocations: 33.38 kB / 381.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005803/0.5467, allocations: 0.6115 MB / 382.4 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.547, allocations: 24.22 kB / 382.4 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.547, allocations: 6.406 kB / 382.4 MB, free: 9.582 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 9.797e-05/0.5471, allocations: 110.5 kB / 382.5 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.5472, allocations: 19.48 kB / 382.5 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005993/0.5478, allocations: 216.5 kB / 382.8 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.5478, allocations: 2.969 kB / 382.8 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5478, allocations: 1.453 kB / 382.8 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5478, allocations: 5.062 kB / 382.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.5491, allocations: 0.5894 MB / 383.4 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5491, allocations: 1 kB / 383.4 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.5494, allocations: 30.91 kB / 383.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.5515, allocations: 218.5 kB / 383.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.5515, allocations: 5.938 kB / 383.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005544/0.5521, allocations: 0.6231 MB / 384.2 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5521, allocations: 1.281 kB / 384.2 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008686/0.553, allocations: 395.6 kB / 384.6 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.5531, allocations: 109 kB / 384.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.5532, allocations: 5.531 kB / 384.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.5535, allocations: 12.55 kB / 384.7 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.5535, allocations: 13.19 kB / 384.8 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.5536, allocations: 6.5 kB / 384.8 MB, free: 8.227 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.5537, allocations: 127.8 kB / 384.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5537, allocations: 0 / 384.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004969/0.5543, allocations: 64.11 kB / 385 MB, free: 8.141 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.5554, allocations: 1.012 MB / 386 MB, free: 7.355 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.556, allocations: 139.7 kB / 386.1 MB, free: 7.348 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.556, allocations: 192 / 386.1 MB, free: 7.348 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.5563, allocations: 80.53 kB / 386.2 MB, free: 7.336 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.5567, allocations: 32.17 kB / 386.2 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.5581, allocations: 478.5 kB / 386.7 MB, free: 7.016 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.5586, allocations: 0.7446 MB / 387.4 MB, free: 22.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.5588, allocations: 63 kB / 387.5 MB, free: 22.31 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5588, allocations: 1.219 kB / 387.5 MB, free: 22.31 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.607/3.165, allocations: 3.946 MB / 391.4 MB, free: 22.05 MB / 330.7 MB