Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadModel(Modelica): time 2.343/2.343, allocations: 224.7 MB / 241.1 MB, free: 1.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.058e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 50.42 MB / 345 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004035/0.1128, allocations: 2.349 MB / 347.3 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1144, allocations: 0.6158 MB / 348 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.1147, allocations: 7.938 kB / 348 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.574e-05/0.1148, allocations: 35.75 kB / 348 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003789/0.1152, allocations: 103.7 kB / 348.1 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1156, allocations: 67.86 kB / 348.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000438/0.116, allocations: 203.5 kB / 348.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.1162, allocations: 65.06 kB / 348.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.1165, allocations: 111.7 kB / 348.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.1167, allocations: 131.5 kB / 348.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.018e-05/0.1168, allocations: 12 kB / 348.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.159e-05/0.1169, allocations: 16 kB / 348.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.23e-05/0.117, allocations: 51.75 kB / 348.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.984e-05/0.1171, allocations: 27.94 kB / 348.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.1176, allocations: 351.3 kB / 349.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1176, allocations: 4 kB / 349.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.1176, allocations: 0 / 349.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1176, allocations: 0 / 349.1 MB, free: 4.77 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.001691/0.1193, allocations: 0.6031 MB / 349.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.1194, allocations: 12.03 kB / 349.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.1195, allocations: 35.62 kB / 349.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.12, allocations: 294.4 kB / 350.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.1201, allocations: 16.56 kB / 350.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.1202, allocations: 24 kB / 350.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.1214, allocations: 335.6 kB / 350.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1214, allocations: 0 / 350.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.1215, allocations: 11.95 kB / 350.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.1215, allocations: 8 kB / 350.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.123, allocations: 318 kB / 350.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.1263, allocations: 1.182 MB / 351.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.1279, allocations: 286.4 kB / 352.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.128, allocations: 4 kB / 352.2 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008173/0.1288, allocations: 201.8 kB / 352.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.815e-06/0.1288, allocations: 0 / 352.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.004313/0.1331, allocations: 0.7254 MB / 353.1 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.1333, allocations: 110.8 kB / 353.2 MB, free: 384 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.1337, allocations: 257.7 kB / 353.5 MB, free: 112 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.1338, allocations: 29.7 kB / 353.5 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.134, allocations: 250.2 kB / 353.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.47e-05/0.1341, allocations: 47.44 kB / 353.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.1341, allocations: 4 kB / 353.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1343, allocations: 322.8 kB / 354.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/0.135, allocations: 120.4 kB / 354.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007483/0.1357, allocations: 213.6 kB / 354.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/0.1364, allocations: 169.5 kB / 354.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.1365, allocations: 0 / 354.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002282/0.1388, allocations: 494.8 kB / 355.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.035e-05/0.1389, allocations: 33.7 kB / 355.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.1389, allocations: 4 kB / 355.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.1395, allocations: 88.86 kB / 355.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.1399, allocations: 59.89 kB / 355.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.1443, allocations: 1.854 MB / 357.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/0.145, allocations: 59.78 kB / 357.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.1451, allocations: 11.98 kB / 357.2 MB, free: 12.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002469/0.1453, allocations: 154 kB / 357.4 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.1454, allocations: 31.64 kB / 357.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.635e-05/0.1455, allocations: 29.83 kB / 357.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1455, allocations: 0 / 357.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1455, allocations: 128 / 357.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1455, allocations: 4 kB / 357.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.146, allocations: 333.2 kB / 357.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.146, allocations: 0 / 357.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.1463, allocations: 36.19 kB / 357.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005189/0.1468, allocations: 84.8 kB / 357.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.1469, allocations: 7.938 kB / 357.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/0.1508, allocations: 1.741 MB / 359.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1509, allocations: 384 / 359.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.153, allocations: 397.5 kB / 360 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.1532, allocations: 108.8 kB / 360.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.1533, allocations: 4 kB / 360.1 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/0.1537, allocations: 51.89 kB / 360.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.1539, allocations: 23.92 kB / 360.2 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1539, allocations: 4 kB / 360.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003278/0.1542, allocations: 206 kB / 360.4 MB, free: 8.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1543, allocations: 0 / 360.4 MB, free: 8.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005617/0.1548, allocations: 75.84 kB / 360.5 MB, free: 8.676 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.0002285/0.1551, allocations: 106.5 kB / 360.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.1568, allocations: 454.6 kB / 361 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1569, allocations: 0 / 361 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008554/0.1577, allocations: 259 kB / 361.3 MB, free: 7.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.1582, allocations: 44.47 kB / 361.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.1599, allocations: 0.5981 MB / 361.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1603, allocations: 0.7638 MB / 362.7 MB, free: 6.363 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.1605, allocations: 19.44 kB / 362.7 MB, free: 6.344 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1605, allocations: 0 / 362.7 MB, free: 6.344 MB / 298.7 MB Notification: Performance of Templates: time 0.01086/0.1714, allocations: 4.566 MB / 367.3 MB, free: 1.785 MB / 298.7 MB