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 2.162/2.162, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.509e-05, allocations: 7.906 kB / 258.8 MB, free: 8.688 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3059, allocations: 44.49 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.005388/0.3114, allocations: 2.312 MB / 305.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.3139, allocations: 0.5982 MB / 306.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.3143, allocations: 8.438 kB / 306.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.3145, allocations: 48.81 kB / 306.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005745/0.3151, allocations: 105.9 kB / 306.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.3155, allocations: 51.31 kB / 306.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006993/0.3162, allocations: 196.4 kB / 306.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.3166, allocations: 71.98 kB / 306.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.3169, allocations: 95.02 kB / 306.8 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003614/0.3173, allocations: 122.9 kB / 306.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3174, allocations: 17.16 kB / 306.9 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.3175, allocations: 13.28 kB / 306.9 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.442e-05/0.3176, allocations: 48.31 kB / 307 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.3177, allocations: 27.66 kB / 307 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005802/0.3183, allocations: 262.5 kB / 307.3 MB, free: 9.676 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3183, allocations: 0 / 307.3 MB, free: 9.676 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3184, allocations: 0 / 307.3 MB, free: 9.676 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.3184, allocations: 0 / 307.3 MB, free: 9.676 MB / 250.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.00149/0.3199, allocations: 0.5278 MB / 307.8 MB, free: 9.168 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.725e-05/0.32, allocations: 8.031 kB / 307.8 MB, free: 9.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.3202, allocations: 31.62 kB / 307.8 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006958/0.3209, allocations: 270.4 kB / 308.1 MB, free: 8.824 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.321, allocations: 20.66 kB / 308.1 MB, free: 8.805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.3211, allocations: 24 kB / 308.1 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000982/0.3221, allocations: 270 kB / 308.4 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.3222, allocations: 4 kB / 308.4 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.3223, allocations: 12 kB / 308.4 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.3223, allocations: 4 kB / 308.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/0.3232, allocations: 202.5 kB / 308.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.3272, allocations: 1.049 MB / 309.7 MB, free: 7.164 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/0.3282, allocations: 199.8 kB / 309.9 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.3283, allocations: 4.328 kB / 309.9 MB, free: 6.957 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.3284, allocations: 38.52 kB / 309.9 MB, free: 6.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 4.068e-06/0.3284, allocations: 4 kB / 309.9 MB, free: 6.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.005173/0.3336, allocations: 0.661 MB / 310.6 MB, free: 6.195 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.3337, allocations: 63.36 kB / 310.6 MB, free: 6.121 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.3343, allocations: 228.1 kB / 310.8 MB, free: 5.895 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/0.3344, allocations: 29.7 kB / 310.9 MB, free: 5.859 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.3347, allocations: 254.3 kB / 311.1 MB, free: 5.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.3348, allocations: 63.02 kB / 311.2 MB, free: 5.543 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.3349, allocations: 8 kB / 311.2 MB, free: 5.535 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.3351, allocations: 318.8 kB / 311.5 MB, free: 5.215 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.3354, allocations: 67.91 kB / 311.6 MB, free: 5.148 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.3358, allocations: 147.1 kB / 311.7 MB, free: 4.965 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.3362, allocations: 83.94 kB / 311.8 MB, free: 4.883 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.3362, allocations: 0 / 311.8 MB, free: 4.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00239/0.3386, allocations: 399 kB / 312.2 MB, free: 4.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.3387, allocations: 8 kB / 312.2 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.3387, allocations: 4 kB / 312.2 MB, free: 4.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.3405, allocations: 173.6 kB / 312.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.341, allocations: 47.92 kB / 312.4 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009118/0.3501, allocations: 3.278 MB / 315.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/0.3508, allocations: 39.58 kB / 315.7 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.3508, allocations: 15.94 kB / 315.7 MB, free: 0.6328 MB / 250.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 (30): * Single equations (assignments): 28 * 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 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003008/0.3511, allocations: 141.7 kB / 315.9 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.3513, allocations: 23.72 kB / 315.9 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.761e-05/0.3514, allocations: 30.17 kB / 315.9 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3514, allocations: 0 / 315.9 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3514, allocations: 0 / 315.9 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.3514, allocations: 8.016 kB / 315.9 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007076/0.3522, allocations: 317.4 kB / 316.3 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3522, allocations: 0 / 316.3 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.3526, allocations: 31.92 kB / 316.3 MB, free: 36 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.3543, allocations: 169.6 kB / 316.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.3544, allocations: 0 / 316.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008408/0.3628, allocations: 3.173 MB / 319.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.3629, allocations: 3.953 kB / 319.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.3654, allocations: 475.5 kB / 320.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.3656, allocations: 104.9 kB / 320.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.257e-05/0.3657, allocations: 4.438 kB / 320.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.3662, allocations: 15.98 kB / 320.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.3662, allocations: 15.98 kB / 320.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.3663, allocations: 8 kB / 320.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003784/0.3667, allocations: 184.5 kB / 320.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3667, allocations: 0 / 320.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001067/0.3678, allocations: 95.75 kB / 320.5 MB, free: 11.48 MB / 266.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 (14): * Single equations (assignments): 12 * 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 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002358/0.3681, allocations: 107.2 kB / 320.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.3692, allocations: 405.7 kB / 321 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.3693, allocations: 4.25 kB / 321 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.37, allocations: 321.1 kB / 321.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.3706, allocations: 32.55 kB / 321.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.3727, allocations: 0.6735 MB / 322 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.3734, allocations: 0.7718 MB / 322.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.3736, allocations: 19.44 kB / 322.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of SimCode: time 1.763e-06/0.3736, allocations: 0 / 322.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of Templates: time 0.01528/0.3889, allocations: 5.073 MB / 327.9 MB, free: 3.961 MB / 266.7 MB