Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.585/2.585, allocations: 195 MB / 202.9 MB, free: 6.637 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.771e-05, allocations: 4.125 kB / 249.7 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4776/0.6028, allocations: 73.17 MB / 367.4 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.6032, allocations: 66.61 kB / 367.5 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02005/0.6233, allocations: 3.942 MB / 371.4 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6234, allocations: 3.875 kB / 371.4 MB, free: 22.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.6234, allocations: 7.812 kB / 371.4 MB, free: 22.56 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.001012/0.6244, allocations: 489.8 kB / 371.9 MB, free: 22.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.6245, allocations: 11.81 kB / 371.9 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.939e-05/0.6246, allocations: 46.58 kB / 372 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.459e-05/0.6247, allocations: 27.06 kB / 372 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.6251, allocations: 234.5 kB / 372.2 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.6251, allocations: 8.188 kB / 372.2 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.6252, allocations: 11.69 kB / 372.3 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000447/0.6256, allocations: 129.3 kB / 372.4 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.6261, allocations: 185.6 kB / 372.6 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.6261, allocations: 4 kB / 372.6 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.6262, allocations: 0 / 372.6 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.6262, allocations: 3.812 kB / 372.6 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.6283, allocations: 0.8027 MB / 373.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.6288, allocations: 134.7 kB / 373.5 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.6291, allocations: 82.61 kB / 373.6 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.6291, allocations: 3.875 kB / 373.6 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.6292, allocations: 37.89 kB / 373.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 3.767e-06/0.6292, allocations: 4 kB / 373.6 MB, free: 21.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001144/0.6303, allocations: 200.7 kB / 373.8 MB, free: 21.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.6304, allocations: 51.41 kB / 373.9 MB, free: 21.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.6306, allocations: 153.6 kB / 374 MB, free: 21.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.6307, allocations: 29.45 kB / 374.1 MB, free: 21.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.6308, allocations: 141 kB / 374.2 MB, free: 20.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.6309, allocations: 63.05 kB / 374.3 MB, free: 20.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.6309, allocations: 0 / 374.3 MB, free: 20.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.6311, allocations: 330.8 kB / 374.6 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.6312, allocations: 41.84 kB / 374.6 MB, free: 20.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.6314, allocations: 69.77 kB / 374.7 MB, free: 20.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.6318, allocations: 64.06 kB / 374.7 MB, free: 20.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6318, allocations: 1.312 kB / 374.7 MB, free: 20.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008986/0.6327, allocations: 219.3 kB / 375 MB, free: 20.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.6328, allocations: 5.969 kB / 375 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.6328, allocations: 3.406 kB / 375 MB, free: 20.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.6339, allocations: 109.2 kB / 375.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.6342, allocations: 32.41 kB / 375.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009944/0.6352, allocations: 0.6328 MB / 375.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.6355, allocations: 16.94 kB / 375.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.6356, allocations: 4.422 kB / 375.8 MB, free: 19.94 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 0.0001503/0.6358, allocations: 113.8 kB / 375.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.6358, allocations: 19.52 kB / 375.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008019/0.6367, allocations: 219.4 kB / 376.1 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.6367, allocations: 0 / 376.1 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6367, allocations: 2.438 kB / 376.1 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6367, allocations: 0 / 376.1 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.6382, allocations: 0.548 MB / 376.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.6382, allocations: 4.031 kB / 376.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.6386, allocations: 25.61 kB / 376.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009947/0.6396, allocations: 115.4 kB / 376.8 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.6396, allocations: 7.5 kB / 376.8 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000914/0.6405, allocations: 0.6338 MB / 377.4 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.6406, allocations: 0 / 377.4 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.6417, allocations: 397.8 kB / 377.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.6419, allocations: 108.6 kB / 377.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.642, allocations: 3.953 kB / 377.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.6423, allocations: 11.08 kB / 378 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.6423, allocations: 11.27 kB / 378 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.6424, allocations: 7.469 kB / 378 MB, free: 18.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.6425, allocations: 123.5 kB / 378.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6426, allocations: 0 / 378.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005558/0.6431, allocations: 58.41 kB / 378.1 MB, free: 18.52 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.001614/0.6448, allocations: 1.003 MB / 379.2 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005295/0.6453, allocations: 124.5 kB / 379.3 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.6453, allocations: 0 / 379.3 MB, free: 17.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.6456, allocations: 80.42 kB / 379.4 MB, free: 17.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.6461, allocations: 26.67 kB / 379.4 MB, free: 17.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.6476, allocations: 432.9 kB / 379.8 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.648, allocations: 0.7402 MB / 380.5 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.6481, allocations: 16.48 kB / 380.6 MB, free: 16.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.6483, allocations: 52.95 kB / 380.6 MB, free: 16.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6483, allocations: 3.938 kB / 380.6 MB, free: 16.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07398/0.7223, allocations: 3.813 MB / 384.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0009614/0.7233, allocations: 150.9 kB / 384.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.493/4.217, allocations: 0 / 384.6 MB, free: 15.52 MB / 314.7 MB "" Variables in the reference:time,Capacitor1.v,HeatCapacitor1.T Variables in the result:Capacitor1.C,Capacitor1.i,Capacitor1.n.i,Capacitor1.n.v,Capacitor1.p.i,Capacitor1.p.v,Capacitor1.v,G.p.i,G.p.v,HeatCapacitor1.C,HeatCapacitor1.T,HeatCapacitor1.der_T,HeatCapacitor1.port.Q_flow,HeatCapacitor1.port.T,HeatingDiode1.EG,HeatingDiode1.Ids,HeatingDiode1.LossPower,HeatingDiode1.Maxexp,HeatingDiode1.N,HeatingDiode1.R,HeatingDiode1.T,HeatingDiode1.TNOM,HeatingDiode1.T_heatPort,HeatingDiode1.XTI,HeatingDiode1.aux,HeatingDiode1.auxp,HeatingDiode1.heatPort.Q_flow,HeatingDiode1.heatPort.T,HeatingDiode1.htemp,HeatingDiode1.i,HeatingDiode1.id,HeatingDiode1.maxexp,HeatingDiode1.n.i,HeatingDiode1.n.v,HeatingDiode1.p.i,HeatingDiode1.p.v,HeatingDiode1.useHeatPort,HeatingDiode1.v,HeatingDiode1.vt_t,R.LossPower,R.R,R.R_actual,R.T,R.T_heatPort,R.T_ref,R.alpha,R.i,R.n.i,R.n.v,R.p.i,R.p.v,R.useHeatPort,R.v,SineVoltage1.V,SineVoltage1.freqHz,SineVoltage1.i,SineVoltage1.n.i,SineVoltage1.n.v,SineVoltage1.offset,SineVoltage1.p.i,SineVoltage1.p.v,SineVoltage1.phase,SineVoltage1.signalSource.amplitude,SineVoltage1.signalSource.freqHz,SineVoltage1.signalSource.offset,SineVoltage1.signalSource.phase,SineVoltage1.signalSource.startTime,SineVoltage1.signalSource.y,SineVoltage1.startTime,SineVoltage1.v,ThermalConductor1.G,ThermalConductor1.Q_flow,ThermalConductor1.dT,ThermalConductor1.port_a.Q_flow,ThermalConductor1.port_a.T,ThermalConductor1.port_b.Q_flow,ThermalConductor1.port_b.T,_D_cse1,_D_cse2,der(Capacitor1.v),der(HeatCapacitor1.T),time