Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmp",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.644/2.644, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.189e-05, allocations: 3.984 kB / 249.8 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/0.6551, allocations: 73.65 MB / 367.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.6555, allocations: 76.38 kB / 368 MB, free: 6.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03066/0.6862, allocations: 5.069 MB / 373.1 MB, free: 22.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6862, allocations: 0 / 373.1 MB, free: 22.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.244e-05/0.6863, allocations: 11.78 kB / 373.1 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.001984/0.6883, allocations: 0.5336 MB / 373.6 MB, free: 21.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/0.6884, allocations: 8.797 kB / 373.6 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.6885, allocations: 47.84 kB / 373.7 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.6887, allocations: 27.19 kB / 373.7 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.6893, allocations: 267.9 kB / 374 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.6893, allocations: 12.09 kB / 374 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.6894, allocations: 14.77 kB / 374 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006963/0.6901, allocations: 136.3 kB / 374.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.6909, allocations: 162.7 kB / 374.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6909, allocations: 4 kB / 374.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.691, allocations: 0 / 374.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.6911, allocations: 3.875 kB / 374.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.6948, allocations: 0.8382 MB / 375.1 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.6955, allocations: 130.9 kB / 375.2 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.6958, allocations: 56.86 kB / 375.3 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.549e-05/0.6959, allocations: 10.27 kB / 375.3 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004498/0.6964, allocations: 115.8 kB / 375.4 MB, free: 20.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 5.811e-06/0.6964, allocations: 0 / 375.4 MB, free: 20.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001756/0.6982, allocations: 222.5 kB / 375.6 MB, free: 20.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.6983, allocations: 106.7 kB / 375.7 MB, free: 20.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.6988, allocations: 209.1 kB / 375.9 MB, free: 20.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.997e-05/0.6989, allocations: 28.7 kB / 376 MB, free: 20.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.6992, allocations: 177.8 kB / 376.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.6993, allocations: 40.59 kB / 376.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.6993, allocations: 0 / 376.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.6996, allocations: 333.8 kB / 376.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.6999, allocations: 55.89 kB / 376.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.7002, allocations: 123.6 kB / 376.7 MB, free: 20.1 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.7006, allocations: 56.81 kB / 376.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.7006, allocations: 0 / 376.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.002044/0.7027, allocations: 278.9 kB / 377 MB, free: 20.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.7028, allocations: 32.95 kB / 377.1 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.7028, allocations: 7.828 kB / 377.1 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.7043, allocations: 99.39 kB / 377.2 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/0.705, allocations: 39.47 kB / 377.2 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/0.709, allocations: 1.523 MB / 378.7 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009025/0.7099, allocations: 48.41 kB / 378.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/0.71, allocations: 10.84 kB / 378.8 MB, free: 18.66 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.0002749/0.7103, allocations: 118.6 kB / 378.9 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.7104, allocations: 27.11 kB / 378.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.7105, allocations: 21.77 kB / 378.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.7105, allocations: 3.906 kB / 378.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7106, allocations: 0 / 378.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.7106, allocations: 2.672 kB / 378.9 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.7111, allocations: 246.3 kB / 379.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.7111, allocations: 0 / 379.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/0.7116, allocations: 29.59 kB / 379.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.7128, allocations: 92.31 kB / 379.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.7129, allocations: 3.953 kB / 379.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003561/0.7165, allocations: 1.524 MB / 380.8 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.7165, allocations: 128 / 380.8 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.7181, allocations: 242.8 kB / 381.1 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.7183, allocations: 93.12 kB / 381.2 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.045e-05/0.7184, allocations: 0 / 381.2 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/0.7191, allocations: 41.8 kB / 381.2 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.7193, allocations: 18.31 kB / 381.2 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.7194, allocations: 6.125 kB / 381.2 MB, free: 16.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003657/0.7197, allocations: 170.3 kB / 381.4 MB, free: 16.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.7198, allocations: 0 / 381.4 MB, free: 16.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009324/0.7207, allocations: 62.09 kB / 381.5 MB, free: 16.76 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.00208/0.7228, allocations: 0.7913 MB / 382.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.7239, allocations: 301.6 kB / 382.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.7239, allocations: 0 / 382.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.7245, allocations: 187.4 kB / 382.7 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.0004707/0.725, allocations: 26.92 kB / 382.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.7287, allocations: 480.4 kB / 383.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.7292, allocations: 0.7506 MB / 384 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.7294, allocations: 28.42 kB / 384 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.7296, allocations: 66 kB / 384.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.512e-06/0.7296, allocations: 3.875 kB / 384.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05533/0.785, allocations: 4.706 MB / 388.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003032/0.7853, allocations: 164.4 kB / 388.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.445/4.231, allocations: 0 / 388.9 MB, free: 12.65 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,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