Running command: translateModel(ModelicaTest.Blocks.LimResetIntegrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimResetIntegrator") Notification: Performance of loadModel(ModelicaTest): time 2.467/2.467, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.346e-05, allocations: 4 kB / 348.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4556, allocations: 61.87 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.5926, allocations: 87.32 MB / 497.6 MB, free: 3.285 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.5929, allocations: 59.97 kB / 497.7 MB, free: 3.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.6066, allocations: 2.923 MB / 0.4888 GB, free: 312 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.199e-06/0.6067, allocations: 0 / 0.4888 GB, free: 312 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.6067, allocations: 4 kB / 0.4888 GB, free: 308 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007457/0.6075, allocations: 418.2 kB / 0.4892 GB, free: 15.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.6075, allocations: 12.03 kB / 0.4893 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.6076, allocations: 7.906 kB / 0.4893 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.608, allocations: 218.1 kB / 0.4895 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.608, allocations: 8 kB / 0.4895 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.6081, allocations: 4 kB / 0.4895 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.6083, allocations: 77.58 kB / 0.4896 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6083, allocations: 3.938 kB / 0.4896 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.6084, allocations: 8 kB / 0.4896 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-06/0.6084, allocations: 0 / 0.4896 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.6085, allocations: 31.98 kB / 0.4896 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007693/0.6093, allocations: 384.5 kB / 0.49 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.6095, allocations: 59.34 kB / 0.49 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.6095, allocations: 17.02 kB / 0.49 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.6096, allocations: 0 / 0.49 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.6097, allocations: 75.44 kB / 0.4901 GB, free: 14.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.554e-06/0.6098, allocations: 0 / 0.4901 GB, free: 14.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002308/0.61, allocations: 73.5 kB / 0.4902 GB, free: 14.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.6101, allocations: 55.41 kB / 0.4902 GB, free: 14.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.6103, allocations: 140.3 kB / 0.4904 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.6103, allocations: 25.7 kB / 0.4904 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.6104, allocations: 104.3 kB / 0.4905 GB, free: 14.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.6105, allocations: 23.78 kB / 0.4905 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-06/0.6105, allocations: 0 / 0.4905 GB, free: 14.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.6107, allocations: 326.8 kB / 0.4908 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.6107, allocations: 20 kB / 0.4908 GB, free: 14.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.6108, allocations: 33.72 kB / 0.4909 GB, free: 14.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.539e-05/0.6109, allocations: 15.98 kB / 0.4909 GB, free: 13.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.61e-06/0.6109, allocations: 0 / 0.4909 GB, free: 13.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002038/0.6111, allocations: 85.53 kB / 0.491 GB, free: 13.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6112, allocations: 8 kB / 0.491 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.164e-06/0.6112, allocations: 0 / 0.491 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.6112, allocations: 0 / 0.491 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.6113, allocations: 20.02 kB / 0.491 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.6114, allocations: 8.219 kB / 0.491 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.6115, allocations: 19.98 kB / 0.491 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.6115, allocations: 7.953 kB / 0.491 GB, free: 13.84 MB / 426.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: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$PRE.change.u,change.u,change.y) * 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 9.361e-05/0.6116, allocations: 104.9 kB / 0.4911 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.6117, allocations: 11.91 kB / 0.4911 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.6117, allocations: 20.61 kB / 0.4912 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.6118, allocations: 0 / 0.4912 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.515e-06/0.6118, allocations: 3.938 kB / 0.4912 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.534e-06/0.6118, allocations: 4 kB / 0.4912 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.6123, allocations: 362.3 kB / 0.4915 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6124, allocations: 0 / 0.4915 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.6125, allocations: 15.98 kB / 0.4915 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.854e-06/0.6125, allocations: 0 / 0.4915 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.6125, allocations: 8 kB / 0.4915 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.547e-06/0.6126, allocations: 0 / 0.4915 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.982e-06/0.6126, allocations: 7.984 kB / 0.4916 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.6129, allocations: 191.4 kB / 0.4917 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.613, allocations: 89 kB / 0.4918 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.6131, allocations: 0 / 0.4918 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.6133, allocations: 28.05 kB / 0.4918 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.6134, allocations: 15.97 kB / 0.4919 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.6134, allocations: 4 kB / 0.4919 GB, free: 12.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.6136, allocations: 118.7 kB / 0.492 GB, free: 12.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.65e-07/0.6136, allocations: 0 / 0.492 GB, free: 12.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.6139, allocations: 16 kB / 0.492 GB, free: 12.76 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 (change.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,change.u) * Number of discrete states: 1 (change.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.0001605/0.6141, allocations: 111.2 kB / 0.4921 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.6143, allocations: 51.98 kB / 0.4921 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.873e-06/0.6143, allocations: 0 / 0.4921 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.992e-05/0.6144, allocations: 23.94 kB / 0.4922 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.6147, allocations: 15.98 kB / 0.4922 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.6152, allocations: 147.2 kB / 0.4923 GB, free: 12.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.6156, allocations: 0.7083 MB / 0.493 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.19e-05/0.6157, allocations: 8.547 kB / 0.493 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.6158, allocations: 15.44 kB / 0.493 GB, free: 11.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.434e-06/0.6158, allocations: 0 / 0.493 GB, free: 11.62 MB / 426.7 MB Notification: Performance of Templates: time 0.004443/0.6202, allocations: 1.02 MB / 0.494 GB, free: 10.62 MB / 426.7 MB