Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadModel(Modelica): time 2.156/2.156, allocations: 225.8 MB / 239.4 MB, free: 1.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.263e-05/5.281e-05, allocations: 7.984 kB / 292.7 MB, free: 11.47 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1277, allocations: 50.41 MB / 343.1 MB, free: 9.059 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.5354, allocations: 81.07 MB / 424.2 MB, free: 8.234 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.5357, allocations: 79.53 kB / 424.2 MB, free: 8.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02287/0.5586, allocations: 6.407 MB / 430.6 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.25e-06/0.5586, allocations: 0 / 430.6 MB, free: 6.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.5587, allocations: 3.844 kB / 430.6 MB, free: 6.422 MB / 330.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.0009399/0.5596, allocations: 0.5878 MB / 431.2 MB, free: 5.926 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5597, allocations: 7.688 kB / 431.2 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.769e-05/0.5598, allocations: 38.81 kB / 431.3 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.5602, allocations: 292.4 kB / 431.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.5602, allocations: 19.09 kB / 431.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.5603, allocations: 21.94 kB / 431.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.5609, allocations: 268.6 kB / 431.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.5609, allocations: 3.953 kB / 431.9 MB, free: 5.578 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.013e-05/0.5609, allocations: 14.3 kB / 431.9 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.507e-06/0.561, allocations: 3.812 kB / 431.9 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.5614, allocations: 188.5 kB / 432.1 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.5636, allocations: 1.193 MB / 433.3 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.564, allocations: 147.9 kB / 433.4 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.5642, allocations: 58.89 kB / 433.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.5642, allocations: 7.75 kB / 433.5 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.5645, allocations: 140.5 kB / 433.6 MB, free: 4.672 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.609e-06/0.5645, allocations: 0 / 433.6 MB, free: 4.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.000765/0.5653, allocations: 237.8 kB / 433.8 MB, free: 4.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.5654, allocations: 110.6 kB / 434 MB, free: 4.457 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.5657, allocations: 254.9 kB / 434.2 MB, free: 4.344 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.5658, allocations: 28.95 kB / 434.2 MB, free: 4.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.5659, allocations: 206.5 kB / 434.4 MB, free: 4.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.5659, allocations: 38.36 kB / 434.5 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.566, allocations: 7.094 kB / 434.5 MB, free: 4.133 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.566, allocations: 332.3 kB / 434.8 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.5662, allocations: 59.06 kB / 434.9 MB, free: 3.809 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.5664, allocations: 155.1 kB / 435 MB, free: 3.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.5666, allocations: 95.5 kB / 435.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.834e-06/0.5667, allocations: 3.812 kB / 435.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009013/0.5676, allocations: 377.2 kB / 435.5 MB, free: 3.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.5676, allocations: 37.5 kB / 435.5 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.418e-06/0.5676, allocations: 0 / 435.5 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000254/0.5679, allocations: 58.03 kB / 435.6 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.5682, allocations: 57.89 kB / 435.6 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.5703, allocations: 1.653 MB / 437.3 MB, free: 18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.5708, allocations: 54.38 kB / 437.3 MB, free: 17.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.5708, allocations: 15 kB / 437.3 MB, free: 17.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 21 * 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.0001433/0.571, allocations: 120.3 kB / 437.5 MB, free: 17.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.571, allocations: 27 kB / 437.5 MB, free: 17.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.5711, allocations: 24.77 kB / 437.5 MB, free: 17.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-06/0.5711, allocations: 4.219 kB / 437.5 MB, free: 17.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.685e-06/0.5711, allocations: 0 / 437.5 MB, free: 17.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.493e-06/0.5712, allocations: 11.77 kB / 437.5 MB, free: 17.83 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.5715, allocations: 327.9 kB / 437.9 MB, free: 17.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.622e-06/0.5716, allocations: 4.109 kB / 437.9 MB, free: 17.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.5718, allocations: 31 kB / 437.9 MB, free: 17.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.572, allocations: 54.06 kB / 437.9 MB, free: 17.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.572, allocations: 0 / 437.9 MB, free: 17.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.5739, allocations: 1.526 MB / 439.5 MB, free: 16.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.098e-06/0.5739, allocations: 0 / 439.5 MB, free: 16.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006957/0.5746, allocations: 273 kB / 439.7 MB, free: 16.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5748, allocations: 104.5 kB / 439.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.5748, allocations: 3.875 kB / 439.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.5751, allocations: 46.16 kB / 439.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.5753, allocations: 22.81 kB / 439.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.5753, allocations: 4 kB / 439.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002574/0.5756, allocations: 198 kB / 440.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.5756, allocations: 0 / 440.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005289/0.5761, allocations: 77.06 kB / 440.2 MB, free: 15.86 MB / 346.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.0001797/0.5763, allocations: 106.8 kB / 440.3 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006811/0.577, allocations: 341.8 kB / 440.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.533e-06/0.577, allocations: 0 / 440.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.5773, allocations: 181.3 kB / 440.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.5777, allocations: 50.28 kB / 440.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.5785, allocations: 286.7 kB / 441.1 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.5789, allocations: 0.762 MB / 441.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.5791, allocations: 25.59 kB / 441.9 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.5792, allocations: 23.12 kB / 441.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.639e-06/0.5792, allocations: 0 / 441.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Templates: time 0.009846/0.5891, allocations: 3.667 MB / 445.6 MB, free: 12.72 MB / 346.7 MB