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.773/1.773, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.371e-05/4.396e-05, allocations: 4 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.0937, allocations: 44.5 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4377, allocations: 74.84 MB / 374.7 MB, free: 22.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.4381, allocations: 68.56 kB / 374.8 MB, free: 22.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04187/0.48, allocations: 8.311 MB / 383.1 MB, free: 21.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.861e-06/0.48, allocations: 0 / 383.1 MB, free: 21.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.48, allocations: 7.5 kB / 383.1 MB, free: 21.5 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.001054/0.4811, allocations: 0.6244 MB / 383.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4812, allocations: 8.969 kB / 383.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.4813, allocations: 51.44 kB / 383.8 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.4817, allocations: 291.2 kB / 384.1 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.4817, allocations: 23.34 kB / 384.1 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.816e-05/0.4818, allocations: 43.69 kB / 384.1 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006721/0.4825, allocations: 323.3 kB / 384.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.4825, allocations: 1.375 kB / 384.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.4826, allocations: 14.12 kB / 384.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.4826, allocations: 8.25 kB / 384.5 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.4832, allocations: 204.2 kB / 384.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.4855, allocations: 1.186 MB / 385.8 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.4861, allocations: 245 kB / 386.1 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/0.4865, allocations: 198.4 kB / 386.3 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/0.4871, allocations: 1.12 MB / 387.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.4871, allocations: 40.03 kB / 387.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 3.308e-06/0.4872, allocations: 0 / 387.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007926/0.488, allocations: 286.8 kB / 387.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.488, allocations: 91.45 kB / 387.8 MB, free: 18.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.4884, allocations: 299.5 kB / 388.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.4885, allocations: 32.8 kB / 388.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4886, allocations: 262.2 kB / 388.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.4887, allocations: 106.7 kB / 388.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.4887, allocations: 8.688 kB / 388.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.4888, allocations: 325 kB / 388.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.489, allocations: 89.12 kB / 388.9 MB, free: 17.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.4893, allocations: 165.1 kB / 389.1 MB, free: 17.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.4896, allocations: 117.2 kB / 389.2 MB, free: 17.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.99e-06/0.4896, allocations: 0 / 389.2 MB, free: 17.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008455/0.4904, allocations: 369.5 kB / 389.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4905, allocations: 6.062 kB / 389.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.752e-06/0.4905, allocations: 1.656 kB / 389.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002976/0.4908, allocations: 71.77 kB / 389.6 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.4912, allocations: 82.91 kB / 389.7 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.493, allocations: 1.742 MB / 391.4 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.4934, allocations: 48.47 kB / 391.5 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.4935, allocations: 13.59 kB / 391.5 MB, free: 16.36 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.0001123/0.4936, allocations: 130.4 kB / 391.6 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.4937, allocations: 31.25 kB / 391.7 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006751/0.4944, allocations: 316.6 kB / 392 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-06/0.4944, allocations: 0 / 392 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-06/0.4944, allocations: 11.91 kB / 392 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4945, allocations: 3.953 kB / 392 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.495, allocations: 395.2 kB / 392.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.669e-06/0.495, allocations: 0 / 392.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.4955, allocations: 53.05 kB / 392.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.4958, allocations: 68.59 kB / 392.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.4958, allocations: 3.938 kB / 392.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003812/0.4962, allocations: 0.6002 MB / 393.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.87e-06/0.4962, allocations: 3.938 kB / 393.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.4971, allocations: 497.6 kB / 393.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.4973, allocations: 145.5 kB / 393.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/0.4974, allocations: 3.062 kB / 393.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.4978, allocations: 26.36 kB / 393.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.4978, allocations: 22.58 kB / 393.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.4979, allocations: 15.81 kB / 393.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002601/0.4982, allocations: 231 kB / 394 MB, free: 15.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.73e-07/0.4982, allocations: 0 / 394 MB, free: 15.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006063/0.4988, allocations: 113 kB / 394.1 MB, free: 15.01 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.000201/0.499, allocations: 137.1 kB / 394.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007345/0.4998, allocations: 376.7 kB / 394.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.781e-06/0.4998, allocations: 0 / 394.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.5001, allocations: 126.5 kB / 394.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.5005, allocations: 38.73 kB / 394.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.5016, allocations: 0.693 MB / 395.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/0.5024, allocations: 0.8034 MB / 396.3 MB, free: 29.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.5025, allocations: 26.59 kB / 396.3 MB, free: 29.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.692e-06/0.5026, allocations: 3.875 kB / 396.3 MB, free: 29.66 MB / 330.7 MB Notification: Performance of Templates: time 0.007976/0.5105, allocations: 5.209 MB / 401.5 MB, free: 29.33 MB / 330.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.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