Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadModel(Modelica): time 2.229/2.229, allocations: 225.8 MB / 239.4 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.603e-05, allocations: 8 kB / 292.7 MB, free: 8.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09308, allocations: 50.42 MB / 343.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4609/0.554, allocations: 81.32 MB / 424.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5543, allocations: 81.25 kB / 424.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02618/0.5805, allocations: 6.396 MB / 430.9 MB, free: 7.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.512e-06/0.5805, allocations: 4 kB / 430.9 MB, free: 7.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.5806, allocations: 4 kB / 430.9 MB, free: 7.371 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001234/0.5818, allocations: 0.5858 MB / 431.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.5819, allocations: 12.03 kB / 431.5 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.5821, allocations: 31.62 kB / 431.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.5827, allocations: 291.8 kB / 431.8 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.5827, allocations: 22.56 kB / 431.8 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.5828, allocations: 26.69 kB / 431.9 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.5835, allocations: 266.7 kB / 432.1 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5836, allocations: 3.953 kB / 432.1 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.5836, allocations: 10.25 kB / 432.1 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.5837, allocations: 4 kB / 432.1 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.5841, allocations: 194.2 kB / 432.3 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.5868, allocations: 1.185 MB / 433.5 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.5873, allocations: 146.7 kB / 433.7 MB, free: 4.941 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.5875, allocations: 71.78 kB / 433.7 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.5876, allocations: 0 / 433.7 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/0.5879, allocations: 138.3 kB / 433.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.902e-06/0.5879, allocations: 4 kB / 433.9 MB, free: 4.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008577/0.5888, allocations: 235.4 kB / 434.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.751e-05/0.5889, allocations: 110.8 kB / 434.2 MB, free: 4.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.5893, allocations: 255.2 kB / 434.5 MB, free: 4.227 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.5894, allocations: 33.58 kB / 434.5 MB, free: 4.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.5896, allocations: 202.9 kB / 434.7 MB, free: 4.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.5897, allocations: 38.08 kB / 434.7 MB, free: 3.988 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.5897, allocations: 7.5 kB / 434.7 MB, free: 3.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.5899, allocations: 333.8 kB / 435.1 MB, free: 3.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.5901, allocations: 67.36 kB / 435.1 MB, free: 3.617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.5904, allocations: 154.5 kB / 435.3 MB, free: 3.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.5906, allocations: 106.4 kB / 435.4 MB, free: 3.367 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.5906, allocations: 4 kB / 435.4 MB, free: 3.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001109/0.5917, allocations: 370.5 kB / 435.7 MB, free: 3.055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.5918, allocations: 33.7 kB / 435.8 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5918, allocations: 0 / 435.8 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002938/0.5921, allocations: 67.78 kB / 435.8 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.5925, allocations: 54.91 kB / 435.9 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/0.5953, allocations: 1.736 MB / 437.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.5959, allocations: 62.77 kB / 437.7 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.5959, allocations: 15.38 kB / 437.7 MB, free: 1.117 MB / 346.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: 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 (24): * Single equations (assignments): 22 * 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.0001531/0.5961, allocations: 127.8 kB / 437.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.5962, allocations: 23.72 kB / 437.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.5963, allocations: 25.02 kB / 437.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.141e-06/0.5963, allocations: 4.219 kB / 437.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.537e-06/0.5963, allocations: 0 / 437.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.589e-06/0.5963, allocations: 4.062 kB / 437.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.5968, allocations: 329 kB / 438.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.48e-06/0.5968, allocations: 0 / 438.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.597, allocations: 31.97 kB / 438.2 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002122/0.5972, allocations: 46.97 kB / 438.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.5973, allocations: 0 / 438.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/0.5996, allocations: 1.643 MB / 439.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.805e-06/0.5997, allocations: 4.031 kB / 439.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.6005, allocations: 275.8 kB / 440.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.6007, allocations: 108 kB / 440.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.6007, allocations: 3.5 kB / 440.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.6011, allocations: 42.97 kB / 440.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/0.6012, allocations: 19.53 kB / 440.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.6012, allocations: 7.984 kB / 440.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002971/0.6015, allocations: 198.6 kB / 440.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.87e-07/0.6015, allocations: 0 / 440.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006285/0.6022, allocations: 82.59 kB / 440.7 MB, free: 14.29 MB / 362.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.0001919/0.6024, allocations: 107.1 kB / 440.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.6035, allocations: 416.9 kB / 441.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.805e-06/0.6035, allocations: 0 / 441.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.6039, allocations: 188.5 kB / 441.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.6043, allocations: 50.44 kB / 441.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.6077, allocations: 0.8065 MB / 442.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.6082, allocations: 0.7716 MB / 443 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001968/0.6084, allocations: 26.11 kB / 443 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.6085, allocations: 23.44 kB / 443 MB, free: 11.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.657e-06/0.6086, allocations: 0 / 443 MB, free: 11.96 MB / 362.7 MB Notification: Performance of Templates: time 0.01105/0.6196, allocations: 3.598 MB / 446.6 MB, free: 8.395 MB / 362.7 MB