Running command: translateModel(ModelicaTest.Blocks.SelfResettingIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.SelfResettingIntegrator") Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.699e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1377, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.SelfResettingIntegrator): time 0.001284/0.1391, allocations: 0.5066 MB / 411.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002519/0.1394, allocations: 43.84 kB / 411.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.1394, allocations: 4 kB / 411.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.1395, allocations: 0 / 411.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.1396, allocations: 3.938 kB / 411.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.1397, allocations: 15.92 kB / 411.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1398, allocations: 23.97 kB / 411.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.568e-05/0.1399, allocations: 7.984 kB / 411.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.848e-05/0.14, allocations: 15.94 kB / 411.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.14, allocations: 4 kB / 411.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.14, allocations: 0 / 411.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1401, allocations: 0 / 411.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.1401, allocations: 11.92 kB / 411.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.1401, allocations: 0 / 411.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.881e-05/0.1402, allocations: 23.97 kB / 411.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1402, allocations: 0 / 411.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1402, allocations: 3.938 kB / 411.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.1403, allocations: 0 / 411.6 MB, free: 12.19 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004974/0.1408, allocations: 347.5 kB / 411.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1408, allocations: 8.031 kB / 411.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1409, allocations: 7.906 kB / 411.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.1411, allocations: 171.1 kB / 412.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.1411, allocations: 0 / 412.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1412, allocations: 4 kB / 412.1 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1413, allocations: 61.56 kB / 412.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1414, allocations: 0 / 412.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1414, allocations: 0 / 412.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.1414, allocations: 4 kB / 412.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.1415, allocations: 12 kB / 412.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.1422, allocations: 296.6 kB / 412.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.86e-05/0.1423, allocations: 22.58 kB / 412.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.1423, allocations: 0 / 412.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.1424, allocations: 55.47 kB / 412.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/0.1424, allocations: 0 / 412.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001841/0.1426, allocations: 53.53 kB / 412.6 MB, free: 11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1427, allocations: 51.41 kB / 412.6 MB, free: 10.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1428, allocations: 109.5 kB / 412.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1428, allocations: 29.7 kB / 412.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.1429, allocations: 158.6 kB / 412.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.143, allocations: 7.984 kB / 412.9 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.143, allocations: 7.938 kB / 413 MB, free: 10.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1432, allocations: 318.8 kB / 413.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.716e-05/0.1432, allocations: 4 kB / 413.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-05/0.1432, allocations: 23.52 kB / 413.3 MB, free: 10.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.1433, allocations: 4.281 kB / 413.3 MB, free: 10.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1433, allocations: 0 / 413.3 MB, free: 10.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.1434, allocations: 57.61 kB / 413.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1435, allocations: 10.84 kB / 413.4 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1435, allocations: 4 kB / 413.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1435, allocations: 0 / 413.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.1436, allocations: 7.984 kB / 413.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1436, allocations: 3.938 kB / 413.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.1437, allocations: 3.906 kB / 413.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1437, allocations: 7.938 kB / 413.4 MB, free: 10.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,greaterEqualThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001086/0.1438, allocations: 113.8 kB / 413.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.1438, allocations: 4 kB / 413.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.1439, allocations: 11.91 kB / 413.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1439, allocations: 4 kB / 413.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1439, allocations: 3.984 kB / 413.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1439, allocations: 0 / 413.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.1444, allocations: 294.6 kB / 413.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1445, allocations: 0 / 413.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.1445, allocations: 3.938 kB / 413.8 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.1445, allocations: 3.984 kB / 413.8 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1446, allocations: 4 kB / 413.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1446, allocations: 4 kB / 413.8 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1446, allocations: 0 / 413.8 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.1448, allocations: 155.4 kB / 414 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.1449, allocations: 81.02 kB / 414.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.1449, allocations: 0 / 414.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.145, allocations: 4.031 kB / 414.1 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.145, allocations: 3.984 kB / 414.1 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1451, allocations: 4.062 kB / 414.1 MB, free: 9.371 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.468e-05/0.1452, allocations: 99.2 kB / 414.2 MB, free: 9.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.056e-06/0.1452, allocations: 0 / 414.2 MB, free: 9.273 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002768/0.1455, allocations: 7.938 kB / 414.2 MB, free: 9.266 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: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001416/0.1456, allocations: 99.25 kB / 414.3 MB, free: 9.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.1457, allocations: 12 kB / 414.3 MB, free: 9.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1458, allocations: 4 kB / 414.3 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.1458, allocations: 7.984 kB / 414.3 MB, free: 9.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1461, allocations: 19.95 kB / 414.3 MB, free: 9.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.1465, allocations: 184.2 kB / 414.5 MB, free: 8.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1469, allocations: 0.6848 MB / 415.2 MB, free: 8.191 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.147, allocations: 11.44 kB / 415.2 MB, free: 8.18 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.147, allocations: 0 / 415.2 MB, free: 8.18 MB / 346.7 MB Notification: Performance of Templates: time 0.002822/0.1498, allocations: 0.7191 MB / 415.9 MB, free: 7.457 MB / 346.7 MB