Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,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.InvertingAmp") Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.24e-05/2.257e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2509, allocations: 44.49 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.3627, allocations: 73.67 MB / 367.8 MB, free: 8.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.3629, allocations: 75.78 kB / 367.9 MB, free: 8.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02012/0.383, allocations: 5.045 MB / 372.9 MB, free: 3.191 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.638e-06/0.3831, allocations: 0 / 372.9 MB, free: 3.191 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.3831, allocations: 8 kB / 372.9 MB, free: 3.184 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.0009275/0.384, allocations: 0.525 MB / 373.4 MB, free: 2.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3841, allocations: 12.03 kB / 373.5 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.3842, allocations: 31.62 kB / 373.5 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.3846, allocations: 267.4 kB / 373.7 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3846, allocations: 4 kB / 373.7 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.3847, allocations: 12 kB / 373.8 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003616/0.3851, allocations: 132.9 kB / 373.9 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.3855, allocations: 158.4 kB / 374 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3855, allocations: 0 / 374 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.3855, allocations: 3.938 kB / 374 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.551e-06/0.3856, allocations: 8 kB / 374.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.3874, allocations: 0.8428 MB / 374.9 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.3877, allocations: 122.8 kB / 375 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.3879, allocations: 60.86 kB / 375.1 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3879, allocations: 224 / 375.1 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.3882, allocations: 137.8 kB / 375.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.303e-06/0.3882, allocations: 0 / 375.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007198/0.389, allocations: 202.2 kB / 375.4 MB, free: 488 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.3891, allocations: 110.8 kB / 375.5 MB, free: 352 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.3893, allocations: 203.9 kB / 375.7 MB, free: 140 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.3894, allocations: 25.7 kB / 375.7 MB, free: 108 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.3896, allocations: 234.2 kB / 376 MB, free: 15.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.3897, allocations: 39.45 kB / 376 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.3897, allocations: 0 / 376 MB, free: 15.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3899, allocations: 326.8 kB / 376.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.39, allocations: 48.05 kB / 376.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.3902, allocations: 107.9 kB / 376.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3904, allocations: 53.89 kB / 376.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.281e-06/0.3904, allocations: 0 / 376.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008329/0.3912, allocations: 251 kB / 376.8 MB, free: 15.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.3913, allocations: 33.7 kB / 376.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.963e-06/0.3913, allocations: 8.156 kB / 376.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005172/0.3918, allocations: 88.73 kB / 376.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.3921, allocations: 51.91 kB / 377 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.394, allocations: 1.42 MB / 378.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.3944, allocations: 51.72 kB / 378.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.3945, allocations: 4 kB / 378.4 MB, free: 13.24 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: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001849/0.3947, allocations: 123.6 kB / 378.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.3947, allocations: 15.81 kB / 378.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.3948, allocations: 21.97 kB / 378.6 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3948, allocations: 8.141 kB / 378.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.972e-06/0.3948, allocations: 8 kB / 378.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.469e-06/0.3949, allocations: 3.984 kB / 378.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.3952, allocations: 246 kB / 378.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-06/0.3952, allocations: 0 / 378.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.3954, allocations: 31.91 kB / 378.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004665/0.3959, allocations: 96.72 kB / 379 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.3959, allocations: 4 kB / 379 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.3978, allocations: 1.409 MB / 380.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3978, allocations: 0 / 380.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.3985, allocations: 242.6 kB / 380.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3986, allocations: 101 kB / 380.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.3987, allocations: 4 kB / 380.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.399, allocations: 31.97 kB / 380.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.3991, allocations: 23.97 kB / 380.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3991, allocations: 3.938 kB / 380.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002169/0.3994, allocations: 168.5 kB / 380.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.94e-07/0.3994, allocations: 0 / 380.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004386/0.3998, allocations: 63.84 kB / 381 MB, free: 10.46 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.0001599/0.4, allocations: 104.4 kB / 381.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005951/0.4006, allocations: 297 kB / 381.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.057e-06/0.4006, allocations: 0 / 381.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.4009, allocations: 170 kB / 381.6 MB, free: 9.867 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.4012, allocations: 28.73 kB / 381.6 MB, free: 9.836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.4019, allocations: 279.2 kB / 381.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.4024, allocations: 0.7482 MB / 382.6 MB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.4025, allocations: 19.44 kB / 382.6 MB, free: 8.746 MB / 330.7 MB Notification: Performance of SimCode: time 1.754e-06/0.4025, allocations: 0 / 382.6 MB, free: 8.746 MB / 330.7 MB Notification: Performance of Templates: time 0.007691/0.4102, allocations: 3.75 MB / 386.4 MB, free: 4.992 MB / 330.7 MB