Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.643e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 50.41 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.6047, allocations: 79.84 MB / 422.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.605, allocations: 73.89 kB / 422.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01758/0.6226, allocations: 4.016 MB / 426.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6227, allocations: 0 / 426.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.6227, allocations: 4 kB / 426.6 MB, free: 10.5 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009412/0.6237, allocations: 497.6 kB / 427 MB, free: 9.984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.6237, allocations: 8.031 kB / 427.1 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.974e-05/0.6238, allocations: 54.05 kB / 427.1 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.6239, allocations: 23.72 kB / 427.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.6243, allocations: 235.3 kB / 427.4 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.6243, allocations: 14.56 kB / 427.4 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.6244, allocations: 22.59 kB / 427.4 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.6249, allocations: 178.4 kB / 427.6 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.6249, allocations: 0 / 427.6 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.625, allocations: 14.8 kB / 427.6 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.625, allocations: 8 kB / 427.6 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.6254, allocations: 141 kB / 427.7 MB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.6273, allocations: 0.8546 MB / 428.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.6278, allocations: 148.3 kB / 428.7 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.628, allocations: 89.61 kB / 428.8 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.6281, allocations: 0 / 428.8 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.6281, allocations: 38.5 kB / 428.9 MB, free: 8.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.6281, allocations: 0 / 428.9 MB, free: 8.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007687/0.6289, allocations: 198.1 kB / 429 MB, free: 8.203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.629, allocations: 55.34 kB / 429.1 MB, free: 8.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.6292, allocations: 157 kB / 429.3 MB, free: 7.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.6293, allocations: 32.95 kB / 429.3 MB, free: 7.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.6294, allocations: 208 kB / 429.5 MB, free: 7.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.6295, allocations: 53.36 kB / 429.5 MB, free: 7.723 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.6295, allocations: 7.5 kB / 429.5 MB, free: 7.719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6296, allocations: 318 kB / 429.9 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.6298, allocations: 44.75 kB / 429.9 MB, free: 7.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.63, allocations: 62.39 kB / 430 MB, free: 7.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.6301, allocations: 53.61 kB / 430 MB, free: 7.289 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.6302, allocations: 0 / 430 MB, free: 7.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005885/0.6308, allocations: 210.5 kB / 430.2 MB, free: 7.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6308, allocations: 4 kB / 430.2 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6308, allocations: 0 / 430.2 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.6331, allocations: 219.8 kB / 430.4 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.6334, allocations: 39.91 kB / 430.5 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006922/0.6341, allocations: 0.6031 MB / 431.1 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.6343, allocations: 19.98 kB / 431.1 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.6344, allocations: 7.938 kB / 431.1 MB, free: 6.266 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001191/0.6345, allocations: 108.8 kB / 431.2 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.6346, allocations: 19.8 kB / 431.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005981/0.6352, allocations: 213.7 kB / 431.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.6352, allocations: 7.984 kB / 431.5 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6352, allocations: 4 kB / 431.5 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.6352, allocations: 3.938 kB / 431.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.6365, allocations: 0.5827 MB / 432 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6365, allocations: 0 / 432 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.6368, allocations: 31.92 kB / 432.1 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/0.6388, allocations: 221.6 kB / 432.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.6388, allocations: 3.062 kB / 432.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006744/0.6395, allocations: 0.6235 MB / 432.9 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6395, allocations: 0 / 432.9 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000869/0.6404, allocations: 397.4 kB / 433.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.6405, allocations: 92.94 kB / 433.4 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.6406, allocations: 7 kB / 433.4 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.6409, allocations: 15.69 kB / 433.4 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.6409, allocations: 7.984 kB / 433.4 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.641, allocations: 11.94 kB / 433.4 MB, free: 4.102 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001598/0.6411, allocations: 131.6 kB / 433.6 MB, free: 3.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6412, allocations: 0 / 433.6 MB, free: 3.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004485/0.6416, allocations: 61.97 kB / 433.6 MB, free: 3.934 MB / 346.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.001288/0.6429, allocations: 0.9987 MB / 434.6 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.6434, allocations: 137.1 kB / 434.8 MB, free: 2.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6435, allocations: 0 / 434.8 MB, free: 2.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.6437, allocations: 80.86 kB / 434.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.6441, allocations: 22.67 kB / 434.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.6455, allocations: 468.2 kB / 435.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.6459, allocations: 0.7519 MB / 436.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.6461, allocations: 59.61 kB / 436.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of SimCode: time 9.01e-07/0.6461, allocations: 0 / 436.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.688/3.334, allocations: 3.968 MB / 440.1 MB, free: 13.61 MB / 362.7 MB