Running command: translateModel(ModelicaTest.Blocks.ResetHoldIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.ResetHoldIntegrator") Notification: Performance of loadModel(ModelicaTest): time 2.638/2.638, allocations: 270 MB / 283.6 MB, free: 1.805 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.423e-05/5.458e-05, allocations: 4 kB / 348.4 MB, free: 2.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3846, allocations: 61.88 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.5276, allocations: 87 MB / 497.3 MB, free: 3.609 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.5278, allocations: 59.98 kB / 497.3 MB, free: 3.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006391/0.5342, allocations: 1.627 MB / 499 MB, free: 1.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.118e-06/0.5343, allocations: 3.984 kB / 499 MB, free: 1.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.5343, allocations: 0 / 499 MB, free: 1.914 MB / 410.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.0005124/0.5348, allocations: 382.2 kB / 499.3 MB, free: 1.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5349, allocations: 8.031 kB / 499.4 MB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.5349, allocations: 7.906 kB / 499.4 MB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.5352, allocations: 191.1 kB / 499.5 MB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.5352, allocations: 7.938 kB / 499.6 MB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.5353, allocations: 8 kB / 499.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.5354, allocations: 69.64 kB / 499.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5355, allocations: 7.938 kB / 499.6 MB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.5355, allocations: 4 kB / 499.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-06/0.5355, allocations: 0 / 499.6 MB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.5356, allocations: 32 kB / 499.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/0.5363, allocations: 360.5 kB / 0.4883 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.5365, allocations: 50.56 kB / 0.4884 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.5365, allocations: 13.02 kB / 0.4884 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.5366, allocations: 4 kB / 0.4884 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.5367, allocations: 63.44 kB / 0.4884 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.648e-06/0.5368, allocations: 4 kB / 0.4884 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002039/0.537, allocations: 73.53 kB / 0.4885 GB, free: 496 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.537, allocations: 63.34 kB / 0.4886 GB, free: 420 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.5372, allocations: 126.6 kB / 0.4887 GB, free: 284 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.5372, allocations: 29.7 kB / 0.4887 GB, free: 248 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.48e-05/0.5373, allocations: 96.05 kB / 0.4888 GB, free: 148 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.5374, allocations: 23.78 kB / 0.4888 GB, free: 124 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-06/0.5374, allocations: 0 / 0.4888 GB, free: 124 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.5376, allocations: 326.8 kB / 0.4891 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.5377, allocations: 12 kB / 0.4892 GB, free: 15.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.5378, allocations: 34.58 kB / 0.4892 GB, free: 15.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.436e-05/0.5378, allocations: 15.94 kB / 0.4892 GB, free: 15.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.5378, allocations: 0 / 0.4892 GB, free: 15.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.538, allocations: 85.5 kB / 0.4893 GB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.5381, allocations: 8.062 kB / 0.4893 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.953e-06/0.5381, allocations: 3.984 kB / 0.4893 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.5381, allocations: 4 kB / 0.4893 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.5382, allocations: 7.938 kB / 0.4893 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.5382, allocations: 4 kB / 0.4893 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.5383, allocations: 12.03 kB / 0.4893 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.5384, allocations: 8 kB / 0.4893 GB, free: 15.59 MB / 426.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,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,fallingEdge.y,$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.0001002/0.5385, allocations: 111.8 kB / 0.4894 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.5385, allocations: 15.84 kB / 0.4894 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.5386, allocations: 16.61 kB / 0.4895 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.5386, allocations: 4 kB / 0.4895 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.836e-06/0.5386, allocations: 192 / 0.4895 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.103e-06/0.5386, allocations: 0 / 0.4895 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.5391, allocations: 346.4 kB / 0.4898 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5391, allocations: 4 kB / 0.4898 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.5392, allocations: 0 / 0.4898 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.191e-06/0.5392, allocations: 7.984 kB / 0.4898 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5392, allocations: 4 kB / 0.4898 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5393, allocations: 0 / 0.4898 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.654e-06/0.5393, allocations: 3.953 kB / 0.4898 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.5396, allocations: 188.2 kB / 0.49 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.5397, allocations: 85.05 kB / 0.4901 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.5397, allocations: 3.984 kB / 0.4901 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.5398, allocations: 4 kB / 0.4901 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.5399, allocations: 16.05 kB / 0.4901 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.5399, allocations: 7.953 kB / 0.4901 GB, free: 14.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.54, allocations: 103.3 kB / 0.4902 GB, free: 14.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.54, allocations: 0 / 0.4902 GB, free: 14.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003229/0.5404, allocations: 12 kB / 0.4902 GB, free: 14.57 MB / 426.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 (fallingEdge.y,$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.0001404/0.5405, allocations: 99.25 kB / 0.4903 GB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.5407, allocations: 48.22 kB / 0.4904 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5407, allocations: 0 / 0.4904 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.604e-05/0.5408, allocations: 24.28 kB / 0.4904 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.5411, allocations: 19.22 kB / 0.4904 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.5417, allocations: 163.1 kB / 0.4906 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.5421, allocations: 0.7043 MB / 0.4912 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.099e-05/0.5421, allocations: 16.42 kB / 0.4913 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.5422, allocations: 11.44 kB / 0.4913 GB, free: 13.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.409e-06/0.5422, allocations: 0 / 0.4913 GB, free: 13.44 MB / 426.7 MB Notification: Performance of Templates: time 0.004053/0.5463, allocations: 0.8015 MB / 0.4921 GB, free: 12.64 MB / 426.7 MB