Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 224.8 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.946e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 50.41 MB / 345 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004008/0.1126, allocations: 2.349 MB / 347.3 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1142, allocations: 0.6158 MB / 347.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.1145, allocations: 11.94 kB / 348 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.365e-05/0.1146, allocations: 31.75 kB / 348 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.115, allocations: 99.7 kB / 348.1 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1153, allocations: 71.84 kB / 348.2 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004406/0.1157, allocations: 195.6 kB / 348.3 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.116, allocations: 73 kB / 348.4 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.1162, allocations: 107.7 kB / 348.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.1165, allocations: 127.5 kB / 348.6 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.159e-05/0.1165, allocations: 16 kB / 348.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.105e-05/0.1166, allocations: 12 kB / 348.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.1167, allocations: 59.73 kB / 348.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.887e-05/0.1168, allocations: 28 kB / 348.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.1173, allocations: 351.2 kB / 349.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1173, allocations: 0 / 349.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1173, allocations: 4 kB / 349.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1174, allocations: 0 / 349.1 MB, free: 4.777 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00171/0.1191, allocations: 0.6031 MB / 349.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1191, allocations: 8.031 kB / 349.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.1193, allocations: 35.62 kB / 349.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/0.1198, allocations: 294.4 kB / 350 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.1199, allocations: 20.56 kB / 350.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.12, allocations: 28 kB / 350.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.1212, allocations: 331.6 kB / 350.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1212, allocations: 0 / 350.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.1213, allocations: 15.95 kB / 350.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.1213, allocations: 11.98 kB / 350.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.1228, allocations: 314 kB / 350.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.1259, allocations: 1.17 MB / 351.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.1275, allocations: 294.4 kB / 352.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.1276, allocations: 0 / 352.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008169/0.1284, allocations: 205.8 kB / 352.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.933e-06/0.1285, allocations: 0 / 352.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.004351/0.1328, allocations: 0.7293 MB / 353.1 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.133, allocations: 110.8 kB / 353.2 MB, free: 388 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.1334, allocations: 261.7 kB / 353.5 MB, free: 112 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.1335, allocations: 29.7 kB / 353.5 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.1337, allocations: 250.1 kB / 353.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.09e-05/0.1338, allocations: 43.39 kB / 353.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.1339, allocations: 12 kB / 353.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.134, allocations: 318.8 kB / 354.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000672/0.1347, allocations: 124.2 kB / 354.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007404/0.1354, allocations: 221.2 kB / 354.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/0.1362, allocations: 161.6 kB / 354.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.1362, allocations: 0 / 354.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002293/0.1385, allocations: 0.4949 MB / 355.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.1386, allocations: 33.7 kB / 355.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.1386, allocations: 7.984 kB / 355.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006015/0.1392, allocations: 88.88 kB / 355.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.1397, allocations: 55.89 kB / 355.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.1446, allocations: 1.948 MB / 357.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006491/0.1453, allocations: 63.64 kB / 357.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.1453, allocations: 12 kB / 357.3 MB, free: 12.05 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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.0002415/0.1456, allocations: 157.2 kB / 357.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.1456, allocations: 23.72 kB / 357.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.553e-05/0.1457, allocations: 29.77 kB / 357.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1457, allocations: 3.938 kB / 357.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1458, allocations: 4 kB / 357.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1458, allocations: 0 / 357.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.1462, allocations: 325.4 kB / 357.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1462, allocations: 4 kB / 357.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.1465, allocations: 32.19 kB / 357.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.147, allocations: 80.8 kB / 358 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.1471, allocations: 11.94 kB / 358 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004065/0.1511, allocations: 1.85 MB / 359.8 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1512, allocations: 3.984 kB / 359.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.1533, allocations: 405.5 kB / 360.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1534, allocations: 104.8 kB / 360.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.1535, allocations: 11.94 kB / 360.4 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/0.154, allocations: 35.97 kB / 360.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.1541, allocations: 19.97 kB / 360.4 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.1542, allocations: 8 kB / 360.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003144/0.1545, allocations: 202 kB / 360.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1545, allocations: 0 / 360.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005825/0.1551, allocations: 79.84 kB / 360.7 MB, free: 8.461 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 (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.0001869/0.1553, allocations: 103.2 kB / 360.8 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.1577, allocations: 0.5253 MB / 361.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1577, allocations: 0 / 361.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008664/0.1586, allocations: 263.8 kB / 361.6 MB, free: 7.531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.1591, allocations: 48.47 kB / 361.6 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005814/0.1649, allocations: 1.113 MB / 362.7 MB, free: 6.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.1654, allocations: 0.7638 MB / 363.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.1655, allocations: 19.44 kB / 363.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of SimCode: time 1.253e-06/0.1655, allocations: 0 / 363.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of Templates: time 0.01076/0.1763, allocations: 4.596 MB / 368.1 MB, free: 0.9375 MB / 298.7 MB