Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 269 MB / 284.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.176e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1371, allocations: 61.88 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002238/0.1394, allocations: 1.259 MB / 412.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002333/0.1397, allocations: 51.83 kB / 412.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.1397, allocations: 4 kB / 412.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.1398, allocations: 3.938 kB / 412.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.1398, allocations: 4 kB / 412.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001/0.14, allocations: 11.98 kB / 412.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1401, allocations: 31.91 kB / 412.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.1402, allocations: 7.984 kB / 412.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.765e-05/0.1402, allocations: 4 kB / 412.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.1403, allocations: 19.91 kB / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.1403, allocations: 0 / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.1404, allocations: 0 / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.1404, allocations: 4 kB / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.42e-05/0.1404, allocations: 0 / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.977e-05/0.1405, allocations: 27.95 kB / 412.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1405, allocations: 0 / 412.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1405, allocations: 4 kB / 412.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1405, allocations: 0 / 412.3 MB, free: 11.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004447/0.141, allocations: 335.5 kB / 412.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.141, allocations: 15.97 kB / 412.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.1411, allocations: 3.906 kB / 412.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1413, allocations: 179 kB / 412.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1413, allocations: 4 kB / 412.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1413, allocations: 7.984 kB / 412.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1416, allocations: 76.2 kB / 413 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1416, allocations: 4 kB / 413 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1416, allocations: 3.938 kB / 413 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1416, allocations: 0 / 413 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.1418, allocations: 31.91 kB / 413 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006244/0.1424, allocations: 457 kB / 413.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.1427, allocations: 46.56 kB / 413.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1427, allocations: 4 kB / 413.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1427, allocations: 30.56 kB / 413.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.234e-06/0.1427, allocations: 0 / 413.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000635/0.1434, allocations: 109.6 kB / 413.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1434, allocations: 55.39 kB / 413.7 MB, free: 9.895 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1436, allocations: 113.1 kB / 413.8 MB, free: 9.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1436, allocations: 25.7 kB / 413.8 MB, free: 9.742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.1437, allocations: 158.6 kB / 414 MB, free: 9.586 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.1437, allocations: 11.75 kB / 414 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.1437, allocations: 0 / 414 MB, free: 9.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1439, allocations: 318.8 kB / 414.3 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.144, allocations: 19.98 kB / 414.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.1441, allocations: 43.36 kB / 414.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.534e-05/0.1442, allocations: 23.94 kB / 414.4 MB, free: 9.156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1442, allocations: 4 kB / 414.4 MB, free: 9.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002575/0.1445, allocations: 89.52 kB / 414.5 MB, free: 9.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1445, allocations: 6.812 kB / 414.5 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1445, allocations: 0 / 414.5 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1446, allocations: 4 kB / 414.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1447, allocations: 11.94 kB / 414.5 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1447, allocations: 4 kB / 414.5 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.1448, allocations: 12.08 kB / 414.5 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.1448, allocations: 0 / 414.5 MB, free: 9.023 MB / 346.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 0.0001091/0.1449, allocations: 121.9 kB / 414.6 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.145, allocations: 4 kB / 414.6 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.145, allocations: 7.906 kB / 414.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.145, allocations: 0 / 414.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.145, allocations: 384 / 414.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1451, allocations: 384 / 414.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.1453, allocations: 169.7 kB / 414.8 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1453, allocations: 7.953 kB / 414.8 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.1455, allocations: 15.92 kB / 414.8 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1455, allocations: 0 / 414.8 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1455, allocations: 0 / 414.8 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1455, allocations: 0 / 414.8 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1455, allocations: 7.984 kB / 414.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.1459, allocations: 191.4 kB / 415 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.146, allocations: 81.06 kB / 415.1 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.146, allocations: 4 kB / 415.1 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.1461, allocations: 4.031 kB / 415.1 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.1461, allocations: 0 / 415.1 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1462, allocations: 4 kB / 415.1 MB, free: 8.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.339e-05/0.1462, allocations: 87.27 kB / 415.2 MB, free: 8.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1462, allocations: 4 kB / 415.2 MB, free: 8.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.1465, allocations: 8.062 kB / 415.2 MB, free: 8.223 MB / 346.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.0001172/0.1467, allocations: 99.25 kB / 415.3 MB, free: 8.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.1469, allocations: 39.91 kB / 415.3 MB, free: 8.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1469, allocations: 0 / 415.3 MB, free: 8.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.967e-05/0.147, allocations: 28.11 kB / 415.4 MB, free: 8.051 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.1473, allocations: 12 kB / 415.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.1479, allocations: 202.4 kB / 415.6 MB, free: 7.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1482, allocations: 0.6887 MB / 416.3 MB, free: 7.094 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.1483, allocations: 7.438 kB / 416.3 MB, free: 7.086 MB / 346.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1483, allocations: 4 kB / 416.3 MB, free: 7.082 MB / 346.7 MB Notification: Performance of Templates: time 0.002882/0.1512, allocations: 0.7659 MB / 417 MB, free: 6.312 MB / 346.7 MB