Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_Comparator",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.599/2.599, allocations: 195 MB / 202.9 MB, free: 6.633 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.779e-05/3.799e-05, allocations: 4.812 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/0.5876, allocations: 74.64 MB / 368.9 MB, free: 7.258 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.588, allocations: 78.33 kB / 369 MB, free: 7.258 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03009/0.6181, allocations: 5.52 MB / 374.5 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6181, allocations: 0 / 374.5 MB, free: 22.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.421e-05/0.6182, allocations: 7.781 kB / 374.5 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001555/0.6197, allocations: 0.578 MB / 375.1 MB, free: 22.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.6198, allocations: 8.953 kB / 375.1 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.7e-05/0.6199, allocations: 46.91 kB / 375.2 MB, free: 22.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.62, allocations: 37.25 kB / 375.2 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.6205, allocations: 280.6 kB / 375.5 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.6206, allocations: 12.19 kB / 375.5 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.6207, allocations: 15.75 kB / 375.5 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000556/0.6212, allocations: 160.2 kB / 375.7 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.6219, allocations: 198.3 kB / 375.8 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.6219, allocations: 3.938 kB / 375.8 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.622, allocations: 0 / 375.8 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.622, allocations: 7.656 kB / 375.9 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/0.6249, allocations: 1.028 MB / 376.9 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.6254, allocations: 99.02 kB / 377 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.6255, allocations: 41.77 kB / 377 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.6256, allocations: 0 / 377 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.6259, allocations: 114.8 kB / 377.1 MB, free: 21.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/0.6259, allocations: 0 / 377.1 MB, free: 21.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005431/0.6265, allocations: 132.5 kB / 377.3 MB, free: 21.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.6265, allocations: 84.64 kB / 377.3 MB, free: 21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.6269, allocations: 232.7 kB / 377.6 MB, free: 20.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.627, allocations: 25.7 kB / 377.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.6271, allocations: 207 kB / 377.8 MB, free: 20.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.6272, allocations: 35.91 kB / 377.8 MB, free: 20.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.6272, allocations: 3.656 kB / 377.8 MB, free: 20.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6274, allocations: 332.3 kB / 378.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.6276, allocations: 52.03 kB / 378.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.6278, allocations: 154.2 kB / 378.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.628, allocations: 57.48 kB / 378.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.628, allocations: 0 / 378.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008507/0.6289, allocations: 259.2 kB / 378.7 MB, free: 20.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.002e-05/0.629, allocations: 33.36 kB / 378.7 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.629, allocations: 7.812 kB / 378.7 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.6293, allocations: 28.36 kB / 378.7 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.6299, allocations: 66.25 kB / 378.8 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.6314, allocations: 1.252 MB / 380.1 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007108/0.6322, allocations: 44.05 kB / 380.1 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.6322, allocations: 11.56 kB / 380.1 MB, free: 18.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.6324, allocations: 121.9 kB / 380.2 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.6325, allocations: 23.45 kB / 380.3 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.841e-05/0.6326, allocations: 23.45 kB / 380.3 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.6326, allocations: 10.48 kB / 380.3 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6326, allocations: 0 / 380.3 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.6326, allocations: 0 / 380.3 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006542/0.6333, allocations: 398.2 kB / 380.7 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6333, allocations: 0 / 380.7 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.6337, allocations: 44.52 kB / 380.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/0.6339, allocations: 22.98 kB / 380.7 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.6339, allocations: 3.844 kB / 380.7 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.6353, allocations: 1.243 MB / 382 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.6353, allocations: 0 / 382 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.6358, allocations: 187 kB / 382.2 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.636, allocations: 95.06 kB / 382.3 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/0.636, allocations: 7.312 kB / 382.3 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.6365, allocations: 22.16 kB / 382.3 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.6367, allocations: 22.55 kB / 382.3 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.6367, allocations: 0 / 382.3 MB, free: 17.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003051/0.637, allocations: 185.5 kB / 382.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.637, allocations: 0 / 382.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006628/0.6377, allocations: 69.78 kB / 382.6 MB, free: 16.92 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009136/0.6386, allocations: 0.7898 MB / 383.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007771/0.6394, allocations: 293.3 kB / 383.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.6395, allocations: 3.938 kB / 383.6 MB, free: 16.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.6399, allocations: 163.7 kB / 383.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.6403, allocations: 35.28 kB / 383.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.6417, allocations: 320 kB / 384.2 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.6421, allocations: 0.7586 MB / 384.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002638/0.6424, allocations: 29.62 kB / 384.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.6426, allocations: 82.75 kB / 385 MB, free: 14.9 MB / 314.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6426, allocations: 0 / 385 MB, free: 14.9 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06282/0.7055, allocations: 4.406 MB / 389.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003292/0.7059, allocations: 158.3 kB / 389.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.289/3.995, allocations: 0 / 389.6 MB, free: 12.62 MB / 314.7 MB "" Variables in the reference:time,opAmp.out.v,opAmp.out.i Variables in the result:R,Vin,Vns,Vps,Vref,_D_whenCondition1,f,ground.p.i,ground.p.v,k,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.useSupply,opAmp.v_in,opAmp.v_out,opAmp.vns,opAmp.vps,potentiometer.LossPower,potentiometer.R,potentiometer.Rn,potentiometer.Rp,potentiometer.T,potentiometer.T_heatPort,potentiometer.T_ref,potentiometer.alpha,potentiometer.contact.i,potentiometer.contact.v,potentiometer.pin_n.i,potentiometer.pin_n.v,potentiometer.pin_p.i,potentiometer.pin_p.v,potentiometer.rConst.k,potentiometer.rConst.y,potentiometer.rConstant,potentiometer.rInt,potentiometer.useHeatPort,potentiometer.useRinput,supplyVoltage.Vns,supplyVoltage.Vps,supplyVoltage.ground.i,supplyVoltage.ground.v,supplyVoltage.negativeSupply.V,supplyVoltage.negativeSupply.i,supplyVoltage.negativeSupply.n.i,supplyVoltage.negativeSupply.n.v,supplyVoltage.negativeSupply.p.i,supplyVoltage.negativeSupply.p.v,supplyVoltage.negativeSupply.v,supplyVoltage.pin_n.i,supplyVoltage.pin_n.v,supplyVoltage.pin_p.i,supplyVoltage.pin_p.v,supplyVoltage.positiveSupply.V,supplyVoltage.positiveSupply.i,supplyVoltage.positiveSupply.n.i,supplyVoltage.positiveSupply.n.v,supplyVoltage.positiveSupply.p.i,supplyVoltage.positiveSupply.p.v,supplyVoltage.positiveSupply.v,time,vIn.V,vIn.falling,vIn.i,vIn.n.i,vIn.n.v,vIn.nperiod,vIn.offset,vIn.p.i,vIn.p.v,vIn.period,vIn.rising,vIn.signalSource.T_falling,vIn.signalSource.T_rising,vIn.signalSource.T_start,vIn.signalSource.T_width,vIn.signalSource.amplitude,vIn.signalSource.count,vIn.signalSource.falling,vIn.signalSource.nperiod,vIn.signalSource.offset,vIn.signalSource.period,vIn.signalSource.rising,vIn.signalSource.startTime,vIn.signalSource.width,vIn.signalSource.y,vIn.startTime,vIn.v,vIn.width,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v