Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadModel(Modelica): time 2.092/2.092, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.454e-05/3.456e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1557, allocations: 50.42 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006044/0.1618, allocations: 3.512 MB / 348.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.1648, allocations: 1.099 MB / 349.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.1655, allocations: 19.94 kB / 349.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.166, allocations: 99.3 kB / 349.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007991/0.1668, allocations: 207.3 kB / 349.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.1673, allocations: 139.7 kB / 350.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000971/0.1683, allocations: 403.7 kB / 350.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.1687, allocations: 150.1 kB / 350.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.1692, allocations: 203.5 kB / 350.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005182/0.1698, allocations: 239.1 kB / 351 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1699, allocations: 28 kB / 351.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.57e-05/0.17, allocations: 24 kB / 351.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.1702, allocations: 99.58 kB / 351.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.1704, allocations: 56 kB / 351.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008127/0.1712, allocations: 0.5416 MB / 351.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1712, allocations: 3.938 kB / 351.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1712, allocations: 0 / 351.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.1712, allocations: 0 / 351.8 MB, free: 2.113 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002258/0.1735, allocations: 0.7956 MB / 352.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.1736, allocations: 12.03 kB / 352.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.1738, allocations: 71.16 kB / 352.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000821/0.1747, allocations: 388.8 kB / 353 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/0.1748, allocations: 45.25 kB / 353.1 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.1749, allocations: 52 kB / 353.1 MB, free: 0.668 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.1766, allocations: 0.5495 MB / 353.7 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.1766, allocations: 3.953 kB / 353.7 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.586e-05/0.1767, allocations: 27.98 kB / 353.7 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.1768, allocations: 12 kB / 353.7 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.1784, allocations: 429 kB / 354.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005225/0.1836, allocations: 1.859 MB / 356 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.185, allocations: 0.525 MB / 356.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.1851, allocations: 4.328 kB / 356.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000897/0.186, allocations: 298.2 kB / 356.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 3.998e-06/0.186, allocations: 4 kB / 356.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.006386/0.1924, allocations: 1.173 MB / 358 MB, free: 11.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.1926, allocations: 239.3 kB / 358.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007793/0.1934, allocations: 385 kB / 358.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.934e-05/0.1935, allocations: 37.7 kB / 358.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.1939, allocations: 350.6 kB / 359 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.194, allocations: 137.9 kB / 359.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.1941, allocations: 15.94 kB / 359.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1942, allocations: 326.8 kB / 359.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.1948, allocations: 157 kB / 359.6 MB, free: 9.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007598/0.1956, allocations: 317.5 kB / 359.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006772/0.1963, allocations: 189.5 kB / 360.1 MB, free: 9.336 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.1963, allocations: 0 / 360.1 MB, free: 9.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002981/0.1993, allocations: 0.7175 MB / 360.8 MB, free: 8.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.1994, allocations: 12.06 kB / 360.8 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.1994, allocations: 4 kB / 360.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009079/0.2004, allocations: 160.7 kB / 361 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.2011, allocations: 87.94 kB / 361.1 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006941/0.208, allocations: 2.561 MB / 363.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/0.209, allocations: 95.5 kB / 363.7 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.209, allocations: 19.98 kB / 363.8 MB, free: 5.539 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003997/0.2095, allocations: 181.7 kB / 363.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.2096, allocations: 47.44 kB / 364 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.2097, allocations: 56.86 kB / 364 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.2098, allocations: 4 kB / 364 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2098, allocations: 3.938 kB / 364 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.2098, allocations: 0 / 364 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.2136, allocations: 1.234 MB / 365.3 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.2137, allocations: 4 kB / 365.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.2141, allocations: 51.91 kB / 365.3 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008327/0.215, allocations: 152.8 kB / 365.5 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.2151, allocations: 11.98 kB / 365.5 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006771/0.2218, allocations: 2.542 MB / 368 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2219, allocations: 4 kB / 368 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/0.2253, allocations: 0.9015 MB / 368.9 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.2256, allocations: 132.5 kB / 369.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.2258, allocations: 8 kB / 369.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006544/0.2265, allocations: 51.98 kB / 369.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.2266, allocations: 27.95 kB / 369.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.2267, allocations: 8 kB / 369.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005258/0.2272, allocations: 295.1 kB / 369.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.2272, allocations: 0 / 369.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009105/0.2281, allocations: 179.6 kB / 369.6 MB, free: 15.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {3 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002162/0.2284, allocations: 115.2 kB / 369.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00257/0.2309, allocations: 0.6505 MB / 370.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.231, allocations: 0 / 370.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.2327, allocations: 459 kB / 370.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.2335, allocations: 80.17 kB / 370.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.2363, allocations: 1.135 MB / 372 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.2369, allocations: 0.8754 MB / 372.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.2371, allocations: 31.44 kB / 373 MB, free: 12 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2372, allocations: 0 / 373 MB, free: 12 MB / 314.7 MB Notification: Performance of Templates: time 0.0182/0.2554, allocations: 7.983 MB / 380.9 MB, free: 4.023 MB / 314.7 MB