Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp1.out.v|opAmp1.out.i|opAmp2.out.v|opAmp2.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator") Notification: Performance of loadModel(Modelica): time 1.868/1.868, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.772e-05, allocations: 8 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2453, allocations: 44.5 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.3561, allocations: 72.47 MB / 366.6 MB, free: 9.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.3564, allocations: 79.95 kB / 366.7 MB, free: 9.441 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0164/0.3728, allocations: 4.284 MB / 371 MB, free: 5.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.018e-06/0.3729, allocations: 4 kB / 371 MB, free: 5.141 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.568e-05/0.3729, allocations: 11.94 kB / 371 MB, free: 5.129 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007932/0.3737, allocations: 0.5033 MB / 371.5 MB, free: 4.582 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3738, allocations: 8.031 kB / 371.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.906e-05/0.3739, allocations: 31.62 kB / 371.5 MB, free: 4.543 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.3743, allocations: 272 kB / 371.8 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.3744, allocations: 12 kB / 371.8 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.3744, allocations: 16 kB / 371.8 MB, free: 4.211 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004688/0.3749, allocations: 177.5 kB / 372 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.3754, allocations: 214.2 kB / 372.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3755, allocations: 0 / 372.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.3755, allocations: 3.938 kB / 372.2 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3755, allocations: 4 kB / 372.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.3778, allocations: 1.059 MB / 373.3 MB, free: 2.672 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.3784, allocations: 186.9 kB / 373.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.3788, allocations: 133.1 kB / 373.6 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.3788, allocations: 7.953 kB / 373.6 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3789, allocations: 34.56 kB / 373.6 MB, free: 2.297 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 2.954e-06/0.3789, allocations: 0 / 373.6 MB, free: 2.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001152/0.38, allocations: 298.8 kB / 373.9 MB, free: 1.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.3801, allocations: 55.41 kB / 374 MB, free: 1.926 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.3804, allocations: 203.9 kB / 374.2 MB, free: 1.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.3804, allocations: 25.7 kB / 374.2 MB, free: 1.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.3806, allocations: 262 kB / 374.4 MB, free: 1.434 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.112e-05/0.3807, allocations: 63.02 kB / 374.5 MB, free: 1.371 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.3808, allocations: 0 / 374.5 MB, free: 1.371 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3809, allocations: 322.8 kB / 374.8 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3811, allocations: 52 kB / 374.9 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.3813, allocations: 139 kB / 375 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.3815, allocations: 79.91 kB / 375.1 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.561e-06/0.3815, allocations: 0 / 375.1 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001217/0.3828, allocations: 370.9 kB / 375.4 MB, free: 376 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.3828, allocations: 10.06 kB / 375.5 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3828, allocations: 7.984 kB / 375.5 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009334/0.3838, allocations: 177.5 kB / 375.6 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.384, allocations: 59.92 kB / 375.7 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004026/0.3881, allocations: 2.898 MB / 378.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.3884, allocations: 31.62 kB / 378.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.3884, allocations: 16 kB / 378.6 MB, free: 12.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.3886, allocations: 116.7 kB / 378.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.3887, allocations: 23.72 kB / 378.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.3888, allocations: 25.95 kB / 378.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.686e-06/0.3888, allocations: 4 kB / 378.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.169e-06/0.3888, allocations: 3.938 kB / 378.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-06/0.3888, allocations: 0 / 378.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.3904, allocations: 0.6564 MB / 379.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.646e-06/0.3905, allocations: 0 / 379.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.3907, allocations: 23.98 kB / 379.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008915/0.3916, allocations: 173.6 kB / 379.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.3916, allocations: 192 / 379.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/0.3956, allocations: 2.887 MB / 382.5 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.891e-06/0.3957, allocations: 4.062 kB / 382.5 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.3969, allocations: 471.5 kB / 383 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3971, allocations: 96.8 kB / 383.1 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.3971, allocations: 4.25 kB / 383.1 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.3973, allocations: 15.98 kB / 383.1 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.3974, allocations: 11.98 kB / 383.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.3974, allocations: 8 kB / 383.1 MB, free: 8.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002021/0.3976, allocations: 156.5 kB / 383.3 MB, free: 7.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.3977, allocations: 0 / 383.3 MB, free: 7.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006819/0.3984, allocations: 79.78 kB / 383.4 MB, free: 7.863 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001752/0.3985, allocations: 107.2 kB / 383.5 MB, free: 7.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007672/0.3993, allocations: 391.2 kB / 383.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.3993, allocations: 0.75 kB / 383.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.3998, allocations: 291.5 kB / 384.1 MB, free: 7.043 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.4002, allocations: 20.66 kB / 384.2 MB, free: 7.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.4011, allocations: 392 kB / 384.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.4016, allocations: 0.768 MB / 385.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.4017, allocations: 19.44 kB / 385.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of SimCode: time 1.59e-06/0.4017, allocations: 0 / 385.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of Templates: time 0.01085/0.4126, allocations: 4.899 MB / 390.2 MB, free: 0.8984 MB / 330.7 MB "" Variables in the reference:time,c.v,opAmp1.out.v,opAmp1.out.i,opAmp2.out.v,opAmp2.out.i Variables in the result:C,R,R1,R2,VAmp,Vns,Vps,c.C,der(c.v),c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,f,ground.p.i,ground.p.v,opAmp1.V0,opAmp1.Vns,opAmp1.Vps,opAmp1.i_s,opAmp1.in_n.i,opAmp1.in_n.v,opAmp1.in_p.i,opAmp1.in_p.v,opAmp1.out.i,opAmp1.out.v,opAmp1.p_in,opAmp1.p_out,opAmp1.p_s,opAmp1.useSupply,opAmp1.v_in,opAmp1.v_out,opAmp1.vns,opAmp1.vps,opAmp2.V0,opAmp2.Vns,opAmp2.Vps,opAmp2.i_s,opAmp2.in_n.i,opAmp2.in_n.v,opAmp2.in_p.i,opAmp2.in_p.v,opAmp2.out.i,opAmp2.out.v,opAmp2.p_in,opAmp2.p_out,opAmp2.p_s,opAmp2.useSupply,opAmp2.v_in,opAmp2.v_out,opAmp2.vns,opAmp2.vps,r.LossPower,r.R,r.R_actual,r.T,r.T_heatPort,r.T_ref,r.alpha,r.i,r.n.i,r.n.v,r.p.i,r.p.v,r.useHeatPort,r.v,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.useHeatPort,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.useHeatPort,r2.v,time,vOutRectangle.n.i,vOutRectangle.n.v,vOutRectangle.p.i,vOutRectangle.p.v,vOutRectangle.v,vOutTriangle.n.i,vOutTriangle.n.v,vOutTriangle.p.i,vOutTriangle.p.v,vOutTriangle.v