Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.84e-05, allocations: 5.75 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.08956, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3554/0.445, allocations: 81.03 MB / 424.1 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.4453, allocations: 67.75 kB / 424.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03614/0.4815, allocations: 8.641 MB / 432.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.849e-06/0.4815, allocations: 0 / 432.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.519e-05/0.4815, allocations: 8 kB / 432.8 MB, free: 5.832 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001197/0.4828, allocations: 0.6182 MB / 433.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4828, allocations: 8.031 kB / 433.5 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.4829, allocations: 47.44 kB / 433.5 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.4834, allocations: 290 kB / 433.8 MB, free: 4.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.4835, allocations: 30.78 kB / 433.8 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.4836, allocations: 36.22 kB / 433.9 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.4843, allocations: 326 kB / 434.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.4844, allocations: 4 kB / 434.2 MB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/0.4844, allocations: 13.06 kB / 434.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.4844, allocations: 8 kB / 434.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.485, allocations: 216.5 kB / 434.4 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.4876, allocations: 1.182 MB / 435.6 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005968/0.4882, allocations: 247.3 kB / 435.8 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/0.4888, allocations: 192.3 kB / 436 MB, free: 3.094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.4898, allocations: 1.12 MB / 437.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.4899, allocations: 37.3 kB / 437.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.13e-06/0.4899, allocations: 0 / 437.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.000813/0.4907, allocations: 288.9 kB / 437.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.4908, allocations: 81.11 kB / 437.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.4913, allocations: 303.7 kB / 437.8 MB, free: 1.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.4913, allocations: 36.39 kB / 437.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.4915, allocations: 202.2 kB / 438.1 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.4916, allocations: 102.4 kB / 438.2 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.4917, allocations: 7.875 kB / 438.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4919, allocations: 348.5 kB / 438.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.4921, allocations: 84.56 kB / 438.6 MB, free: 456 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.4925, allocations: 172.6 kB / 438.8 MB, free: 296 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.4927, allocations: 113.3 kB / 438.9 MB, free: 220 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.555e-06/0.4928, allocations: 0 / 438.9 MB, free: 220 kB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009879/0.4938, allocations: 394.9 kB / 439.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4938, allocations: 11.94 kB / 439.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.279e-06/0.4938, allocations: 4 kB / 439.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.4942, allocations: 59.52 kB / 439.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.4946, allocations: 82.89 kB / 439.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.497, allocations: 1.756 MB / 441.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.4974, allocations: 46.09 kB / 441.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.4975, allocations: 15.05 kB / 441.2 MB, free: 14.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.4977, allocations: 123.2 kB / 441.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4978, allocations: 39.69 kB / 441.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/0.4986, allocations: 314.1 kB / 441.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.825e-06/0.4986, allocations: 0 / 441.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/0.4986, allocations: 7.984 kB / 441.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.989e-06/0.4986, allocations: 0 / 441.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.4993, allocations: 390.9 kB / 442.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.95e-06/0.4993, allocations: 0 / 442.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.4998, allocations: 63.91 kB / 442.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002811/0.5001, allocations: 62.5 kB / 442.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.5001, allocations: 7.203 kB / 442.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006047/0.5008, allocations: 0.6062 MB / 442.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.43e-06/0.5008, allocations: 3.938 kB / 442.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009985/0.5018, allocations: 500 kB / 443.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.502, allocations: 112 kB / 443.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.5021, allocations: 11.52 kB / 443.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.5024, allocations: 27.11 kB / 443.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.5025, allocations: 14.48 kB / 443.5 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.5026, allocations: 11.17 kB / 443.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003456/0.5029, allocations: 230.5 kB / 443.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.5029, allocations: 0 / 443.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006939/0.5036, allocations: 113.5 kB / 443.8 MB, free: 11.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002647/0.5039, allocations: 137.3 kB / 444 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008443/0.5048, allocations: 366.6 kB / 444.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.51e-06/0.5048, allocations: 0 / 444.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.5052, allocations: 123.3 kB / 444.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.5056, allocations: 39.83 kB / 444.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.507, allocations: 0.6765 MB / 445.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.5075, allocations: 0.7994 MB / 445.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.5077, allocations: 39.25 kB / 446 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.5079, allocations: 31.42 kB / 446 MB, free: 9.633 MB / 362.7 MB Notification: Performance of SimCode: time 1.469e-06/0.5079, allocations: 4 kB / 446 MB, free: 9.629 MB / 362.7 MB Notification: Performance of Templates: time 0.01141/0.5193, allocations: 3.549 MB / 449.6 MB, free: 6.102 MB / 362.7 MB "" Variables in the reference:time,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.v_in,opAmp.v_source,opAmp.x Variables in the result:constantVoltage.V,constantVoltage.p.v,constantVoltage.v,constantVoltage1.V,constantVoltage1.p.v,constantVoltage1.v,opAmp.Avcm_val,opAmp.Avd0,opAmp.Avd0_val,opAmp.CMRR,opAmp.Cin,opAmp.I1,opAmp.I2,opAmp.Ib,opAmp.Imaxsi,opAmp.Imaxsi_val,opAmp.Imaxso,opAmp.Imaxso_val,opAmp.Ios,opAmp.Rcm,opAmp.Rdm,opAmp.Rout,opAmp.Ts,opAmp.Vos,opAmp.fp1,opAmp.fp2,opAmp.fp3,opAmp.fp4,opAmp.fz,opAmp.m_supply.v,opAmp.p_supply.v,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.sr_m,opAmp.sr_m_val,opAmp.sr_p,opAmp.sr_p_val,opAmp.v_3,opAmp.v_in,opAmp.v_neg,opAmp.v_pos,opAmp.v_source,opAmp.v_vos,opAmp.vcm,opAmp.vcm_abs,opAmp.vcp,opAmp.vcp_abs,opAmp.x,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor1.R,resistor1.T,resistor1.T_heatPort,resistor1.T_ref,resistor1.alpha,resistor2.R,resistor2.T,resistor2.T_heatPort,resistor2.T_ref,resistor2.alpha,sineVoltage.V,sineVoltage.f,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.f,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time