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.848/1.848, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.471e-05, allocations: 7.562 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 44.5 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3244/0.4365, allocations: 73.13 MB / 373 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4368, allocations: 79.72 kB / 373.1 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0162/0.4531, allocations: 4.334 MB / 377.4 MB, free: 21.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.84e-06/0.4531, allocations: 1.188 kB / 377.4 MB, free: 21.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.853e-05/0.4531, allocations: 5.062 kB / 377.4 MB, free: 21.97 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.0006538/0.4538, allocations: 0.5086 MB / 377.9 MB, free: 21.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4539, allocations: 9.172 kB / 377.9 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.454, allocations: 33.47 kB / 377.9 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.4543, allocations: 263 kB / 378.2 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.4544, allocations: 23.97 kB / 378.2 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.4544, allocations: 29.69 kB / 378.3 MB, free: 21.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.455, allocations: 251.7 kB / 378.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.455, allocations: 3.984 kB / 378.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.979e-05/0.4551, allocations: 12.84 kB / 378.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.4551, allocations: 11.41 kB / 378.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.4556, allocations: 197.1 kB / 378.7 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.4576, allocations: 1.115 MB / 379.8 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.4582, allocations: 206.3 kB / 380 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.4585, allocations: 140.5 kB / 380.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.4586, allocations: 6.188 kB / 380.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.4586, allocations: 37.31 kB / 380.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 3.162e-06/0.4586, allocations: 0 / 380.2 MB, free: 20.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001096/0.4597, allocations: 317.5 kB / 380.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.4598, allocations: 53.78 kB / 380.6 MB, free: 20.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.4601, allocations: 232.8 kB / 380.8 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4601, allocations: 26.92 kB / 380.8 MB, free: 20.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/0.4602, allocations: 258 kB / 381.1 MB, free: 20.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.4603, allocations: 70.62 kB / 381.2 MB, free: 20.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.4603, allocations: 5.844 kB / 381.2 MB, free: 20.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.886e-05/0.4604, allocations: 322.2 kB / 381.5 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.4606, allocations: 60.42 kB / 381.5 MB, free: 19.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.4608, allocations: 150.3 kB / 381.7 MB, free: 19.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.461, allocations: 82.11 kB / 381.8 MB, free: 19.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.832e-06/0.461, allocations: 1.031 kB / 381.8 MB, free: 19.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001227/0.4623, allocations: 406.2 kB / 382.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.4623, allocations: 9.531 kB / 382.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.696e-06/0.4623, allocations: 3.5 kB / 382.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009291/0.4633, allocations: 177.2 kB / 382.3 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.4635, allocations: 56.67 kB / 382.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.4668, allocations: 3.023 MB / 385.4 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.4671, allocations: 32.38 kB / 385.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.4672, allocations: 13.09 kB / 385.5 MB, free: 16.88 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 0.0001006/0.4673, allocations: 119.1 kB / 385.6 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.4674, allocations: 23.47 kB / 385.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.4675, allocations: 32.39 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.342e-06/0.4675, allocations: 5.656 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.349e-06/0.4675, allocations: 1.594 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4675, allocations: 2.062 kB / 385.6 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.469, allocations: 0.706 MB / 386.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.325e-06/0.469, allocations: 0 / 386.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.4692, allocations: 28.97 kB / 386.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008513/0.4701, allocations: 176.3 kB / 386.6 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.4701, allocations: 1.281 kB / 386.6 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/0.474, allocations: 3.002 MB / 389.6 MB, free: 29.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.579e-06/0.4741, allocations: 0 / 389.6 MB, free: 29.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.4753, allocations: 481 kB / 390 MB, free: 29.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.4755, allocations: 102.1 kB / 390.1 MB, free: 29.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.4755, allocations: 8.172 kB / 390.1 MB, free: 29.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.4758, allocations: 17.3 kB / 390.1 MB, free: 29.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.4758, allocations: 15.22 kB / 390.2 MB, free: 29.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.4759, allocations: 9.125 kB / 390.2 MB, free: 29.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000256/0.4761, allocations: 180 kB / 390.3 MB, free: 29.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.4762, allocations: 3.938 kB / 390.4 MB, free: 29.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006903/0.4769, allocations: 86.91 kB / 390.4 MB, free: 29.36 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.0001788/0.4771, allocations: 117.1 kB / 390.6 MB, free: 29.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007592/0.4778, allocations: 408.3 kB / 391 MB, free: 29.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.4779, allocations: 1.375 kB / 391 MB, free: 29.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004372/0.4783, allocations: 318.3 kB / 391.3 MB, free: 28.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.4787, allocations: 30.47 kB / 391.3 MB, free: 28.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.4795, allocations: 388.6 kB / 391.7 MB, free: 28.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.48, allocations: 0.772 MB / 392.4 MB, free: 27.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.4801, allocations: 24.47 kB / 392.5 MB, free: 27.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.875e-06/0.4801, allocations: 0 / 392.5 MB, free: 27.86 MB / 330.7 MB Notification: Performance of Templates: time 0.007845/0.488, allocations: 5.045 MB / 397.5 MB, free: 27.64 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