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.836/1.836, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.403e-05, allocations: 4 kB / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08619/0.08624, allocations: 44.5 MB / 299.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3722/0.4585, allocations: 74.83 MB / 374.7 MB, free: 22.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4588, allocations: 66.56 kB / 374.7 MB, free: 22.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03306/0.4919, allocations: 8.308 MB / 383 MB, free: 21.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.056e-06/0.4919, allocations: 0 / 383 MB, free: 21.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.565e-05/0.492, allocations: 8.062 kB / 383 MB, free: 21.55 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.001017/0.493, allocations: 0.625 MB / 383.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.493, allocations: 8.969 kB / 383.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.4932, allocations: 49.8 kB / 383.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.4936, allocations: 296.5 kB / 384 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.4936, allocations: 27.78 kB / 384 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.4937, allocations: 41.22 kB / 384.1 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.4944, allocations: 319.6 kB / 384.4 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4944, allocations: 0 / 384.4 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.4945, allocations: 19.06 kB / 384.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4945, allocations: 6.875 kB / 384.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005219/0.495, allocations: 212.7 kB / 384.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/0.4973, allocations: 1.188 MB / 385.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.4979, allocations: 244.3 kB / 386.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.4984, allocations: 192.5 kB / 386.2 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005519/0.499, allocations: 1.123 MB / 387.4 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.499, allocations: 42.78 kB / 387.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 3.249e-06/0.4991, allocations: 0 / 387.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007988/0.4999, allocations: 293 kB / 387.7 MB, free: 18.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.4999, allocations: 84.91 kB / 387.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.5003, allocations: 301.2 kB / 388.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.5004, allocations: 32.05 kB / 388.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.5005, allocations: 261.6 kB / 388.4 MB, free: 18.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.5006, allocations: 102.9 kB / 388.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.5006, allocations: 9.5 kB / 388.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.5007, allocations: 328.5 kB / 388.8 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.5009, allocations: 90 kB / 388.9 MB, free: 17.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.5012, allocations: 165.6 kB / 389 MB, free: 17.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.5015, allocations: 112.2 kB / 389.2 MB, free: 17.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.676e-06/0.5015, allocations: 1.375 kB / 389.2 MB, free: 17.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008851/0.5024, allocations: 379.1 kB / 389.5 MB, free: 17.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5024, allocations: 6.312 kB / 389.5 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.817e-06/0.5025, allocations: 9.094 kB / 389.5 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/0.5028, allocations: 66.67 kB / 389.6 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.5032, allocations: 82.36 kB / 389.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.5051, allocations: 1.751 MB / 391.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004385/0.5056, allocations: 35.03 kB / 391.5 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.5056, allocations: 22.58 kB / 391.5 MB, free: 16.39 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.0001213/0.5057, allocations: 127.5 kB / 391.6 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/0.5059, allocations: 39.06 kB / 391.7 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007587/0.5066, allocations: 308.5 kB / 392 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.5067, allocations: 7.906 kB / 392 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.921e-06/0.5067, allocations: 0 / 392 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.367e-06/0.5067, allocations: 7 kB / 392 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005602/0.5073, allocations: 392.6 kB / 392.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5073, allocations: 3.562 kB / 392.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.5078, allocations: 56.5 kB / 392.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002775/0.5081, allocations: 65.12 kB / 392.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.5081, allocations: 14.75 kB / 392.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004041/0.5086, allocations: 0.6035 MB / 393.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.5086, allocations: 0 / 393.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008685/0.5095, allocations: 498.2 kB / 393.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.5097, allocations: 134.2 kB / 393.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.5098, allocations: 11.53 kB / 393.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.5102, allocations: 22.56 kB / 393.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.5103, allocations: 22.69 kB / 393.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.5103, allocations: 7.812 kB / 393.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002898/0.5106, allocations: 239.2 kB / 394 MB, free: 15.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.23e-07/0.5106, allocations: 0 / 394 MB, free: 15.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006427/0.5113, allocations: 105.5 kB / 394.1 MB, free: 15.04 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.000218/0.5115, allocations: 141.7 kB / 394.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.5127, allocations: 392.4 kB / 394.6 MB, free: 30.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.052e-06/0.5127, allocations: 0 / 394.6 MB, free: 30.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.513, allocations: 126.1 kB / 394.8 MB, free: 30.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.5134, allocations: 34.86 kB / 394.8 MB, free: 30.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.5147, allocations: 0.7094 MB / 395.5 MB, free: 30.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.5152, allocations: 0.8 MB / 396.3 MB, free: 29.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.5153, allocations: 30.03 kB / 396.3 MB, free: 29.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.798e-06/0.5153, allocations: 0 / 396.3 MB, free: 29.67 MB / 330.7 MB Notification: Performance of Templates: time 0.00847/0.5238, allocations: 5.227 MB / 401.6 MB, free: 29.35 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