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 2.008/2.008, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.567e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09865, allocations: 44.51 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3982/0.4969, allocations: 73.82 MB / 373.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.4972, allocations: 65.36 kB / 373.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01723/0.5145, allocations: 3.968 MB / 377.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5145, allocations: 0 / 377.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.5146, allocations: 3.969 kB / 377.8 MB, free: 12.3 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.0009023/0.5155, allocations: 492.2 kB / 378.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.5156, allocations: 9.281 kB / 378.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.341e-05/0.5156, allocations: 60.84 kB / 378.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.5157, allocations: 27.45 kB / 378.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.5161, allocations: 234.3 kB / 378.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.5161, allocations: 19.97 kB / 378.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.5162, allocations: 20.59 kB / 378.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/0.5168, allocations: 209.2 kB / 378.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.5168, allocations: 1.406 kB / 378.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.5169, allocations: 7.594 kB / 378.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.5169, allocations: 5.344 kB / 378.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.5173, allocations: 140.5 kB / 379 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.5192, allocations: 0.8504 MB / 379.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.5197, allocations: 147.5 kB / 380 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.52, allocations: 94.38 kB / 380.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.52, allocations: 2.75 kB / 380.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.5201, allocations: 37 kB / 380.1 MB, free: 11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.455e-06/0.5201, allocations: 0 / 380.1 MB, free: 11 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008097/0.5209, allocations: 202.2 kB / 380.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.5209, allocations: 53.12 kB / 380.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.5212, allocations: 159.9 kB / 380.5 MB, free: 10.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.5212, allocations: 29.58 kB / 380.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.034e-05/0.5213, allocations: 210.7 kB / 380.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.5214, allocations: 58 kB / 380.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.5214, allocations: 4.562 kB / 380.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.5215, allocations: 323.5 kB / 381.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.5216, allocations: 44.53 kB / 381.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.5218, allocations: 75.27 kB / 381.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.522, allocations: 52.92 kB / 381.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.522, allocations: 2.344 kB / 381.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006412/0.5226, allocations: 206.4 kB / 381.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5227, allocations: 11.78 kB / 381.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.5227, allocations: 1.219 kB / 381.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.5249, allocations: 218.9 kB / 381.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.5252, allocations: 35.33 kB / 381.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005777/0.5258, allocations: 0.6102 MB / 382.4 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.5261, allocations: 18.86 kB / 382.4 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.5261, allocations: 4.438 kB / 382.4 MB, free: 9.578 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.711e-05/0.5262, allocations: 119.2 kB / 382.5 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.5263, allocations: 25.86 kB / 382.5 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006138/0.5269, allocations: 217.4 kB / 382.7 MB, free: 9.387 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.5269, allocations: 1.938 kB / 382.7 MB, free: 9.387 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.527, allocations: 4.969 kB / 382.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.527, allocations: 0 / 382.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.5282, allocations: 0.588 MB / 383.3 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5283, allocations: 4.031 kB / 383.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.5285, allocations: 30.47 kB / 383.4 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/0.5305, allocations: 216.7 kB / 383.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.5306, allocations: 6.031 kB / 383.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005601/0.5312, allocations: 0.6234 MB / 384.2 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5312, allocations: 1.344 kB / 384.2 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008875/0.5321, allocations: 398.2 kB / 384.6 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.5322, allocations: 105.5 kB / 384.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.5323, allocations: 6.125 kB / 384.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.5326, allocations: 12.5 kB / 384.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.5326, allocations: 10.19 kB / 384.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.5327, allocations: 7.5 kB / 384.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.5328, allocations: 127.7 kB / 384.9 MB, free: 8.141 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5328, allocations: 64 / 384.9 MB, free: 8.141 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004605/0.5333, allocations: 74 kB / 384.9 MB, free: 8.121 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.001162/0.5345, allocations: 1.012 MB / 386 MB, free: 7.336 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005551/0.5351, allocations: 140 kB / 386.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5351, allocations: 0 / 386.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.5353, allocations: 80.28 kB / 386.2 MB, free: 7.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.5358, allocations: 31.62 kB / 386.2 MB, free: 7.312 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.5371, allocations: 479.4 kB / 386.7 MB, free: 7.004 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.5377, allocations: 0.744 MB / 387.4 MB, free: 22.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5378, allocations: 58.08 kB / 387.5 MB, free: 22.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5378, allocations: 0 / 387.5 MB, free: 22.3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.796/3.334, allocations: 3.962 MB / 391.4 MB, free: 22.04 MB / 330.7 MB