Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadModel(Modelica): time 2.174/2.174, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.476e-05, allocations: 8 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09199, allocations: 50.42 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4506/0.5426, allocations: 81.04 MB / 424.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.5429, allocations: 76.89 kB / 424.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02378/0.5667, allocations: 6.134 MB / 430.3 MB, free: 7.953 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.22e-06/0.5668, allocations: 4 kB / 430.3 MB, free: 7.949 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.416e-05/0.5668, allocations: 8 kB / 430.4 MB, free: 7.941 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001103/0.5679, allocations: 0.5914 MB / 430.9 MB, free: 7.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.568, allocations: 8.031 kB / 431 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.5681, allocations: 39.53 kB / 431 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.5687, allocations: 314.7 kB / 431.3 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.5687, allocations: 30.83 kB / 431.3 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/0.5688, allocations: 30.81 kB / 431.4 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007853/0.5696, allocations: 349.7 kB / 431.7 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5696, allocations: 4 kB / 431.7 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.5697, allocations: 17.39 kB / 431.7 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.5697, allocations: 12 kB / 431.7 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.5704, allocations: 249 kB / 432 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/0.5736, allocations: 1.469 MB / 433.4 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.5742, allocations: 195.3 kB / 433.6 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.5744, allocations: 69.48 kB / 433.7 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.5744, allocations: 4 kB / 433.7 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.5745, allocations: 30.56 kB / 433.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.12e-06/0.5745, allocations: 0 / 433.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009161/0.5754, allocations: 279.3 kB / 434 MB, free: 4.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.5755, allocations: 55.41 kB / 434.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.5759, allocations: 280.1 kB / 434.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.576, allocations: 33.27 kB / 434.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.5762, allocations: 225.3 kB / 434.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.5763, allocations: 58.25 kB / 434.6 MB, free: 4.242 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.5763, allocations: 3.25 kB / 434.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5765, allocations: 337.6 kB / 435 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.5767, allocations: 61.12 kB / 435 MB, free: 3.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.5769, allocations: 133 kB / 435.2 MB, free: 3.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.5771, allocations: 80.67 kB / 435.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-06/0.5772, allocations: 0 / 435.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001104/0.5783, allocations: 376.3 kB / 435.6 MB, free: 3.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.5783, allocations: 4 kB / 435.6 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5784, allocations: 4 kB / 435.6 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/0.5788, allocations: 90.16 kB / 435.7 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.579, allocations: 34.92 kB / 435.7 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004335/0.5834, allocations: 3.111 MB / 438.9 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.5838, allocations: 39.61 kB / 438.9 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.5838, allocations: 8 kB / 438.9 MB, free: 104 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.584, allocations: 129.7 kB / 439 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/0.5841, allocations: 35.56 kB / 439.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.882e-05/0.5842, allocations: 31.83 kB / 439.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.5842, allocations: 0 / 439.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.536e-06/0.5842, allocations: 3.938 kB / 439.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.5843, allocations: 4 kB / 439.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.5849, allocations: 357 kB / 439.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5849, allocations: 0 / 439.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.585, allocations: 20.08 kB / 439.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.5854, allocations: 86.36 kB / 439.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.5854, allocations: 0 / 439.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/0.5892, allocations: 3.021 MB / 442.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.532e-06/0.5893, allocations: 8.094 kB / 442.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000973/0.5902, allocations: 381.2 kB / 443 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.5904, allocations: 108.7 kB / 443.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/0.5905, allocations: 7.75 kB / 443.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.5908, allocations: 27.98 kB / 443.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.5909, allocations: 15.3 kB / 443.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.5909, allocations: 7.984 kB / 443.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003392/0.5913, allocations: 213.9 kB / 443.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.19e-07/0.5913, allocations: 0 / 443.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000718/0.592, allocations: 103.4 kB / 443.4 MB, free: 11.68 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.5922, allocations: 107.2 kB / 443.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.5933, allocations: 459.2 kB / 444 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.154e-06/0.5934, allocations: 0 / 444 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.5939, allocations: 318.2 kB / 444.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.5944, allocations: 46.84 kB / 444.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009798/0.5954, allocations: 358.9 kB / 444.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.5959, allocations: 0.7911 MB / 445.5 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.5961, allocations: 26.97 kB / 445.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.5962, allocations: 19.44 kB / 445.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of SimCode: time 1.877e-06/0.5962, allocations: 0 / 445.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of Templates: time 0.01174/0.608, allocations: 3.572 MB / 449.1 MB, free: 6.098 MB / 362.7 MB