Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadModel(ModelicaTest): time 2.64/2.64, allocations: 270 MB / 283.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.705e-05, allocations: 7.984 kB / 348.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.329, allocations: 61.88 MB / 410.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.4667, allocations: 86.04 MB / 496.3 MB, free: 4.504 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.4669, allocations: 59.97 kB / 496.4 MB, free: 4.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003686/0.4707, allocations: 1.042 MB / 497.4 MB, free: 3.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4707, allocations: 224 / 497.4 MB, free: 3.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4707, allocations: 4 kB / 497.4 MB, free: 3.395 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003756/0.4711, allocations: 342.3 kB / 497.8 MB, free: 3.016 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4712, allocations: 8.031 kB / 497.8 MB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.4712, allocations: 4 kB / 497.8 MB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.4714, allocations: 179 kB / 497.9 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.4714, allocations: 0 / 497.9 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.4715, allocations: 4 kB / 498 MB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.4716, allocations: 72.16 kB / 498 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.568e-06/0.4717, allocations: 0 / 498 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.4717, allocations: 8 kB / 498 MB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-06/0.4717, allocations: 0 / 498 MB, free: 2.691 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.971e-05/0.4718, allocations: 8 kB / 498 MB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.4724, allocations: 457 kB / 498.5 MB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.4726, allocations: 38.56 kB / 498.5 MB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.4726, allocations: 16.8 kB / 498.5 MB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.4726, allocations: 0 / 498.5 MB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.4727, allocations: 30.56 kB / 498.6 MB, free: 2.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 4.667e-06/0.4727, allocations: 4 kB / 498.6 MB, free: 2.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004021/0.4731, allocations: 81.61 kB / 498.7 MB, free: 1.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.4732, allocations: 51.41 kB / 498.7 MB, free: 1.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.4733, allocations: 109.2 kB / 498.8 MB, free: 1.805 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.4733, allocations: 25.7 kB / 498.8 MB, free: 1.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.4734, allocations: 88.05 kB / 498.9 MB, free: 1.684 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.4734, allocations: 15.75 kB / 498.9 MB, free: 1.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/0.4734, allocations: 0 / 498.9 MB, free: 1.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4736, allocations: 326.8 kB / 499.3 MB, free: 1.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.412e-05/0.4737, allocations: 12 kB / 499.3 MB, free: 1.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.4737, allocations: 35.38 kB / 499.3 MB, free: 1.281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.892e-05/0.4738, allocations: 16.17 kB / 499.3 MB, free: 1.266 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-06/0.4738, allocations: 0 / 499.3 MB, free: 1.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00017/0.474, allocations: 81.52 kB / 499.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.474, allocations: 4 kB / 499.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.05e-06/0.474, allocations: 0 / 499.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4741, allocations: 4 kB / 499.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.4742, allocations: 11.98 kB / 499.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.4742, allocations: 4 kB / 499.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.4743, allocations: 7.938 kB / 499.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4743, allocations: 4 kB / 499.4 MB, free: 1.145 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.793e-05/0.4744, allocations: 117 kB / 499.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.4745, allocations: 0 / 499.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.4745, allocations: 12.03 kB / 499.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.4745, allocations: 0 / 499.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.734e-06/0.4745, allocations: 0 / 499.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-06/0.4745, allocations: 0 / 499.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.4748, allocations: 174 kB / 499.7 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.577e-06/0.4748, allocations: 4 kB / 499.7 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.4749, allocations: 12 kB / 499.7 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.628e-06/0.4749, allocations: 0 / 499.7 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.625e-06/0.475, allocations: 7.938 kB / 499.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.3e-06/0.475, allocations: 0 / 499.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-06/0.475, allocations: 0 / 499.8 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.4752, allocations: 163.4 kB / 499.9 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.4753, allocations: 92.98 kB / 0.4883 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.4753, allocations: 0 / 0.4883 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.689e-05/0.4754, allocations: 8 kB / 0.4883 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.4755, allocations: 4.062 kB / 0.4883 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-06/0.4755, allocations: 0 / 0.4883 GB, free: 476 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.349e-05/0.4756, allocations: 91.27 kB / 0.4884 GB, free: 384 kB / 410.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.4756, allocations: 0 / 0.4884 GB, free: 384 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.4759, allocations: 8 kB / 0.4884 GB, free: 376 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001693/0.4761, allocations: 95.25 kB / 0.4885 GB, free: 268 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.4762, allocations: 31.94 kB / 0.4885 GB, free: 236 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.032e-06/0.4763, allocations: 192 / 0.4885 GB, free: 236 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.4763, allocations: 19.98 kB / 0.4885 GB, free: 216 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.4766, allocations: 4 kB / 0.4885 GB, free: 212 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.477, allocations: 111.2 kB / 0.4886 GB, free: 80 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.4774, allocations: 0.6848 MB / 0.4893 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.432e-05/0.4774, allocations: 4.188 kB / 0.4893 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.4775, allocations: 11.44 kB / 0.4893 GB, free: 15.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.537e-06/0.4775, allocations: 4 kB / 0.4893 GB, free: 15.35 MB / 426.7 MB Notification: Performance of Templates: time 0.002981/0.4805, allocations: 451.5 kB / 0.4898 GB, free: 14.91 MB / 426.7 MB