Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.077e-05, allocations: 8 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.251, allocations: 44.5 MB / 294.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.3636, allocations: 73.66 MB / 367.8 MB, free: 8.332 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.3639, allocations: 75.95 kB / 367.9 MB, free: 8.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02038/0.3843, allocations: 5.045 MB / 372.9 MB, free: 3.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.12e-06/0.3843, allocations: 0 / 372.9 MB, free: 3.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.3844, allocations: 7.984 kB / 372.9 MB, free: 3.191 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009807/0.3853, allocations: 0.525 MB / 373.4 MB, free: 2.613 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3854, allocations: 16.03 kB / 373.4 MB, free: 2.598 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.3855, allocations: 27.62 kB / 373.5 MB, free: 2.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.3859, allocations: 263.5 kB / 373.7 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.386, allocations: 15.97 kB / 373.7 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.386, allocations: 12 kB / 373.8 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003802/0.3864, allocations: 128.9 kB / 373.9 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.3868, allocations: 162.4 kB / 374 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3869, allocations: 3.938 kB / 374 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.3869, allocations: 0 / 374 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.3869, allocations: 4 kB / 374 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.3888, allocations: 0.8428 MB / 374.9 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.3892, allocations: 122.8 kB / 375 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3894, allocations: 56.86 kB / 375.1 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.3894, allocations: 4.203 kB / 375.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/0.3897, allocations: 129.8 kB / 375.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.458e-06/0.3897, allocations: 0 / 375.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000762/0.3905, allocations: 213.4 kB / 375.4 MB, free: 492 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.3906, allocations: 110.8 kB / 375.5 MB, free: 356 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.3909, allocations: 204.5 kB / 375.7 MB, free: 148 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.3909, allocations: 25.7 kB / 375.7 MB, free: 116 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.3911, allocations: 242.2 kB / 376 MB, free: 15.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.3912, allocations: 43.38 kB / 376 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.3912, allocations: 4 kB / 376 MB, free: 15.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3914, allocations: 322.8 kB / 376.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.3916, allocations: 51.86 kB / 376.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.3918, allocations: 121.4 kB / 376.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3919, allocations: 57.95 kB / 376.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.22e-06/0.3919, allocations: 0 / 376.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008618/0.3928, allocations: 267.7 kB / 376.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.3929, allocations: 29.7 kB / 376.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.294e-06/0.3929, allocations: 4 kB / 376.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005075/0.3934, allocations: 100.7 kB / 377 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3937, allocations: 51.91 kB / 377 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.3958, allocations: 1.513 MB / 378.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.3962, allocations: 47.66 kB / 378.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.3962, allocations: 12 kB / 378.6 MB, free: 13.09 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.3964, allocations: 120.8 kB / 378.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.3965, allocations: 23.77 kB / 378.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.3965, allocations: 17.97 kB / 378.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.503e-06/0.3966, allocations: 4.109 kB / 378.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.57e-06/0.3966, allocations: 8 kB / 378.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.814e-06/0.3966, allocations: 0 / 378.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.3969, allocations: 249.9 kB / 379 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-06/0.3969, allocations: 0 / 379 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.3971, allocations: 35.91 kB / 379 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/0.3976, allocations: 92.78 kB / 379.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3977, allocations: 3.953 kB / 379.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.3997, allocations: 1.513 MB / 380.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.88e-06/0.3997, allocations: 8 kB / 380.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/0.4005, allocations: 233.7 kB / 380.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4006, allocations: 104.8 kB / 381 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.4006, allocations: 0 / 381 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.4009, allocations: 28.09 kB / 381 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.261e-05/0.401, allocations: 27.91 kB / 381 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.4011, allocations: 8 kB / 381 MB, free: 10.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.4013, allocations: 168.5 kB / 381.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.4013, allocations: 0 / 381.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005487/0.4019, allocations: 67.8 kB / 381.3 MB, free: 10.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000164/0.402, allocations: 95.25 kB / 381.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005805/0.4026, allocations: 305.5 kB / 381.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.23e-06/0.4027, allocations: 7.938 kB / 381.7 MB, free: 9.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.403, allocations: 173.6 kB / 381.8 MB, free: 9.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.4033, allocations: 36.39 kB / 381.9 MB, free: 9.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.4052, allocations: 463 kB / 382.3 MB, free: 9.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.4056, allocations: 0.7482 MB / 383.1 MB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.4057, allocations: 23.44 kB / 383.1 MB, free: 8.273 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.4057, allocations: 0 / 383.1 MB, free: 8.273 MB / 330.7 MB Notification: Performance of Templates: time 0.00737/0.4131, allocations: 3.776 MB / 386.9 MB, free: 4.496 MB / 330.7 MB