Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.696/2.696, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.775e-05/2.784e-05, allocations: 4.969 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 44.52 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4865/0.589, allocations: 73.69 MB / 368 MB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.5893, allocations: 78.75 kB / 368.1 MB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02846/0.6178, allocations: 5.091 MB / 373.1 MB, free: 22.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6179, allocations: 4 kB / 373.1 MB, free: 22.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.57e-05/0.6179, allocations: 7.719 kB / 373.2 MB, free: 22.3 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001386/0.6193, allocations: 0.548 MB / 373.7 MB, free: 21.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.906e-05/0.6194, allocations: 7.625 kB / 373.7 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.6196, allocations: 53.19 kB / 373.8 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.6197, allocations: 23.19 kB / 373.8 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.6201, allocations: 268.9 kB / 374 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.6202, allocations: 8.062 kB / 374.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.6203, allocations: 15.34 kB / 374.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004593/0.6207, allocations: 130 kB / 374.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.6212, allocations: 165.7 kB / 374.4 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.6213, allocations: 4 kB / 374.4 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.6213, allocations: 0 / 374.4 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6213, allocations: 3.906 kB / 374.4 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.6237, allocations: 0.8339 MB / 375.2 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.6242, allocations: 135.3 kB / 375.3 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.6244, allocations: 53.89 kB / 375.4 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.6245, allocations: 6.531 kB / 375.4 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.6248, allocations: 124.5 kB / 375.5 MB, free: 20.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.537e-06/0.6248, allocations: 0 / 375.5 MB, free: 20.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001139/0.626, allocations: 209.9 kB / 375.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.626, allocations: 106.7 kB / 375.8 MB, free: 20.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.6264, allocations: 227.5 kB / 376 MB, free: 20.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.6265, allocations: 25.7 kB / 376.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.6266, allocations: 176.7 kB / 376.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.6267, allocations: 44.44 kB / 376.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.6267, allocations: 0 / 376.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.6269, allocations: 332.3 kB / 376.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.6271, allocations: 54.67 kB / 376.7 MB, free: 20.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.6273, allocations: 123.2 kB / 376.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.6275, allocations: 60.66 kB / 376.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6275, allocations: 224 / 376.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001269/0.6288, allocations: 275.6 kB / 377.1 MB, free: 20.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/0.6289, allocations: 37.27 kB / 377.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6289, allocations: 3.953 kB / 377.2 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008986/0.6298, allocations: 101.2 kB / 377.3 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.6303, allocations: 44.97 kB / 377.3 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.633, allocations: 1.521 MB / 378.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/0.6337, allocations: 52.17 kB / 378.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.6337, allocations: 7.625 kB / 378.9 MB, free: 18.65 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002168/0.6339, allocations: 112.2 kB / 379 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.634, allocations: 26.7 kB / 379 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.526e-05/0.6341, allocations: 18.69 kB / 379 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.6341, allocations: 3.906 kB / 379 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6341, allocations: 0 / 379 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.6341, allocations: 6.812 kB / 379 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.6345, allocations: 252.9 kB / 379.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.6345, allocations: 0 / 379.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.6348, allocations: 28.77 kB / 379.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008641/0.6357, allocations: 98.17 kB / 379.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.6358, allocations: 7.859 kB / 379.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.6388, allocations: 1.515 MB / 380.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.6389, allocations: 0 / 380.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.6404, allocations: 236.8 kB / 381.2 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.6406, allocations: 99.27 kB / 381.3 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.6407, allocations: 7.438 kB / 381.3 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/0.6414, allocations: 32.53 kB / 381.3 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.6416, allocations: 21.59 kB / 381.3 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.6416, allocations: 3.906 kB / 381.3 MB, free: 16.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003665/0.642, allocations: 170.3 kB / 381.5 MB, free: 16.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.585e-06/0.6421, allocations: 0 / 381.5 MB, free: 16.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001095/0.6432, allocations: 69.72 kB / 381.6 MB, free: 16.75 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 ($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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002107/0.6453, allocations: 0.7868 MB / 382.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.6464, allocations: 299.8 kB / 382.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.6465, allocations: 0 / 382.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.647, allocations: 180.5 kB / 382.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.6477, allocations: 30.92 kB / 382.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.6527, allocations: 488.8 kB / 383.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.6534, allocations: 0.7527 MB / 384.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.6537, allocations: 20.44 kB / 384.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.654, allocations: 77.66 kB / 384.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of SimCode: time 1.483e-06/0.654, allocations: 0 / 384.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05122/0.7053, allocations: 4.755 MB / 388.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002261/0.7056, allocations: 166.1 kB / 389.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.425/4.131, allocations: 0 / 389.1 MB, free: 12.59 MB / 314.7 MB "" Variables in the reference:time,opAmp.out.v,opAmp.out.i Variables in the result:R1,R2,Vin,Vns,Vps,_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,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,time,vHys,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