Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.542/2.542, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.776e-05, allocations: 5.5 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5099/0.6225, allocations: 73.69 MB / 368 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.6229, allocations: 79.95 kB / 368 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0286/0.6515, allocations: 5.091 MB / 373.1 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6516, allocations: 3.938 kB / 373.1 MB, free: 22.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.6516, allocations: 3.781 kB / 373.1 MB, free: 22.48 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.001376/0.653, allocations: 0.547 MB / 373.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.653, allocations: 12.94 kB / 373.7 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.676e-05/0.6531, allocations: 49.81 kB / 373.7 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.6533, allocations: 27.34 kB / 373.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.6537, allocations: 264.4 kB / 374 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.6538, allocations: 8.281 kB / 374 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.6539, allocations: 15.69 kB / 374.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000461/0.6543, allocations: 128.2 kB / 374.2 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.6548, allocations: 173.5 kB / 374.4 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.6549, allocations: 0 / 374.4 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/0.6549, allocations: 4 kB / 374.4 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.655, allocations: 3.844 kB / 374.4 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.6575, allocations: 0.8367 MB / 375.2 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.658, allocations: 127.9 kB / 375.3 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.6582, allocations: 53.48 kB / 375.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.6582, allocations: 3.953 kB / 375.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003229/0.6586, allocations: 123 kB / 375.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.008e-06/0.6586, allocations: 7.859 kB / 375.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001189/0.6598, allocations: 212.6 kB / 375.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.6599, allocations: 110 kB / 375.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.6602, allocations: 214.6 kB / 376 MB, free: 20.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.6603, allocations: 25.7 kB / 376.1 MB, free: 20.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.6604, allocations: 170.2 kB / 376.2 MB, free: 20.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.6605, allocations: 40.17 kB / 376.3 MB, free: 20.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.6605, allocations: 0 / 376.3 MB, free: 20.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6607, allocations: 335.8 kB / 376.6 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.6608, allocations: 49.11 kB / 376.6 MB, free: 20.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.6611, allocations: 111.3 kB / 376.7 MB, free: 20.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.6613, allocations: 55.27 kB / 376.8 MB, free: 20.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6613, allocations: 0 / 376.8 MB, free: 20.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001279/0.6626, allocations: 264.1 kB / 377.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.637e-05/0.6627, allocations: 33.36 kB / 377.1 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6627, allocations: 4.172 kB / 377.1 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009251/0.6637, allocations: 99.92 kB / 377.2 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.6641, allocations: 47.19 kB / 377.2 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.6668, allocations: 1.428 MB / 378.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.6675, allocations: 37.66 kB / 378.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.6676, allocations: 14.03 kB / 378.7 MB, free: 18.94 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: 7 * 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 (18): * Single equations (assignments): 16 * 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.0002217/0.6678, allocations: 104.8 kB / 378.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.6679, allocations: 27.53 kB / 378.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/0.668, allocations: 21.5 kB / 378.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.668, allocations: 7.859 kB / 378.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.668, allocations: 0 / 378.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.668, allocations: 0 / 378.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.6684, allocations: 243.3 kB / 379.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6684, allocations: 7.031 kB / 379.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.6687, allocations: 29.83 kB / 379.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008853/0.6696, allocations: 95.55 kB / 379.2 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.6697, allocations: 4 kB / 379.2 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/0.6722, allocations: 1.423 MB / 380.7 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.6723, allocations: 0 / 380.7 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.6735, allocations: 245.9 kB / 380.9 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.6736, allocations: 96.25 kB / 381 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.6737, allocations: 0 / 381 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.6742, allocations: 33.83 kB / 381 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.6744, allocations: 28.69 kB / 381.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.6744, allocations: 0 / 381.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000271/0.6747, allocations: 168.8 kB / 381.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6747, allocations: 0 / 381.2 MB, free: 17.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005591/0.6753, allocations: 62.38 kB / 381.3 MB, free: 17.11 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.00158/0.6769, allocations: 0.7873 MB / 382.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008132/0.6777, allocations: 294.2 kB / 382.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6778, allocations: 3.969 kB / 382.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.6782, allocations: 182 kB / 382.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.6786, allocations: 25.56 kB / 382.6 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.6798, allocations: 285.8 kB / 382.8 MB, free: 16.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.6803, allocations: 0.7514 MB / 383.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002255/0.6805, allocations: 23.14 kB / 383.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.6807, allocations: 70.12 kB / 383.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.472e-06/0.6807, allocations: 3.906 kB / 383.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06361/0.7443, allocations: 4.729 MB / 388.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003253/0.7447, allocations: 159 kB / 388.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.344/4.088, allocations: 4 kB / 388.6 MB, free: 13.06 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