Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmp",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.678/2.678, allocations: 195 MB / 202.9 MB, free: 6.637 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.117e-05, allocations: 4.125 kB / 249.8 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.161, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6253/0.7864, allocations: 73.67 MB / 367.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.7868, allocations: 75.14 kB / 368 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02793/0.8147, allocations: 5.068 MB / 373.1 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.8148, allocations: 7.875 kB / 373.1 MB, free: 22.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.8148, allocations: 3.938 kB / 373.1 MB, free: 22.53 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.001444/0.8163, allocations: 0.5414 MB / 373.6 MB, free: 22.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.8164, allocations: 7.75 kB / 373.6 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.919e-05/0.8165, allocations: 47.42 kB / 373.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.8166, allocations: 27.22 kB / 373.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.817, allocations: 267.5 kB / 374 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.8171, allocations: 11.41 kB / 374 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/0.8172, allocations: 11.62 kB / 374 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004955/0.8177, allocations: 127.7 kB / 374.1 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005094/0.8182, allocations: 160.5 kB / 374.3 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.8182, allocations: 7.938 kB / 374.3 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.8183, allocations: 3.875 kB / 374.3 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.8183, allocations: 3.875 kB / 374.3 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.8209, allocations: 0.8425 MB / 375.1 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.8214, allocations: 125.5 kB / 375.3 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.8216, allocations: 53.17 kB / 375.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.8217, allocations: 7.891 kB / 375.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.822, allocations: 121.5 kB / 375.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.146e-06/0.822, allocations: 3.938 kB / 375.4 MB, free: 21.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001188/0.8232, allocations: 209.3 kB / 375.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.8233, allocations: 106.7 kB / 375.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.8236, allocations: 209.6 kB / 376 MB, free: 20.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.8237, allocations: 25.7 kB / 376 MB, free: 20.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.8238, allocations: 177.9 kB / 376.1 MB, free: 20.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.8239, allocations: 41.41 kB / 376.2 MB, free: 20.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.8239, allocations: 0 / 376.2 MB, free: 20.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.8241, allocations: 332.7 kB / 376.5 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.8243, allocations: 52.23 kB / 376.6 MB, free: 20.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.8245, allocations: 106.6 kB / 376.7 MB, free: 20.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.8247, allocations: 51.42 kB / 376.7 MB, free: 20.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.8247, allocations: 0 / 376.7 MB, free: 20.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001275/0.826, allocations: 272.5 kB / 377 MB, free: 20.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.8261, allocations: 33.33 kB / 377 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.8261, allocations: 3.953 kB / 377 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009237/0.827, allocations: 94.58 kB / 377.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.8275, allocations: 54.67 kB / 377.2 MB, free: 20.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.8299, allocations: 1.414 MB / 378.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.8306, allocations: 45.25 kB / 378.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.8307, allocations: 7.625 kB / 378.6 MB, free: 19 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.0002201/0.8309, allocations: 119.2 kB / 378.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.831, allocations: 23.38 kB / 378.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.957e-05/0.8311, allocations: 26.5 kB / 378.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.8311, allocations: 7.828 kB / 378.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.8311, allocations: 0 / 378.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.8311, allocations: 0 / 378.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.8315, allocations: 236.6 kB / 379 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8315, allocations: 0 / 379 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.8318, allocations: 33.84 kB / 379.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008494/0.8327, allocations: 94.91 kB / 379.2 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.8327, allocations: 3.938 kB / 379.2 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.8352, allocations: 1.421 MB / 380.6 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.8352, allocations: 0 / 380.6 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.8363, allocations: 233.1 kB / 380.8 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.8364, allocations: 103.3 kB / 380.9 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.8365, allocations: 3.906 kB / 380.9 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.837, allocations: 34.16 kB / 381 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.8371, allocations: 24.2 kB / 381 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.8372, allocations: 3.938 kB / 381 MB, free: 17.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002809/0.8375, allocations: 160.5 kB / 381.1 MB, free: 17.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.8375, allocations: 0 / 381.1 MB, free: 17.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005637/0.8381, allocations: 62.12 kB / 381.2 MB, free: 17.17 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.001561/0.8396, allocations: 0.7883 MB / 382 MB, free: 16.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.8409, allocations: 304.3 kB / 382.3 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.841, allocations: 0 / 382.3 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.8416, allocations: 165.9 kB / 382.4 MB, free: 16.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.8421, allocations: 31.48 kB / 382.5 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.8433, allocations: 299.3 kB / 382.8 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.8437, allocations: 0.752 MB / 383.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.8439, allocations: 23.23 kB / 383.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.8441, allocations: 66.84 kB / 383.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.8441, allocations: 0 / 383.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06638/0.9105, allocations: 4.678 MB / 388.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0005366/0.9111, allocations: 156.6 kB / 388.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.457/4.369, allocations: 7.875 kB / 388.4 MB, free: 13.15 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