Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.368e-05, allocations: 3.984 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3632, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4942, allocations: 84.98 MB / 467.2 MB, free: 7.543 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.4945, allocations: 55.97 kB / 467.2 MB, free: 7.488 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.003622/0.4981, allocations: 1.03 MB / 468.3 MB, free: 6.453 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.065e-06/0.4982, allocations: 4 kB / 468.3 MB, free: 6.449 MB / 394.8 MB Notification: Performance of Transformations before backend: time 9.777e-06/0.4982, allocations: 4 kB / 468.3 MB, free: 6.445 MB / 394.8 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.0003805/0.4986, allocations: 338.3 kB / 468.6 MB, free: 6.07 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4986, allocations: 12.03 kB / 468.6 MB, free: 6.059 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.4987, allocations: 3.906 kB / 468.6 MB, free: 6.055 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.4989, allocations: 175 kB / 468.8 MB, free: 5.844 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4989, allocations: 0 / 468.8 MB, free: 5.844 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.4989, allocations: 8 kB / 468.8 MB, free: 5.836 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.4991, allocations: 68.27 kB / 468.9 MB, free: 5.754 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4991, allocations: 7.922 kB / 468.9 MB, free: 5.746 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.88e-06/0.4991, allocations: 0 / 468.9 MB, free: 5.746 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-06/0.4992, allocations: 0 / 468.9 MB, free: 5.746 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.237e-05/0.4992, allocations: 12 kB / 468.9 MB, free: 5.734 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.4998, allocations: 453 kB / 469.3 MB, free: 5.234 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.5, allocations: 34.56 kB / 469.4 MB, free: 5.191 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.5001, allocations: 12.86 kB / 469.4 MB, free: 5.176 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.5001, allocations: 0 / 469.4 MB, free: 5.176 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.5001, allocations: 34.56 kB / 469.4 MB, free: 5.133 MB / 394.8 MB Notification: Performance of pre-optimization done (n=3): time 1.86e-06/0.5002, allocations: 4.219 kB / 469.4 MB, free: 5.129 MB / 394.8 MB Notification: Performance of matching and sorting (n=4): time 0.0004051/0.5006, allocations: 77.61 kB / 469.5 MB, free: 5.047 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.5006, allocations: 59.3 kB / 469.6 MB, free: 4.977 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.5008, allocations: 113 kB / 469.7 MB, free: 4.855 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.5008, allocations: 25.7 kB / 469.7 MB, free: 4.824 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.5009, allocations: 96.11 kB / 469.8 MB, free: 4.727 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.5009, allocations: 11.75 kB / 469.8 MB, free: 4.715 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-06/0.5009, allocations: 4 kB / 469.8 MB, free: 4.711 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5011, allocations: 322.8 kB / 470.1 MB, free: 4.387 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.531e-05/0.5011, allocations: 8 kB / 470.1 MB, free: 4.379 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.5012, allocations: 31.44 kB / 470.2 MB, free: 4.336 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.5013, allocations: 15.94 kB / 470.2 MB, free: 4.32 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.805e-06/0.5013, allocations: 4 kB / 470.2 MB, free: 4.316 MB / 394.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001855/0.5015, allocations: 77.52 kB / 470.2 MB, free: 4.234 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5015, allocations: 4 kB / 470.3 MB, free: 4.23 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5015, allocations: 4 kB / 470.3 MB, free: 4.227 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5016, allocations: 0 / 470.3 MB, free: 4.227 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.5017, allocations: 12 kB / 470.3 MB, free: 4.215 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.756e-06/0.5017, allocations: 0 / 470.3 MB, free: 4.215 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.5018, allocations: 15.94 kB / 470.3 MB, free: 4.199 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.5018, allocations: 4 kB / 470.3 MB, free: 4.195 MB / 394.8 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 8.649e-05/0.5019, allocations: 105.1 kB / 470.4 MB, free: 4.086 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.5019, allocations: 11.84 kB / 470.4 MB, free: 4.074 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.502, allocations: 8.031 kB / 470.4 MB, free: 4.062 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-06/0.502, allocations: 0 / 470.4 MB, free: 4.062 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.722e-06/0.502, allocations: 0 / 470.4 MB, free: 4.062 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.502, allocations: 0 / 470.4 MB, free: 4.062 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.5023, allocations: 173.6 kB / 470.6 MB, free: 3.844 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-06/0.5023, allocations: 0 / 470.6 MB, free: 3.844 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.5024, allocations: 15.98 kB / 470.6 MB, free: 3.828 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5024, allocations: 4.234 kB / 470.6 MB, free: 3.824 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.5024, allocations: 0 / 470.6 MB, free: 3.824 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.937e-06/0.5025, allocations: 4 kB / 470.6 MB, free: 3.82 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.527e-06/0.5025, allocations: 0 / 470.6 MB, free: 3.82 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.5027, allocations: 167.5 kB / 470.8 MB, free: 3.641 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.5028, allocations: 81.02 kB / 470.8 MB, free: 3.543 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.5028, allocations: 3.984 kB / 470.8 MB, free: 3.539 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.5029, allocations: 12.03 kB / 470.9 MB, free: 3.527 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.503, allocations: 384 / 470.9 MB, free: 3.527 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.503, allocations: 4 kB / 470.9 MB, free: 3.523 MB / 394.8 MB Notification: Performance of sorting global known variables: time 7.26e-05/0.5031, allocations: 99.14 kB / 471 MB, free: 3.426 MB / 394.8 MB Notification: Performance of sort global known variables: time 8.01e-07/0.5031, allocations: 0 / 471 MB, free: 3.426 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.000307/0.5034, allocations: 4 kB / 471 MB, free: 3.422 MB / 394.8 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.0001474/0.5036, allocations: 99.25 kB / 471.1 MB, free: 3.312 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.5037, allocations: 24 kB / 471.1 MB, free: 3.289 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.5037, allocations: 8.125 kB / 471.1 MB, free: 3.281 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.5038, allocations: 12 kB / 471.1 MB, free: 3.27 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.504, allocations: 15.88 kB / 471.1 MB, free: 3.254 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.5044, allocations: 100.6 kB / 471.2 MB, free: 3.137 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.5048, allocations: 0.6887 MB / 471.9 MB, free: 2.422 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.752e-05/0.5049, allocations: 4.172 kB / 471.9 MB, free: 2.418 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.5049, allocations: 15.44 kB / 471.9 MB, free: 2.402 MB / 394.8 MB Notification: Performance of SimCode: time 1.808e-06/0.5049, allocations: 0 / 471.9 MB, free: 2.402 MB / 394.8 MB Notification: Performance of Templates: time 0.002952/0.5079, allocations: 452.4 kB / 472.4 MB, free: 1.961 MB / 394.8 MB