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.027/2.027, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.997e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3513, allocations: 44.49 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.488, allocations: 73.17 MB / 367.4 MB, free: 8.738 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.4883, allocations: 75.95 kB / 367.4 MB, free: 8.664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0179/0.5063, allocations: 3.918 MB / 371.4 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5063, allocations: 0 / 371.4 MB, free: 4.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.5064, allocations: 4 kB / 371.4 MB, free: 4.727 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.0009872/0.5074, allocations: 490.2 kB / 371.8 MB, free: 4.203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.5074, allocations: 12.03 kB / 371.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.422e-05/0.5075, allocations: 23.72 kB / 371.9 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.5079, allocations: 231.3 kB / 372.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.5079, allocations: 8 kB / 372.1 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.508, allocations: 15.98 kB / 372.1 MB, free: 3.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004567/0.5085, allocations: 124.9 kB / 372.2 MB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.509, allocations: 189 kB / 372.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.509, allocations: 0 / 372.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.509, allocations: 4 kB / 372.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.5091, allocations: 4 kB / 372.4 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.5111, allocations: 0.8022 MB / 373.2 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.5115, allocations: 138.6 kB / 373.4 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.5118, allocations: 80.8 kB / 373.4 MB, free: 2.465 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.5119, allocations: 7.984 kB / 373.5 MB, free: 2.457 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.5119, allocations: 38.52 kB / 373.5 MB, free: 2.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 5.3e-06/0.5119, allocations: 4 kB / 373.5 MB, free: 2.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009588/0.5129, allocations: 198.4 kB / 373.7 MB, free: 2.203 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.513, allocations: 55.41 kB / 373.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.5132, allocations: 153.5 kB / 373.9 MB, free: 1.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.5132, allocations: 29.64 kB / 373.9 MB, free: 1.945 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.5134, allocations: 206.5 kB / 374.1 MB, free: 1.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.5135, allocations: 63.19 kB / 374.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.5135, allocations: 0 / 374.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5137, allocations: 318.8 kB / 374.5 MB, free: 1.355 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.5138, allocations: 44.36 kB / 374.5 MB, free: 1.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.514, allocations: 67.08 kB / 374.6 MB, free: 1.234 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.5143, allocations: 67.22 kB / 374.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5143, allocations: 4 kB / 374.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007619/0.5151, allocations: 210.3 kB / 374.9 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.5151, allocations: 4 kB / 374.9 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5152, allocations: 0 / 374.9 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000911/0.5161, allocations: 100.8 kB / 375 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.5164, allocations: 39.92 kB / 375 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008593/0.5173, allocations: 0.6303 MB / 375.7 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.5175, allocations: 15.88 kB / 375.7 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.5176, allocations: 4 kB / 375.7 MB, free: 136 kB / 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 0.0001313/0.5177, allocations: 112.7 kB / 375.8 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008363/0.5186, allocations: 205.8 kB / 376 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.5187, allocations: 23.81 kB / 376 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000713/0.5194, allocations: 204.4 kB / 376.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5194, allocations: 4 kB / 376.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5194, allocations: 0 / 376.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.5194, allocations: 7.922 kB / 376.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.5209, allocations: 0.551 MB / 376.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5209, allocations: 0 / 376.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.5212, allocations: 23.98 kB / 376.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008535/0.5221, allocations: 120.7 kB / 376.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.5221, allocations: 0 / 376.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008494/0.523, allocations: 0.6421 MB / 377.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.523, allocations: 3.984 kB / 377.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.524, allocations: 389.6 kB / 377.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.5242, allocations: 108.9 kB / 378 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.5243, allocations: 3.984 kB / 378 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.5246, allocations: 12.06 kB / 378.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.5246, allocations: 7.984 kB / 378.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.5247, allocations: 11.95 kB / 378.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001483/0.5248, allocations: 119.2 kB / 378.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.394e-06/0.5248, allocations: 4 kB / 378.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004533/0.5253, allocations: 59.78 kB / 378.3 MB, free: 13.4 MB / 330.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.001496/0.5268, allocations: 0.9955 MB / 379.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005259/0.5274, allocations: 135.9 kB / 379.4 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5274, allocations: 0 / 379.4 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.5276, allocations: 67.92 kB / 379.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.5281, allocations: 19.98 kB / 379.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.5297, allocations: 460.3 kB / 379.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.5302, allocations: 0.7477 MB / 380.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.5303, allocations: 59.42 kB / 380.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5304, allocations: 0 / 380.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.558/3.089, allocations: 3.924 MB / 384.7 MB, free: 6.898 MB / 330.7 MB