Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadModel(Modelica): time 2.379/2.379, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.18e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 50.42 MB / 345 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004009/0.1141, allocations: 2.458 MB / 347.5 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1157, allocations: 0.651 MB / 348.1 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.1159, allocations: 8 kB / 348.1 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.727e-05/0.116, allocations: 35.69 kB / 348.1 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.1164, allocations: 115.6 kB / 348.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.1167, allocations: 83.84 kB / 348.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.1171, allocations: 223.4 kB / 348.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.1173, allocations: 73.58 kB / 348.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.1176, allocations: 115.7 kB / 348.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.1179, allocations: 155.5 kB / 348.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.26e-05/0.118, allocations: 16 kB / 348.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.131e-05/0.1181, allocations: 12 kB / 348.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.23e-05/0.1181, allocations: 55.81 kB / 349 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.1183, allocations: 31.94 kB / 349 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.1188, allocations: 383.1 kB / 349.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1188, allocations: 0 / 349.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1188, allocations: 0 / 349.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1188, allocations: 0 / 349.4 MB, free: 4.516 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001882/0.1207, allocations: 0.6256 MB / 350 MB, free: 3.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1208, allocations: 8.031 kB / 350 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.1209, allocations: 39.53 kB / 350.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/0.1215, allocations: 305.5 kB / 350.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.1215, allocations: 20.56 kB / 350.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.1216, allocations: 27.98 kB / 350.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.1229, allocations: 355.6 kB / 350.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1229, allocations: 0 / 350.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.123, allocations: 15.95 kB / 350.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.123, allocations: 15.94 kB / 350.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.1245, allocations: 334 kB / 351.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/0.1281, allocations: 1.318 MB / 352.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.1294, allocations: 262.4 kB / 352.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1295, allocations: 0 / 352.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008368/0.1303, allocations: 205.7 kB / 352.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.1303, allocations: 0 / 352.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.004348/0.1347, allocations: 0.7565 MB / 353.6 MB, free: 8 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1348, allocations: 106.8 kB / 353.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.1353, allocations: 266.1 kB / 354 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.1354, allocations: 33.7 kB / 354 MB, free: 15.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.1356, allocations: 261.9 kB / 354.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/0.1357, allocations: 51.34 kB / 354.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.1357, allocations: 4 kB / 354.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1359, allocations: 326.8 kB / 354.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006604/0.1365, allocations: 119.9 kB / 354.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/0.1373, allocations: 220.5 kB / 355 MB, free: 14.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.1381, allocations: 176.3 kB / 355.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1381, allocations: 0 / 355.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.002459/0.1405, allocations: 0.5076 MB / 355.7 MB, free: 13.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.1406, allocations: 29.7 kB / 355.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.1407, allocations: 4 kB / 355.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/0.1413, allocations: 92.86 kB / 355.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.1418, allocations: 63.89 kB / 355.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/0.1461, allocations: 1.861 MB / 357.7 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006725/0.1468, allocations: 67.72 kB / 357.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.1468, allocations: 16 kB / 357.8 MB, free: 11.59 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 (26): * Single equations (assignments): 24 * 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.0002517/0.1471, allocations: 149.7 kB / 357.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.1472, allocations: 23.91 kB / 358 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.759e-05/0.1473, allocations: 33.84 kB / 358 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1473, allocations: 4 kB / 358 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1473, allocations: 0 / 358 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.1473, allocations: 0 / 358 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.1478, allocations: 349.3 kB / 358.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1478, allocations: 0 / 358.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.1482, allocations: 39.91 kB / 358.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005024/0.1487, allocations: 92.92 kB / 358.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1487, allocations: 0 / 358.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003794/0.1525, allocations: 1.745 MB / 360.2 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1526, allocations: 3.984 kB / 360.2 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004728/0.1573, allocations: 0.5448 MB / 360.8 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.1576, allocations: 100.8 kB / 360.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.1577, allocations: 7.953 kB / 360.9 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006897/0.1585, allocations: 43.95 kB / 360.9 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.1587, allocations: 24.03 kB / 360.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.1587, allocations: 4 kB / 361 MB, free: 8.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005309/0.1592, allocations: 210 kB / 361.2 MB, free: 8 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1593, allocations: 3.938 kB / 361.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001008/0.1603, allocations: 83.78 kB / 361.2 MB, free: 7.914 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * 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 (11): * Single equations (assignments): 8 * 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.0002869/0.1606, allocations: 107.2 kB / 361.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00271/0.1633, allocations: 469.8 kB / 361.8 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.906e-05/0.1635, allocations: 0 / 361.8 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002618/0.1662, allocations: 255.2 kB / 362.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.1667, allocations: 56.84 kB / 362.1 MB, free: 6.996 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1686, allocations: 0.7227 MB / 362.8 MB, free: 6.238 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.1691, allocations: 0.776 MB / 363.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.1692, allocations: 19.44 kB / 363.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1692, allocations: 0 / 363.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of Templates: time 0.01546/0.1847, allocations: 4.988 MB / 368.6 MB, free: 448 kB / 298.7 MB