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_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 2.165/2.165, allocations: 225.8 MB / 238.9 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.879e-05, allocations: 0 / 292.1 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.08953, allocations: 50.41 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3559/0.4454, allocations: 81.04 MB / 423.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.4457, allocations: 66.22 kB / 423.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04808/0.4938, allocations: 8.644 MB / 432.3 MB, free: 5.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.12e-06/0.4939, allocations: 0 / 432.3 MB, free: 5.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.615e-05/0.4939, allocations: 8 kB / 432.3 MB, free: 5.785 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.00196/0.4959, allocations: 0.6117 MB / 432.9 MB, free: 5.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.496, allocations: 8.031 kB / 432.9 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.4962, allocations: 47.44 kB / 433 MB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/0.497, allocations: 297.6 kB / 433.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.4971, allocations: 26.72 kB / 433.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.4972, allocations: 34.47 kB / 433.3 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.4985, allocations: 327.1 kB / 433.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.4985, allocations: 0 / 433.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.4986, allocations: 14.12 kB / 433.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.4987, allocations: 11.94 kB / 433.7 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009354/0.4996, allocations: 208.2 kB / 433.9 MB, free: 4.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004423/0.5041, allocations: 1.187 MB / 435.1 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.5051, allocations: 238.1 kB / 435.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000879/0.506, allocations: 189.6 kB / 435.5 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.5076, allocations: 1.124 MB / 436.6 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.5077, allocations: 38.23 kB / 436.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 5.271e-06/0.5078, allocations: 0 / 436.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001379/0.5091, allocations: 287.1 kB / 436.9 MB, free: 1.422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.5093, allocations: 81.11 kB / 437 MB, free: 1.324 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/0.51, allocations: 299.5 kB / 437.3 MB, free: 1.078 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.5101, allocations: 36.27 kB / 437.3 MB, free: 1.043 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5104, allocations: 209.5 kB / 437.5 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.5106, allocations: 101 kB / 437.6 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.5107, allocations: 14.12 kB / 437.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002535/0.511, allocations: 345.2 kB / 438 MB, free: 468 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.5114, allocations: 87.19 kB / 438.1 MB, free: 412 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.512, allocations: 169.2 kB / 438.2 MB, free: 256 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.5125, allocations: 103.5 kB / 438.3 MB, free: 188 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.5125, allocations: 4 kB / 438.3 MB, free: 184 kB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001726/0.5143, allocations: 393.3 kB / 438.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.5143, allocations: 7.953 kB / 438.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.5144, allocations: 7.984 kB / 438.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/0.5149, allocations: 68.39 kB / 438.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.5158, allocations: 78.95 kB / 438.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/0.5196, allocations: 1.76 MB / 440.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.5203, allocations: 50.38 kB / 440.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/0.5204, allocations: 19.98 kB / 440.7 MB, free: 13.98 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.0002317/0.5207, allocations: 123.6 kB / 440.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.5209, allocations: 35.62 kB / 440.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.5222, allocations: 317.2 kB / 441.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/0.5223, allocations: 0 / 441.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.344e-06/0.5223, allocations: 192 / 441.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.5223, allocations: 4 kB / 441.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.5234, allocations: 394.5 kB / 441.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.5234, allocations: 0 / 441.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008977/0.5243, allocations: 59.84 kB / 441.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.5248, allocations: 63.5 kB / 441.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/0.5249, allocations: 11.27 kB / 441.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009026/0.5258, allocations: 0.5981 MB / 442.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.05e-06/0.5259, allocations: 0 / 442.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.5276, allocations: 0.496 MB / 442.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.5278, allocations: 112.5 kB / 442.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.528, allocations: 7.266 kB / 442.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006692/0.5287, allocations: 27.48 kB / 442.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.5288, allocations: 15.92 kB / 443 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.5289, allocations: 11.98 kB / 443 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005673/0.5295, allocations: 233 kB / 443.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.399e-06/0.5295, allocations: 0 / 443.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001147/0.5307, allocations: 111 kB / 443.3 MB, free: 11.67 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.0003755/0.5311, allocations: 129.9 kB / 443.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.5325, allocations: 371.8 kB / 443.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.5326, allocations: 0 / 443.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.5332, allocations: 122.2 kB / 443.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.5339, allocations: 34.83 kB / 443.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.5363, allocations: 0.6899 MB / 444.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/0.537, allocations: 0.7994 MB / 445.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003923/0.5374, allocations: 30.97 kB / 445.5 MB, free: 9.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.5376, allocations: 31.42 kB / 445.5 MB, free: 9.59 MB / 362.7 MB Notification: Performance of SimCode: time 2.133e-06/0.5377, allocations: 0 / 445.5 MB, free: 9.59 MB / 362.7 MB Notification: Performance of Templates: time 0.01968/0.5574, allocations: 3.546 MB / 449 MB, free: 6.066 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