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.818/1.818, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.616e-05, allocations: 4 kB / 255.4 MB, free: 3.164 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07482/0.07487, allocations: 44.5 MB / 299.9 MB, free: 6.605 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3138/0.3887, allocations: 73.14 MB / 373 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.389, allocations: 77.08 kB / 373.1 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01581/0.4048, allocations: 4.333 MB / 377.4 MB, free: 21.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.977e-06/0.4049, allocations: 1.125 kB / 377.4 MB, free: 21.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.025e-05/0.4049, allocations: 5.219 kB / 377.4 MB, free: 21.9 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.0006489/0.4055, allocations: 0.5034 MB / 377.9 MB, free: 21.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4056, allocations: 13.53 kB / 377.9 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.4057, allocations: 33.98 kB / 378 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.406, allocations: 266.4 kB / 378.2 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.4061, allocations: 18.94 kB / 378.3 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.4062, allocations: 29.94 kB / 378.3 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.4067, allocations: 246.7 kB / 378.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4068, allocations: 0.6562 kB / 378.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.4068, allocations: 10.94 kB / 378.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.4068, allocations: 6.625 kB / 378.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.4073, allocations: 199.7 kB / 378.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.4093, allocations: 1.113 MB / 379.9 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.4099, allocations: 203.3 kB / 380.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.4103, allocations: 146.4 kB / 380.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.4103, allocations: 2.188 kB / 380.2 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.4103, allocations: 32.56 kB / 380.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 3.174e-06/0.4104, allocations: 0 / 380.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001112/0.4115, allocations: 314 kB / 380.5 MB, free: 20.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.4115, allocations: 60.73 kB / 380.6 MB, free: 20.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.4118, allocations: 232.7 kB / 380.8 MB, free: 20.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.4119, allocations: 30.73 kB / 380.9 MB, free: 20.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.412, allocations: 252 kB / 381.1 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.412, allocations: 71.45 kB / 381.2 MB, free: 20.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/0.4121, allocations: 4.781 kB / 381.2 MB, free: 20.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.678e-05/0.4121, allocations: 328.4 kB / 381.5 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4123, allocations: 56.25 kB / 381.5 MB, free: 19.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.4125, allocations: 147.6 kB / 381.7 MB, free: 19.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.4127, allocations: 87.47 kB / 381.8 MB, free: 19.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.27e-06/0.4127, allocations: 1.188 kB / 381.8 MB, free: 19.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001215/0.4139, allocations: 395.4 kB / 382.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.414, allocations: 7 kB / 382.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.414, allocations: 2.781 kB / 382.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009246/0.4149, allocations: 181 kB / 382.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.4152, allocations: 55.27 kB / 382.4 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.4184, allocations: 3.022 MB / 385.4 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.4187, allocations: 31.59 kB / 385.5 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.4188, allocations: 16.42 kB / 385.5 MB, free: 16.82 MB / 314.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 9.249e-05/0.4189, allocations: 116.8 kB / 385.6 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.419, allocations: 24.56 kB / 385.6 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.063e-05/0.419, allocations: 28 kB / 385.6 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-06/0.4191, allocations: 5.703 kB / 385.6 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.393e-06/0.4191, allocations: 1.969 kB / 385.6 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.482e-06/0.4191, allocations: 2.547 kB / 385.6 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.4206, allocations: 0.7041 MB / 386.4 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.013e-06/0.4206, allocations: 1.5 kB / 386.4 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.4208, allocations: 32.67 kB / 386.4 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008334/0.4216, allocations: 168.4 kB / 386.6 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.4217, allocations: 9.594 kB / 386.6 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/0.4255, allocations: 3.001 MB / 389.6 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.59e-06/0.4255, allocations: 0 / 389.6 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.4268, allocations: 481.9 kB / 390 MB, free: 29.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.4269, allocations: 98.92 kB / 390.1 MB, free: 29.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.4269, allocations: 9.906 kB / 390.1 MB, free: 29.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.4272, allocations: 15.05 kB / 390.2 MB, free: 29.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.4273, allocations: 17.73 kB / 390.2 MB, free: 29.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.4273, allocations: 9.188 kB / 390.2 MB, free: 29.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002464/0.4275, allocations: 179.7 kB / 390.4 MB, free: 29.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.4276, allocations: 0 / 390.4 MB, free: 29.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006767/0.4282, allocations: 92.34 kB / 390.4 MB, free: 29.3 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.0001639/0.4284, allocations: 103.4 kB / 390.5 MB, free: 29.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007266/0.4292, allocations: 393 kB / 390.9 MB, free: 29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.032e-06/0.4292, allocations: 3.938 kB / 390.9 MB, free: 28.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.4296, allocations: 302 kB / 391.2 MB, free: 28.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.43, allocations: 38.91 kB / 391.3 MB, free: 28.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000833/0.4308, allocations: 385.2 kB / 391.6 MB, free: 28.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.4313, allocations: 0.7736 MB / 392.4 MB, free: 27.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.4314, allocations: 19.16 kB / 392.4 MB, free: 27.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.542e-06/0.4314, allocations: 1.75 kB / 392.4 MB, free: 27.84 MB / 330.7 MB Notification: Performance of Templates: time 0.007595/0.439, allocations: 5.035 MB / 397.5 MB, free: 27.62 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.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.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.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