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_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.022e-05/5.056e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2811, allocations: 44.49 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.412, allocations: 74.16 MB / 368.3 MB, free: 7.832 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.4123, allocations: 71.89 kB / 368.3 MB, free: 7.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04022/0.4526, allocations: 8.231 MB / 376.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.846e-06/0.4526, allocations: 0 / 376.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.4526, allocations: 11.94 kB / 376.6 MB, free: 15.49 MB / 330.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.00125/0.4539, allocations: 0.6275 MB / 377.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.454, allocations: 8.031 kB / 377.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.4541, allocations: 55.33 kB / 377.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.4546, allocations: 294.3 kB / 377.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.4547, allocations: 8 kB / 377.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.558e-05/0.4548, allocations: 23.91 kB / 377.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005589/0.4553, allocations: 189.5 kB / 377.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.4565, allocations: 281.4 kB / 378.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.4566, allocations: 0 / 378.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.4567, allocations: 4 kB / 378.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.4567, allocations: 8 kB / 378.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002813/0.4596, allocations: 1.121 MB / 379.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.4602, allocations: 225.7 kB / 379.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.4607, allocations: 190 kB / 379.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.4618, allocations: 1.125 MB / 380.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.4619, allocations: 38.73 kB / 380.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 3.058e-06/0.4619, allocations: 0 / 380.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0008558/0.4628, allocations: 265.5 kB / 381 MB, free: 10.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.4628, allocations: 81.09 kB / 381.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005834/0.4634, allocations: 242.4 kB / 381.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.4635, allocations: 25.7 kB / 381.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.4639, allocations: 278.6 kB / 381.6 MB, free: 9.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.4641, allocations: 98.55 kB / 381.7 MB, free: 9.871 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.4641, allocations: 0 / 381.7 MB, free: 9.871 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.4644, allocations: 322.8 kB / 382 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.4648, allocations: 84.75 kB / 382.1 MB, free: 9.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.4651, allocations: 161.4 kB / 382.3 MB, free: 9.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.4654, allocations: 99.95 kB / 382.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.647e-06/0.4655, allocations: 0 / 382.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009698/0.4664, allocations: 349.3 kB / 382.7 MB, free: 8.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4665, allocations: 4 kB / 382.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4665, allocations: 4 kB / 382.7 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003365/0.4668, allocations: 69.06 kB / 382.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.4673, allocations: 75.89 kB / 382.9 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.4698, allocations: 1.704 MB / 384.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006005/0.4704, allocations: 39.73 kB / 384.6 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.582e-05/0.4705, allocations: 12.09 kB / 384.6 MB, free: 6.801 MB / 330.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.0002298/0.4707, allocations: 117 kB / 384.7 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.4709, allocations: 27.62 kB / 384.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009645/0.4719, allocations: 301.6 kB / 385.1 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.428e-06/0.4719, allocations: 0 / 385.1 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.67e-06/0.4719, allocations: 4 kB / 385.1 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.236e-06/0.472, allocations: 0 / 385.1 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000645/0.4726, allocations: 349.7 kB / 385.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.065e-06/0.4726, allocations: 0 / 385.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.4731, allocations: 67.89 kB / 385.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002527/0.4734, allocations: 52.83 kB / 385.5 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.4735, allocations: 8 kB / 385.5 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006538/0.4741, allocations: 0.5954 MB / 386.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.314e-06/0.4741, allocations: 0 / 386.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.4752, allocations: 480.3 kB / 386.6 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.4755, allocations: 132.6 kB / 386.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.4756, allocations: 0 / 386.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.4763, allocations: 23.98 kB / 386.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.4764, allocations: 19.91 kB / 386.8 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.4765, allocations: 8 kB / 386.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003772/0.4769, allocations: 190 kB / 387 MB, free: 4.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.153e-06/0.4769, allocations: 4 kB / 387 MB, free: 4.336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006759/0.4776, allocations: 99.78 kB / 387.1 MB, free: 4.238 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.0002568/0.4779, allocations: 127.2 kB / 387.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008606/0.4788, allocations: 357.3 kB / 387.5 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4788, allocations: 4 kB / 387.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.4792, allocations: 120.3 kB / 387.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4795, allocations: 33.34 kB / 387.7 MB, free: 3.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.4811, allocations: 0.6902 MB / 388.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/0.4816, allocations: 0.7991 MB / 389.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.4818, allocations: 27.42 kB / 389.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.437e-06/0.4818, allocations: 0 / 389.2 MB, free: 2.02 MB / 330.7 MB Notification: Performance of Templates: time 0.01185/0.4936, allocations: 5.027 MB / 394.2 MB, free: 13 MB / 346.7 MB "Error: Could not read variable opAmp.Pi in file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat. Warning: Get data of variable opAmp.Pi from file Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat failed! " 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.i,constantVoltage.n.i,constantVoltage.n.v,constantVoltage.p.i,constantVoltage.p.v,constantVoltage.v,constantVoltage1.V,constantVoltage1.i,constantVoltage1.n.i,constantVoltage1.n.v,constantVoltage1.p.i,constantVoltage1.p.v,constantVoltage1.v,ground.p.i,ground.p.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,der(opAmp.q_fp1),der(opAmp.q_fr1),der(opAmp.q_fr2),der(opAmp.q_fr3),der(opAmp.v_in),der(opAmp.v_source),der(opAmp.x),opAmp.fp1,opAmp.fp2,opAmp.fp3,opAmp.fp4,opAmp.fz,opAmp.i_3,opAmp.i_4,opAmp.i_c3,opAmp.i_out,opAmp.i_r2,opAmp.i_vos,opAmp.m.i,opAmp.m.v,opAmp.m_supply.i,opAmp.m_supply.v,opAmp.outp.i,opAmp.outp.v,opAmp.p.i,opAmp.p.v,opAmp.p_supply.i,opAmp.p_supply.v,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_sum,opAmp.q_sum_help,opAmp.sr_m,opAmp.sr_m_val,opAmp.sr_p,opAmp.sr_p_val,opAmp.v_3,opAmp.v_4,opAmp.v_in,opAmp.v_neg,opAmp.v_out,opAmp.v_pos,opAmp.v_source,opAmp.v_vos,opAmp.vcm,opAmp.vcm_abs,opAmp.vcp,opAmp.vcp_abs,opAmp.x,resistor.LossPower,resistor.R,resistor.R_actual,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,resistor.i,resistor.n.i,resistor.n.v,resistor.p.i,resistor.p.v,resistor.useHeatPort,resistor.v,resistor1.LossPower,resistor1.R,resistor1.R_actual,resistor1.T,resistor1.T_heatPort,resistor1.T_ref,resistor1.alpha,resistor1.i,resistor1.n.i,resistor1.n.v,resistor1.p.i,resistor1.p.v,resistor1.useHeatPort,resistor1.v,resistor2.LossPower,resistor2.R,resistor2.R_actual,resistor2.T,resistor2.T_heatPort,resistor2.T_ref,resistor2.alpha,resistor2.i,resistor2.n.i,resistor2.n.v,resistor2.p.i,resistor2.p.v,resistor2.useHeatPort,resistor2.v,sineVoltage.V,sineVoltage.freqHz,sineVoltage.i,sineVoltage.n.i,sineVoltage.n.v,sineVoltage.offset,sineVoltage.p.i,sineVoltage.p.v,sineVoltage.phase,sineVoltage.signalSource.amplitude,sineVoltage.signalSource.freqHz,sineVoltage.signalSource.offset,sineVoltage.signalSource.phase,sineVoltage.signalSource.startTime,sineVoltage.signalSource.y,sineVoltage.startTime,sineVoltage.v,time