Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.624/2.624, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.931e-05/2.941e-05, allocations: 4.688 kB / 249.7 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4987/0.6201, allocations: 72.39 MB / 366.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.6204, allocations: 71.91 kB / 366.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02957/0.65, allocations: 6.152 MB / 372.9 MB, free: 22.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.65, allocations: 0 / 372.9 MB, free: 22.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.071e-05/0.6501, allocations: 7.594 kB / 372.9 MB, free: 22.1 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001415/0.6515, allocations: 0.6175 MB / 373.5 MB, free: 21.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.6516, allocations: 7.75 kB / 373.5 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.499e-05/0.6517, allocations: 57.22 kB / 373.6 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.6518, allocations: 50.77 kB / 373.6 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.6523, allocations: 296.4 kB / 373.9 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.6524, allocations: 17.45 kB / 373.9 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.6524, allocations: 15.5 kB / 373.9 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006843/0.6531, allocations: 211.4 kB / 374.1 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007459/0.6539, allocations: 290 kB / 374.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.6539, allocations: 0 / 374.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.654, allocations: 0 / 374.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.654, allocations: 11.34 kB / 374.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.6571, allocations: 1.367 MB / 375.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.6577, allocations: 201.8 kB / 376 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.6579, allocations: 90.03 kB / 376.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.658, allocations: 3.969 kB / 376.1 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.658, allocations: 33.94 kB / 376.1 MB, free: 20.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 3.577e-06/0.658, allocations: 3.938 kB / 376.1 MB, free: 20.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007738/0.6588, allocations: 241.8 kB / 376.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.6589, allocations: 51.41 kB / 376.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.6593, allocations: 247.3 kB / 376.7 MB, free: 20.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.6593, allocations: 29.55 kB / 376.7 MB, free: 20.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.6595, allocations: 213.5 kB / 376.9 MB, free: 20 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.6596, allocations: 68.17 kB / 377 MB, free: 19.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.6596, allocations: 0 / 377 MB, free: 19.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.6598, allocations: 341.2 kB / 377.3 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.66, allocations: 55.72 kB / 377.3 MB, free: 19.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.6602, allocations: 105.5 kB / 377.4 MB, free: 19.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.6605, allocations: 63.28 kB / 377.5 MB, free: 19.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6605, allocations: 3.938 kB / 377.5 MB, free: 19.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001031/0.6615, allocations: 308.8 kB / 377.8 MB, free: 19.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.6616, allocations: 7.906 kB / 377.8 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.6616, allocations: 0 / 377.8 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006621/0.6623, allocations: 110.8 kB / 377.9 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/0.6626, allocations: 40.31 kB / 378 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005307/0.668, allocations: 4.264 MB / 382.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.6685, allocations: 24.14 kB / 382.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.6686, allocations: 11.7 kB / 382.3 MB, free: 15.58 MB / 314.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: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.6687, allocations: 118.6 kB / 382.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/0.6688, allocations: 31.12 kB / 382.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.669, allocations: 31.06 kB / 382.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.669, allocations: 3.812 kB / 382.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.669, allocations: 0 / 382.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.669, allocations: 1.969 kB / 382.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.6696, allocations: 321.8 kB / 382.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6696, allocations: 3.906 kB / 382.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.6699, allocations: 22.78 kB / 382.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006354/0.6706, allocations: 116.4 kB / 382.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.6706, allocations: 0 / 382.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005408/0.676, allocations: 4.264 MB / 387.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.6761, allocations: 144 / 387.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/0.6769, allocations: 346.7 kB / 387.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.6771, allocations: 130.3 kB / 387.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.6772, allocations: 64 / 387.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.6777, allocations: 24.16 kB / 387.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.6778, allocations: 27.75 kB / 387.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.6779, allocations: 6.391 kB / 387.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003146/0.6782, allocations: 187.5 kB / 387.9 MB, free: 11 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6782, allocations: 0 / 387.9 MB, free: 11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001041/0.6793, allocations: 108.7 kB / 388 MB, free: 10.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/0.6805, allocations: 0.8878 MB / 388.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.6816, allocations: 0.5063 MB / 389.4 MB, free: 9.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6816, allocations: 0 / 389.4 MB, free: 9.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.6823, allocations: 437.7 kB / 389.8 MB, free: 9.621 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.6829, allocations: 39.36 kB / 389.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.6846, allocations: 455.2 kB / 390.3 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.6851, allocations: 0.8074 MB / 391.1 MB, free: 8.691 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.6853, allocations: 20 kB / 391.1 MB, free: 8.688 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.6856, allocations: 108 kB / 391.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6856, allocations: 0 / 391.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/0.807, allocations: 6.742 MB / 398 MB, free: 5.449 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000321/0.8074, allocations: 156.6 kB / 398.1 MB, free: 5.258 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.416/4.223, allocations: 0 / 398.1 MB, free: 5.258 MB / 314.7 MB "" Variables in the reference:time,Ideal.v,With_Ron_Goff.v,With_Ron_Goff_Vknee.v Variables in the result:Ground1.p.i,Ground1.p.v,Ideal.Goff,Ideal.LossPower,Ideal.Ron,Ideal.T,Ideal.T_heatPort,Ideal.Vknee,Ideal.i,Ideal.n.i,Ideal.n.v,Ideal.off,Ideal.p.i,Ideal.p.v,Ideal.s,Ideal.useHeatPort,Ideal.v,R1.LossPower,R1.R,R1.R_actual,R1.T,R1.T_heatPort,R1.T_ref,R1.alpha,R1.i,R1.n.i,R1.n.v,R1.p.i,R1.p.v,R1.useHeatPort,R1.v,R2.LossPower,R2.R,R2.R_actual,R2.T,R2.T_heatPort,R2.T_ref,R2.alpha,R2.i,R2.n.i,R2.n.v,R2.p.i,R2.p.v,R2.useHeatPort,R2.v,R3.LossPower,R3.R,R3.R_actual,R3.T,R3.T_heatPort,R3.T_ref,R3.alpha,R3.i,R3.n.i,R3.n.v,R3.p.i,R3.p.v,R3.useHeatPort,R3.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,SineVoltage2.V,SineVoltage2.freqHz,SineVoltage2.i,SineVoltage2.n.i,SineVoltage2.n.v,SineVoltage2.offset,SineVoltage2.p.i,SineVoltage2.p.v,SineVoltage2.phase,SineVoltage2.signalSource.amplitude,SineVoltage2.signalSource.freqHz,SineVoltage2.signalSource.offset,SineVoltage2.signalSource.phase,SineVoltage2.signalSource.startTime,SineVoltage2.signalSource.y,SineVoltage2.startTime,SineVoltage2.v,SineVoltage3.V,SineVoltage3.freqHz,SineVoltage3.i,SineVoltage3.n.i,SineVoltage3.n.v,SineVoltage3.offset,SineVoltage3.p.i,SineVoltage3.p.v,SineVoltage3.phase,SineVoltage3.signalSource.amplitude,SineVoltage3.signalSource.freqHz,SineVoltage3.signalSource.offset,SineVoltage3.signalSource.phase,SineVoltage3.signalSource.startTime,SineVoltage3.signalSource.y,SineVoltage3.startTime,SineVoltage3.v,With_Ron_Goff.Goff,With_Ron_Goff.LossPower,With_Ron_Goff.Ron,With_Ron_Goff.T,With_Ron_Goff.T_heatPort,With_Ron_Goff.Vknee,With_Ron_Goff.i,With_Ron_Goff.n.i,With_Ron_Goff.n.v,With_Ron_Goff.off,With_Ron_Goff.p.i,With_Ron_Goff.p.v,With_Ron_Goff.s,With_Ron_Goff.useHeatPort,With_Ron_Goff.v,With_Ron_Goff_Vknee.Goff,With_Ron_Goff_Vknee.LossPower,With_Ron_Goff_Vknee.Ron,With_Ron_Goff_Vknee.T,With_Ron_Goff_Vknee.T_heatPort,With_Ron_Goff_Vknee.Vknee,With_Ron_Goff_Vknee.i,With_Ron_Goff_Vknee.n.i,With_Ron_Goff_Vknee.n.v,With_Ron_Goff_Vknee.off,With_Ron_Goff_Vknee.p.i,With_Ron_Goff_Vknee.p.v,With_Ron_Goff_Vknee.s,With_Ron_Goff_Vknee.useHeatPort,With_Ron_Goff_Vknee.v,time