Running command: translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadModel(Modelica): time 2.248/2.248, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/2.993e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.006905/0.1358, allocations: 2.22 MB / 347.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1374, allocations: 0.5535 MB / 347.8 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1376, allocations: 11.94 kB / 347.8 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.058e-05/0.1377, allocations: 27.77 kB / 347.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.138, allocations: 95.7 kB / 347.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.1383, allocations: 59.92 kB / 347.9 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.1387, allocations: 191.4 kB / 348.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.1389, allocations: 65.59 kB / 348.2 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1392, allocations: 103.8 kB / 348.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.1394, allocations: 127.5 kB / 348.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.1395, allocations: 16 kB / 348.4 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.1396, allocations: 16 kB / 348.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.1397, allocations: 47.81 kB / 348.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.827e-05/0.1398, allocations: 24 kB / 348.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004307/0.1402, allocations: 271.5 kB / 348.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1402, allocations: 0 / 348.8 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1402, allocations: 4 kB / 348.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.1403, allocations: 0 / 348.8 MB, free: 5.109 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001692/0.142, allocations: 0.5914 MB / 349.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.142, allocations: 12.03 kB / 349.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.1422, allocations: 39.56 kB / 349.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.1426, allocations: 271.3 kB / 349.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.1427, allocations: 20.56 kB / 349.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.1428, allocations: 24 kB / 349.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.1439, allocations: 311.3 kB / 350 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1439, allocations: 3.938 kB / 350.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.144, allocations: 12 kB / 350.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.144, allocations: 12 kB / 350.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.1455, allocations: 269.5 kB / 350.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.1483, allocations: 1.109 MB / 351.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.15, allocations: 246.6 kB / 351.7 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.1501, allocations: 4 kB / 351.7 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007669/0.1509, allocations: 186 kB / 351.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 2.905e-06/0.1509, allocations: 0 / 351.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.003646/0.1545, allocations: 0.5305 MB / 352.4 MB, free: 1.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.1547, allocations: 110.8 kB / 352.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.1551, allocations: 257.8 kB / 352.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/0.1552, allocations: 33.7 kB / 352.8 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1554, allocations: 254 kB / 353 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.1554, allocations: 35.45 kB / 353.1 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.1555, allocations: 8 kB / 353.1 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1556, allocations: 326.7 kB / 353.4 MB, free: 196 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/0.1562, allocations: 108.2 kB / 353.5 MB, free: 84 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007488/0.157, allocations: 206.1 kB / 353.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.1577, allocations: 153.5 kB / 353.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1577, allocations: 0 / 353.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002114/0.1598, allocations: 431.8 kB / 354.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.1599, allocations: 37.78 kB / 354.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.1599, allocations: 8 kB / 354.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005244/0.1605, allocations: 64.81 kB / 354.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.1609, allocations: 59.89 kB / 354.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003662/0.1646, allocations: 1.609 MB / 356.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006583/0.1653, allocations: 71.61 kB / 356.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.1653, allocations: 12 kB / 356.1 MB, free: 13.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.1655, allocations: 137.8 kB / 356.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.1656, allocations: 27.7 kB / 356.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.1657, allocations: 29.7 kB / 356.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1657, allocations: 3.938 kB / 356.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1657, allocations: 0 / 356.3 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1657, allocations: 4 kB / 356.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.1661, allocations: 305.3 kB / 356.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1662, allocations: 0 / 356.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.1664, allocations: 23.98 kB / 356.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.1669, allocations: 72.75 kB / 356.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.1669, allocations: 4 kB / 356.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003433/0.1704, allocations: 1.594 MB / 358.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1704, allocations: 0 / 358.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.1723, allocations: 337.4 kB / 358.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.1725, allocations: 116.7 kB / 358.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.1726, allocations: 8 kB / 358.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.1731, allocations: 31.97 kB / 358.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.1732, allocations: 31.95 kB / 358.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1733, allocations: 0 / 358.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003276/0.1736, allocations: 205.9 kB / 359 MB, free: 10.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1736, allocations: 0 / 359 MB, free: 10.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005025/0.1741, allocations: 79.84 kB / 359.1 MB, free: 10.02 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: 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 (7): * Single equations (assignments): 4 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001726/0.1743, allocations: 107.2 kB / 359.2 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.176, allocations: 430.5 kB / 359.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.176, allocations: 4.062 kB / 359.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008966/0.1769, allocations: 230.6 kB / 359.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.1774, allocations: 44.86 kB / 359.9 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.179, allocations: 0.5725 MB / 360.5 MB, free: 8.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1794, allocations: 0.7599 MB / 361.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1796, allocations: 23.38 kB / 361.3 MB, free: 7.762 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1796, allocations: 3.938 kB / 361.3 MB, free: 7.758 MB / 298.7 MB Notification: Performance of Templates: time 0.01029/0.1899, allocations: 4.264 MB / 365.5 MB, free: 3.496 MB / 298.7 MB