Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.688e-05, allocations: 8 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1632, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004503/0.1678, allocations: 2.664 MB / 347.6 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1697, allocations: 0.6861 MB / 348.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.1701, allocations: 8 kB / 348.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.1703, allocations: 51.59 kB / 348.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004287/0.1707, allocations: 127.6 kB / 348.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.1711, allocations: 83.89 kB / 348.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005775/0.1717, allocations: 243.5 kB / 348.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.172, allocations: 95.33 kB / 348.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.1723, allocations: 131.5 kB / 349.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.1726, allocations: 147.5 kB / 349.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-05/0.1727, allocations: 16 kB / 349.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.454e-05/0.1727, allocations: 20 kB / 349.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.886e-05/0.1728, allocations: 59.75 kB / 349.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1729, allocations: 36 kB / 349.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006032/0.1735, allocations: 442.9 kB / 349.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1736, allocations: 0 / 349.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1736, allocations: 0 / 349.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.1736, allocations: 0 / 349.8 MB, free: 4.129 MB / 282.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.001474/0.1751, allocations: 0.6125 MB / 350.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1752, allocations: 12.03 kB / 350.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.1753, allocations: 47.44 kB / 350.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.1759, allocations: 315.4 kB / 350.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.176, allocations: 28.98 kB / 350.8 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/0.176, allocations: 32 kB / 350.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1772, allocations: 382.2 kB / 351.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1772, allocations: 4 kB / 351.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.386e-05/0.1773, allocations: 19.95 kB / 351.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.1773, allocations: 8 kB / 351.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.1784, allocations: 303.8 kB / 351.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.1822, allocations: 1.459 MB / 353 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1833, allocations: 262.6 kB / 353.2 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1833, allocations: 0 / 353.2 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.1834, allocations: 34.56 kB / 353.3 MB, free: 444 kB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.1834, allocations: 0 / 353.3 MB, free: 444 kB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.004131/0.1875, allocations: 0.8009 MB / 354.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.1876, allocations: 55.41 kB / 354.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.1882, allocations: 282.6 kB / 354.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.1883, allocations: 29.69 kB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.1885, allocations: 282.1 kB / 354.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.1886, allocations: 51.27 kB / 354.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.1886, allocations: 7.938 kB / 354.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1887, allocations: 322.8 kB / 355.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.1892, allocations: 87.95 kB / 355.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.1896, allocations: 157.4 kB / 355.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.1901, allocations: 110.7 kB / 355.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1901, allocations: 0 / 355.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001778/0.1919, allocations: 423 kB / 355.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1919, allocations: 4 kB / 355.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.192, allocations: 4 kB / 355.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/0.1927, allocations: 129.6 kB / 356 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.193, allocations: 39.98 kB / 356 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006556/0.1996, allocations: 3.361 MB / 359.4 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.2001, allocations: 39.67 kB / 359.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.2001, allocations: 8 kB / 359.4 MB, free: 9.883 MB / 298.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.0002655/0.2004, allocations: 153.8 kB / 359.6 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.2005, allocations: 39.59 kB / 359.6 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.809e-05/0.2006, allocations: 30.3 kB / 359.6 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2006, allocations: 0 / 359.6 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2006, allocations: 0 / 359.6 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2006, allocations: 0 / 359.6 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006036/0.2012, allocations: 369.3 kB / 360 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2013, allocations: 0 / 360 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.2014, allocations: 12 kB / 360 MB, free: 9.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006653/0.2021, allocations: 125.6 kB / 360.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.2022, allocations: 0 / 360.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005488/0.2076, allocations: 3.248 MB / 363.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2077, allocations: 0 / 363.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.2093, allocations: 452.7 kB / 363.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.2095, allocations: 108.7 kB / 363.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-05/0.2096, allocations: 4 kB / 363.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.21, allocations: 31.97 kB / 363.9 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.2101, allocations: 11.98 kB / 364 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.2102, allocations: 8 kB / 364 MB, free: 4.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003588/0.2105, allocations: 221.9 kB / 364.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.2106, allocations: 4 kB / 364.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006896/0.2113, allocations: 99.78 kB / 364.3 MB, free: 4.629 MB / 298.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.00017/0.2114, allocations: 103.2 kB / 364.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.2134, allocations: 0.5284 MB / 364.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.2134, allocations: 0 / 364.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.2141, allocations: 346.4 kB / 365.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/0.2147, allocations: 52.52 kB / 365.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.2164, allocations: 0.7063 MB / 366 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.2168, allocations: 0.7872 MB / 366.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2169, allocations: 23.44 kB / 366.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.217, allocations: 0 / 366.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of Templates: time 0.01316/0.2301, allocations: 6.433 MB / 373.3 MB, free: 11.55 MB / 314.7 MB