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.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadModel(Modelica): time 1.577/1.577, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.036e-05, allocations: 0 / 225 MB, free: 2.828 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2514, allocations: 38.77 MB / 263.8 MB, free: 9.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.3556, allocations: 69.78 MB / 333.5 MB, free: 4.004 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.3559, allocations: 67.97 kB / 333.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03576/0.3917, allocations: 8.401 MB / 342 MB, free: 11.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.547e-06/0.3917, allocations: 0 / 342 MB, free: 11.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.3918, allocations: 8 kB / 342 MB, free: 11.5 MB / 298.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.001203/0.393, allocations: 0.6269 MB / 342.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3931, allocations: 12.03 kB / 342.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.3932, allocations: 39.53 kB / 342.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.3937, allocations: 298.2 kB / 343 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.3937, allocations: 24.73 kB / 343 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/0.3938, allocations: 36 kB / 343 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/0.3946, allocations: 325.4 kB / 343.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.3946, allocations: 3.938 kB / 343.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.3947, allocations: 12 kB / 343.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3947, allocations: 8 kB / 343.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005604/0.3953, allocations: 201.5 kB / 343.6 MB, free: 9.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.398, allocations: 1.194 MB / 344.8 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.3987, allocations: 243.5 kB / 345 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.3992, allocations: 196.1 kB / 345.2 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.4003, allocations: 1.125 MB / 346.3 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.4003, allocations: 42.73 kB / 346.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 3.583e-06/0.4003, allocations: 0 / 346.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.000841/0.4012, allocations: 288.7 kB / 346.7 MB, free: 6.398 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.4013, allocations: 81.11 kB / 346.7 MB, free: 6.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.4018, allocations: 299.6 kB / 347 MB, free: 5.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.4019, allocations: 37.7 kB / 347.1 MB, free: 5.949 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.4021, allocations: 262.5 kB / 347.3 MB, free: 5.691 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.4022, allocations: 98.62 kB / 347.4 MB, free: 5.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.4023, allocations: 8 kB / 347.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.4024, allocations: 330.8 kB / 347.7 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.4027, allocations: 92.69 kB / 347.8 MB, free: 5.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.403, allocations: 161.7 kB / 348 MB, free: 4.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.4034, allocations: 111.8 kB / 348.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.01e-06/0.4034, allocations: 0 / 348.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009787/0.4044, allocations: 369.8 kB / 348.5 MB, free: 4.492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4044, allocations: 8 kB / 348.5 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4044, allocations: 4 kB / 348.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003291/0.4048, allocations: 64.81 kB / 348.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.4052, allocations: 79.83 kB / 348.6 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.4077, allocations: 1.757 MB / 350.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.4081, allocations: 47.52 kB / 350.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.4082, allocations: 16.19 kB / 350.4 MB, free: 2.383 MB / 298.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.0001573/0.4084, allocations: 116.9 kB / 350.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.4085, allocations: 43.55 kB / 350.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008112/0.4093, allocations: 310.6 kB / 350.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.233e-06/0.4093, allocations: 0 / 350.9 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.4094, allocations: 7.984 kB / 350.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.925e-06/0.4094, allocations: 0 / 350.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.4101, allocations: 397 kB / 351.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-06/0.4101, allocations: 7.938 kB / 351.3 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.4106, allocations: 63.91 kB / 351.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002879/0.4109, allocations: 60.8 kB / 351.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.4109, allocations: 4 kB / 351.4 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006064/0.4115, allocations: 0.6032 MB / 352 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.149e-06/0.4116, allocations: 0 / 352 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.4126, allocations: 0.4965 MB / 352.5 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.4129, allocations: 136.5 kB / 352.7 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.4129, allocations: 8 kB / 352.7 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.4133, allocations: 28.11 kB / 352.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.4134, allocations: 15.97 kB / 352.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.4135, allocations: 7.938 kB / 352.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003659/0.4139, allocations: 234.2 kB / 352.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.4139, allocations: 0 / 352.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006833/0.4146, allocations: 107.8 kB / 353.1 MB, free: 15.63 MB / 314.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.0002748/0.4148, allocations: 143.2 kB / 353.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008843/0.4157, allocations: 365.7 kB / 353.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.924e-06/0.4158, allocations: 0 / 353.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.4162, allocations: 123.9 kB / 353.7 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.4165, allocations: 41.66 kB / 353.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.4181, allocations: 0.722 MB / 354.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.4186, allocations: 0.8033 MB / 355.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.4188, allocations: 31.44 kB / 355.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.721e-06/0.4188, allocations: 4 kB / 355.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of Templates: time 0.0103/0.4291, allocations: 5.201 MB / 360.5 MB, free: 8.148 MB / 314.7 MB "Error: Could not read variable opAmp.Pi in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat. Warning: Get data of variable opAmp.Pi from file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat failed! Error: Could not read variable sineVoltage.signalSource.pi in file Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat. Warning: Get data of variable sineVoltage.signalSource.pi from file Modelica_3.2.1_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.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.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.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