Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.833/2.833, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.677e-05, allocations: 2.156 kB / 249.7 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.514/0.6242, allocations: 73.23 MB / 367.5 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.6246, allocations: 68.17 kB / 367.6 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02008/0.6447, allocations: 3.757 MB / 371.3 MB, free: 22.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6447, allocations: 0 / 371.3 MB, free: 22.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.6448, allocations: 3.875 kB / 371.3 MB, free: 22.62 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001201/0.646, allocations: 0.4934 MB / 371.8 MB, free: 22.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.6461, allocations: 8.875 kB / 371.8 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.6462, allocations: 53.47 kB / 371.9 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.6464, allocations: 25 kB / 371.9 MB, free: 22.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.6467, allocations: 238.7 kB / 372.1 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.6468, allocations: 8.344 kB / 372.1 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.6468, allocations: 13.09 kB / 372.2 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004789/0.6473, allocations: 116.6 kB / 372.3 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.6479, allocations: 175.6 kB / 372.4 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.6479, allocations: 0 / 372.4 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.6479, allocations: 0 / 372.4 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.648, allocations: 7.75 kB / 372.4 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.6499, allocations: 0.7782 MB / 373.2 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.6505, allocations: 144.2 kB / 373.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.6507, allocations: 61.92 kB / 373.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.6507, allocations: 5.594 kB / 373.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.6507, allocations: 30.56 kB / 373.5 MB, free: 21.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.685e-06/0.6508, allocations: 0 / 373.5 MB, free: 21.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006001/0.6514, allocations: 145 kB / 373.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.6514, allocations: 51.41 kB / 373.7 MB, free: 21.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.6516, allocations: 145.1 kB / 373.8 MB, free: 21.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.6516, allocations: 29.61 kB / 373.8 MB, free: 21.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.6518, allocations: 141.2 kB / 374 MB, free: 21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.6518, allocations: 55.66 kB / 374 MB, free: 20.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.6519, allocations: 0 / 374 MB, free: 20.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.652, allocations: 328.2 kB / 374.3 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.6521, allocations: 37.75 kB / 374.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.6523, allocations: 74.33 kB / 374.4 MB, free: 20.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.6524, allocations: 31.31 kB / 374.5 MB, free: 20.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6525, allocations: 3.875 kB / 374.5 MB, free: 20.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005381/0.653, allocations: 170.3 kB / 374.6 MB, free: 20.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.6531, allocations: 8.922 kB / 374.7 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6531, allocations: 4.094 kB / 374.7 MB, free: 20.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/0.6534, allocations: 29.02 kB / 374.7 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.6537, allocations: 38.08 kB / 374.7 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.6555, allocations: 1.306 MB / 376 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.656, allocations: 30.95 kB / 376.1 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.656, allocations: 7.375 kB / 376.1 MB, free: 19.31 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.6562, allocations: 120.6 kB / 376.2 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.6563, allocations: 11.66 kB / 376.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.6563, allocations: 20.03 kB / 376.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6564, allocations: 4 kB / 376.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6564, allocations: 3.938 kB / 376.2 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.6564, allocations: 3.953 kB / 376.2 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009765/0.6574, allocations: 448.6 kB / 376.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6574, allocations: 7.844 kB / 376.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.6578, allocations: 25.86 kB / 376.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.658, allocations: 36.83 kB / 376.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.658, allocations: 0 / 376.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.6597, allocations: 1.299 MB / 378 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6597, allocations: 0 / 378 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/0.6604, allocations: 299.1 kB / 378.3 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.6606, allocations: 110.5 kB / 378.4 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.6607, allocations: 3.875 kB / 378.4 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.6611, allocations: 23 kB / 378.5 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.6612, allocations: 15.3 kB / 378.5 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.6613, allocations: 7.688 kB / 378.5 MB, free: 17.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.6614, allocations: 115.1 kB / 378.6 MB, free: 17.31 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6614, allocations: 0 / 378.6 MB, free: 17.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005582/0.662, allocations: 50.34 kB / 378.6 MB, free: 17.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.6632, allocations: 0.8423 MB / 379.5 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005798/0.6638, allocations: 213 kB / 379.7 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6638, allocations: 0 / 379.7 MB, free: 16.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.6642, allocations: 173.8 kB / 379.9 MB, free: 16.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.6646, allocations: 18.48 kB / 379.9 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.6658, allocations: 341.6 kB / 380.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.6663, allocations: 0.7409 MB / 381 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.6665, allocations: 12 kB / 381 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.6666, allocations: 52.81 kB / 381 MB, free: 15.47 MB / 314.7 MB Notification: Performance of SimCode: time 1.213e-06/0.6667, allocations: 0 / 381 MB, free: 15.47 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05894/0.7256, allocations: 3.314 MB / 384.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004355/0.7261, allocations: 158.4 kB / 384.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.583/4.31, allocations: 3.938 kB / 384.5 MB, free: 14.64 MB / 314.7 MB "" Variables in the reference:time,heatCapacitor.T,onOffController.y Variables in the result:TAmb,TDif,TRes,_D_outputAlias_TRes,constantVoltage.V,constantVoltage.i,constantVoltage.n.i,constantVoltage.n.v,constantVoltage.p.i,constantVoltage.p.v,constantVoltage.v,der(heatCapacitor.T),fixedTemperature.T,fixedTemperature.port.Q_flow,fixedTemperature.port.T,ground.p.i,ground.p.v,heatCapacitor.C,heatCapacitor.T,heatCapacitor.der_T,heatCapacitor.port.Q_flow,heatCapacitor.port.T,heatingResistor.LossPower,heatingResistor.R,heatingResistor.R_ref,heatingResistor.T,heatingResistor.T_heatPort,heatingResistor.T_ref,heatingResistor.alpha,heatingResistor.heatPort.Q_flow,heatingResistor.heatPort.T,heatingResistor.i,heatingResistor.n.i,heatingResistor.n.v,heatingResistor.p.i,heatingResistor.p.v,heatingResistor.useHeatPort,heatingResistor.v,idealSwitch.Goff,idealSwitch.LossPower,idealSwitch.Ron,idealSwitch.T,idealSwitch.T_heatPort,idealSwitch.control,idealSwitch.i,idealSwitch.n.i,idealSwitch.n.v,idealSwitch.off,idealSwitch.p.i,idealSwitch.p.v,idealSwitch.s,idealSwitch.useHeatPort,idealSwitch.v,logicalNot.u,logicalNot.y,onOffController.bandwidth,onOffController.pre_y_start,onOffController.reference,onOffController.u,onOffController.y,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,temperatureSensor.T,temperatureSensor.port.Q_flow,temperatureSensor.port.T,thermalConductor.G,thermalConductor.Q_flow,thermalConductor.dT,thermalConductor.port_a.Q_flow,thermalConductor.port_a.T,thermalConductor.port_b.Q_flow,thermalConductor.port_b.T,time