Running command: translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.11e-05, allocations: 0 / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1467, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ResetHoldIntegrator): time 0.002286/0.1491, allocations: 1.301 MB / 412.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009725/0.1501, allocations: 431.5 kB / 412.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.1501, allocations: 0 / 412.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.1502, allocations: 11.92 kB / 412.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.415e-05/0.1503, allocations: 11.92 kB / 412.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.1505, allocations: 27.91 kB / 412.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1506, allocations: 47.8 kB / 412.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1508, allocations: 23.97 kB / 412.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.1508, allocations: 15.94 kB / 412.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.1509, allocations: 19.91 kB / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.933e-05/0.1509, allocations: 4 kB / 412.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1509, allocations: 4 kB / 412.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.151, allocations: 7.938 kB / 412.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.151, allocations: 12 kB / 412.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1511, allocations: 44.17 kB / 412.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1511, allocations: 0 / 412.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1511, allocations: 0 / 412.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1512, allocations: 4 kB / 412.9 MB, free: 10.88 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005978/0.1518, allocations: 371.2 kB / 413.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1518, allocations: 8.031 kB / 413.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.1519, allocations: 7.906 kB / 413.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1521, allocations: 194.9 kB / 413.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.1522, allocations: 8 kB / 413.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.1522, allocations: 7.953 kB / 413.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.1524, allocations: 73.61 kB / 413.5 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1524, allocations: 0 / 413.5 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1525, allocations: 0 / 413.5 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.1525, allocations: 7.984 kB / 413.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1526, allocations: 39.97 kB / 413.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.1534, allocations: 360.5 kB / 413.9 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.1535, allocations: 50.5 kB / 414 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1536, allocations: 3.938 kB / 414 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.1538, allocations: 79.48 kB / 414.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.1538, allocations: 0 / 414.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002802/0.1541, allocations: 85.52 kB / 414.1 MB, free: 9.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.1541, allocations: 55.36 kB / 414.2 MB, free: 9.375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1543, allocations: 133 kB / 414.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.1543, allocations: 25.7 kB / 414.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.1544, allocations: 170.5 kB / 414.5 MB, free: 9.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1545, allocations: 15.81 kB / 414.5 MB, free: 9.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.1545, allocations: 0 / 414.5 MB, free: 9.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1546, allocations: 322.8 kB / 414.8 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.1547, allocations: 12 kB / 414.9 MB, free: 8.688 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.1548, allocations: 38.56 kB / 414.9 MB, free: 8.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.886e-05/0.1549, allocations: 12 kB / 414.9 MB, free: 8.629 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1549, allocations: 0 / 414.9 MB, free: 8.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002008/0.1551, allocations: 85.62 kB / 415 MB, free: 8.539 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1551, allocations: 4 kB / 415 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1551, allocations: 0 / 415 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1552, allocations: 7.938 kB / 415 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.1553, allocations: 7.984 kB / 415 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.1553, allocations: 4 kB / 415 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1554, allocations: 15.94 kB / 415 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1554, allocations: 4 kB / 415 MB, free: 8.496 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,integrator.reset,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.fallingEdge.not_u,fallingEdge.not_u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.1556, allocations: 121.9 kB / 415.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.1556, allocations: 11.89 kB / 415.2 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.1556, allocations: 12.72 kB / 415.2 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1557, allocations: 0 / 415.2 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1557, allocations: 0 / 415.2 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1557, allocations: 3.938 kB / 415.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.1562, allocations: 350.5 kB / 415.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1562, allocations: 0 / 415.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.985e-05/0.1563, allocations: 8 kB / 415.5 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1563, allocations: 0 / 415.5 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1563, allocations: 3.984 kB / 415.5 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1563, allocations: 4 kB / 415.5 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1563, allocations: 3.953 kB / 415.5 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.1566, allocations: 191.6 kB / 415.7 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.1567, allocations: 85 kB / 415.8 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1568, allocations: 7.969 kB / 415.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.1569, allocations: 8.062 kB / 415.8 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.157, allocations: 11.98 kB / 415.8 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.157, allocations: 7.938 kB / 415.8 MB, free: 7.582 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.923e-05/0.1571, allocations: 106.9 kB / 416 MB, free: 7.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1571, allocations: 0 / 416 MB, free: 7.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000296/0.1574, allocations: 23.84 kB / 416 MB, free: 7.457 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 5 (integrator.reset,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,fallingEdge.not_u) * Number of discrete states: 1 (fallingEdge.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001438/0.1576, allocations: 99.23 kB / 416.1 MB, free: 7.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1578, allocations: 52.47 kB / 416.1 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1578, allocations: 0 / 416.1 MB, free: 7.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-05/0.1579, allocations: 24.08 kB / 416.1 MB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1582, allocations: 15.98 kB / 416.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.159, allocations: 263.4 kB / 416.4 MB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1593, allocations: 0.6965 MB / 417.1 MB, free: 6.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.1594, allocations: 11.44 kB / 417.1 MB, free: 6.234 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1594, allocations: 3.938 kB / 417.1 MB, free: 6.23 MB / 346.7 MB Notification: Performance of Templates: time 0.003476/0.1629, allocations: 1.117 MB / 418.2 MB, free: 5.113 MB / 346.7 MB