Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.767/1.767, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.461e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2623, allocations: 38.77 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.3869, allocations: 68.61 MB / 332.4 MB, free: 5.152 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.3872, allocations: 71.97 kB / 332.5 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01777/0.405, allocations: 3.965 MB / 336.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4051, allocations: 0 / 336.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.4051, allocations: 8 kB / 336.5 MB, free: 1.086 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009551/0.4061, allocations: 490.2 kB / 336.9 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.4061, allocations: 16.03 kB / 337 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.838e-05/0.4062, allocations: 50.55 kB / 337 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.872e-05/0.4063, allocations: 27.72 kB / 337 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.4067, allocations: 231.4 kB / 337.3 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.4067, allocations: 20.39 kB / 337.3 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.4068, allocations: 16 kB / 337.3 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.4074, allocations: 221.8 kB / 337.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.4074, allocations: 0 / 337.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.4075, allocations: 12 kB / 337.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.4075, allocations: 8 kB / 337.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.408, allocations: 141.7 kB / 337.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.4101, allocations: 0.867 MB / 338.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.4105, allocations: 142.6 kB / 338.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.4108, allocations: 88.84 kB / 338.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.4108, allocations: 0 / 338.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.4109, allocations: 38.5 kB / 338.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.4109, allocations: 8 kB / 338.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008124/0.4117, allocations: 198.4 kB / 339 MB, free: 14.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4118, allocations: 51.41 kB / 339.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.412, allocations: 162.3 kB / 339.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.4121, allocations: 33.7 kB / 339.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.4122, allocations: 218.3 kB / 339.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.4123, allocations: 63.12 kB / 339.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.4123, allocations: 8 kB / 339.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4125, allocations: 314.8 kB / 339.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.4126, allocations: 48 kB / 339.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.4128, allocations: 84.28 kB / 340 MB, free: 13.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.413, allocations: 59.94 kB / 340 MB, free: 13.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.4131, allocations: 3.938 kB / 340 MB, free: 13.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007023/0.4138, allocations: 226.2 kB / 340.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.4138, allocations: 12.72 kB / 340.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.4138, allocations: 0 / 340.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/0.416, allocations: 216.8 kB / 340.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.4164, allocations: 35.97 kB / 340.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007293/0.4171, allocations: 0.6108 MB / 341.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.4174, allocations: 23.89 kB / 341.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.4174, allocations: 8 kB / 341.2 MB, free: 12.1 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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 0.0001238/0.4176, allocations: 109 kB / 341.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.4176, allocations: 15.81 kB / 341.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006428/0.4183, allocations: 222.3 kB / 341.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.4183, allocations: 11.95 kB / 341.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4183, allocations: 0 / 341.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.4184, allocations: 3.984 kB / 341.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.4197, allocations: 0.5878 MB / 342.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4197, allocations: 0 / 342.1 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.42, allocations: 31.91 kB / 342.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/0.422, allocations: 220.7 kB / 342.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.4221, allocations: 8 kB / 342.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006613/0.4228, allocations: 0.6108 MB / 343 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4228, allocations: 4.062 kB / 343 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009322/0.4237, allocations: 398.9 kB / 343.4 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.4239, allocations: 109 kB / 343.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.424, allocations: 15.89 kB / 343.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.4242, allocations: 16.05 kB / 343.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.4243, allocations: 11.98 kB / 343.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.4244, allocations: 4 kB / 343.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001724/0.4245, allocations: 137.2 kB / 343.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.4246, allocations: 3.938 kB / 343.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004597/0.425, allocations: 59.84 kB / 343.7 MB, free: 9.398 MB / 298.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.001403/0.4264, allocations: 1.016 MB / 344.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005658/0.427, allocations: 150.3 kB / 344.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4271, allocations: 0 / 344.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.4273, allocations: 75.86 kB / 344.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.4277, allocations: 32.12 kB / 345 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.4292, allocations: 467.8 kB / 345.4 MB, free: 7.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.4296, allocations: 0.7595 MB / 346.2 MB, free: 6.812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.4298, allocations: 59.42 kB / 346.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4298, allocations: 0 / 346.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.633/3.063, allocations: 4.039 MB / 350.3 MB, free: 2.711 MB / 298.7 MB