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_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.644e-05, allocations: 4 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0767/0.07675, allocations: 44.5 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.41, allocations: 74.84 MB / 374.7 MB, free: 22.03 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4102, allocations: 70.83 kB / 374.8 MB, free: 22.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03404/0.4443, allocations: 8.3 MB / 383.1 MB, free: 21.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.058e-06/0.4443, allocations: 3.609 kB / 383.1 MB, free: 21.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.4443, allocations: 11.44 kB / 383.1 MB, free: 21.11 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001033/0.4454, allocations: 0.6171 MB / 383.7 MB, free: 20.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4454, allocations: 9.469 kB / 383.7 MB, free: 20.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.4456, allocations: 56.64 kB / 383.8 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.446, allocations: 297.8 kB / 384.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.446, allocations: 25.03 kB / 384.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.4461, allocations: 37.72 kB / 384.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.4468, allocations: 323.4 kB / 384.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.4468, allocations: 1.375 kB / 384.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.4469, allocations: 13.5 kB / 384.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4469, allocations: 8.25 kB / 384.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/0.4474, allocations: 202.2 kB / 384.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.4497, allocations: 1.191 MB / 385.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.4503, allocations: 242.6 kB / 386.1 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.4508, allocations: 194.8 kB / 386.3 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005589/0.4514, allocations: 1.122 MB / 387.4 MB, free: 18.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.4514, allocations: 36.16 kB / 387.5 MB, free: 18.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 3.461e-06/0.4514, allocations: 4 kB / 387.5 MB, free: 18.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007833/0.4522, allocations: 284.6 kB / 387.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.4523, allocations: 89.38 kB / 387.8 MB, free: 18.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.4527, allocations: 299.8 kB / 388.1 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.4527, allocations: 31.27 kB / 388.1 MB, free: 18.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.4529, allocations: 212.5 kB / 388.4 MB, free: 17.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/0.453, allocations: 110.7 kB / 388.5 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.453, allocations: 8.594 kB / 388.5 MB, free: 17.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.4531, allocations: 342.8 kB / 388.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.4534, allocations: 88.16 kB / 388.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.4537, allocations: 168.3 kB / 389.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.454, allocations: 116.3 kB / 389.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.954e-06/0.454, allocations: 0 / 389.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008896/0.4549, allocations: 390 kB / 389.5 MB, free: 17.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4549, allocations: 7.812 kB / 389.6 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4549, allocations: 3.906 kB / 389.6 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/0.4552, allocations: 73.47 kB / 389.6 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.4557, allocations: 76.42 kB / 389.7 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.4574, allocations: 1.754 MB / 391.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.4578, allocations: 50.42 kB / 391.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.4579, allocations: 7.812 kB / 391.5 MB, free: 16 MB / 314.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.0001122/0.458, allocations: 127.9 kB / 391.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.4581, allocations: 31.25 kB / 391.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006934/0.4588, allocations: 313.1 kB / 392 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.4588, allocations: 3.906 kB / 392 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.363e-06/0.4588, allocations: 0 / 392 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.619e-06/0.4589, allocations: 11.5 kB / 392 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.4594, allocations: 388.5 kB / 392.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4594, allocations: 0 / 392.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.4599, allocations: 63.27 kB / 392.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.4602, allocations: 62.92 kB / 392.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.4603, allocations: 11.05 kB / 392.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003841/0.4607, allocations: 0.6053 MB / 393.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.383e-06/0.4607, allocations: 2.859 kB / 393.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.4619, allocations: 493.9 kB / 393.6 MB, free: 30.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.4621, allocations: 137.8 kB / 393.7 MB, free: 30.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.4622, allocations: 7.344 kB / 393.7 MB, free: 30.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.4626, allocations: 33.38 kB / 393.8 MB, free: 30.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.4626, allocations: 17.61 kB / 393.8 MB, free: 30.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.4627, allocations: 11.31 kB / 393.8 MB, free: 30.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003089/0.463, allocations: 229 kB / 394 MB, free: 30.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.463, allocations: 0 / 394 MB, free: 30.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006144/0.4636, allocations: 113 kB / 394.1 MB, free: 30.66 MB / 330.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.0002341/0.4639, allocations: 141.3 kB / 394.3 MB, free: 30.56 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000774/0.4647, allocations: 369.2 kB / 394.6 MB, free: 30.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.528e-06/0.4647, allocations: 0 / 394.6 MB, free: 30.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.465, allocations: 132.1 kB / 394.8 MB, free: 30.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.4654, allocations: 37.78 kB / 394.8 MB, free: 30.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.4665, allocations: 0.6739 MB / 395.5 MB, free: 30.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.467, allocations: 0.8018 MB / 396.3 MB, free: 29.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.4672, allocations: 36.52 kB / 396.3 MB, free: 29.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.617e-05/0.4673, allocations: 23.06 kB / 396.3 MB, free: 29.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.534e-06/0.4674, allocations: 0 / 396.3 MB, free: 29.34 MB / 330.7 MB Notification: Performance of Templates: time 0.01003/0.4774, allocations: 3.557 MB / 399.9 MB, free: 29.06 MB / 330.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.freqHz,sineVoltage.offset,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.startTime,time