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.761/1.761, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.585e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2648, allocations: 38.76 MB / 258.3 MB, free: 12.07 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.3862, allocations: 67.95 MB / 326.3 MB, free: 9.887 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.3865, allocations: 63.97 kB / 326.3 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01701/0.4035, allocations: 3.914 MB / 330.2 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4036, allocations: 4 kB / 330.2 MB, free: 5.887 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.4036, allocations: 4 kB / 330.2 MB, free: 5.883 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.000911/0.4045, allocations: 494.2 kB / 330.7 MB, free: 5.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4046, allocations: 8.031 kB / 330.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.12e-05/0.4047, allocations: 31.72 kB / 330.8 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.405, allocations: 231.3 kB / 331 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.4051, allocations: 8 kB / 331 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-05/0.4052, allocations: 15.95 kB / 331 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004217/0.4056, allocations: 136.8 kB / 331.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.4061, allocations: 181 kB / 331.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.4061, allocations: 0 / 331.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.4061, allocations: 7.922 kB / 331.3 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4061, allocations: 4 kB / 331.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.408, allocations: 0.816 MB / 332.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.4084, allocations: 138.5 kB / 332.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.4087, allocations: 84.94 kB / 332.4 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.4087, allocations: 0 / 332.4 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4088, allocations: 42.5 kB / 332.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.4088, allocations: 0 / 332.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009143/0.4097, allocations: 198.5 kB / 332.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.4098, allocations: 55.34 kB / 332.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.41, allocations: 158.6 kB / 332.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.41, allocations: 29.7 kB / 332.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.4102, allocations: 218.6 kB / 333.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.4103, allocations: 55.2 kB / 333.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.4103, allocations: 0 / 333.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4104, allocations: 318.8 kB / 333.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.4105, allocations: 44 kB / 333.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.4107, allocations: 76.28 kB / 333.5 MB, free: 2.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.411, allocations: 77.28 kB / 333.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.4111, allocations: 0 / 333.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007434/0.4118, allocations: 225.2 kB / 333.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4119, allocations: 6.656 kB / 333.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4119, allocations: 4 kB / 333.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008747/0.4128, allocations: 100.9 kB / 333.9 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.4131, allocations: 43.91 kB / 334 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008033/0.4139, allocations: 0.6304 MB / 334.6 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.4142, allocations: 15.84 kB / 334.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.4142, allocations: 8 kB / 334.6 MB, free: 1.203 MB / 282.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.0001169/0.4144, allocations: 104.9 kB / 334.7 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000791/0.4152, allocations: 214.1 kB / 335 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.4152, allocations: 15.81 kB / 335 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006846/0.4159, allocations: 204.4 kB / 335.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.416, allocations: 0 / 335.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.416, allocations: 7.938 kB / 335.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.416, allocations: 0 / 335.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.4173, allocations: 0.5472 MB / 335.7 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4174, allocations: 3.938 kB / 335.7 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.4177, allocations: 31.97 kB / 335.8 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008286/0.4185, allocations: 112.8 kB / 335.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.4186, allocations: 0 / 335.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007761/0.4193, allocations: 0.6381 MB / 336.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4194, allocations: 4.141 kB / 336.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009652/0.4203, allocations: 391 kB / 336.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.4205, allocations: 104.8 kB / 337 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.4206, allocations: 8.062 kB / 337 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.4208, allocations: 11.98 kB / 337 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.4209, allocations: 15.98 kB / 337 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.4209, allocations: 4 kB / 337 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.4211, allocations: 120.1 kB / 337.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4211, allocations: 7.938 kB / 337.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004953/0.4216, allocations: 59.75 kB / 337.2 MB, free: 14.47 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.001399/0.423, allocations: 1.01 MB / 338.2 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005064/0.4236, allocations: 135.9 kB / 338.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4236, allocations: 0 / 338.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.4238, allocations: 74.36 kB / 338.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.4242, allocations: 24.16 kB / 338.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.4257, allocations: 452.3 kB / 338.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.4261, allocations: 0.7479 MB / 339.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.4263, allocations: 63.5 kB / 339.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4263, allocations: 3.938 kB / 339.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.956/3.383, allocations: 4.008 MB / 343.7 MB, free: 7.875 MB / 298.7 MB