Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.459e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1868, allocations: 61.9 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0006304/0.1875, allocations: 192.7 kB / 411.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003736/0.1912, allocations: 1.851 MB / 413 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.575e-05/0.1913, allocations: 0 / 413 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.1913, allocations: 0 / 413 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.799e-05/0.1914, allocations: 0 / 413 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009949/0.1924, allocations: 227.2 kB / 413.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.519e-05/0.1924, allocations: 4 kB / 413.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.781e-05/0.1925, allocations: 0 / 413.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.396e-05/0.1925, allocations: 0 / 413.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004356/0.1969, allocations: 1.85 MB / 415 MB, free: 8.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.146e-05/0.197, allocations: 7.984 kB / 415 MB, free: 8.734 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.197, allocations: 0 / 415 MB, free: 8.734 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.197, allocations: 0 / 415 MB, free: 8.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.297e-05/0.1971, allocations: 0 / 415 MB, free: 8.734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.613e-05/0.1972, allocations: 12 kB / 415.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.1972, allocations: 3.938 kB / 415.1 MB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1972, allocations: 0 / 415.1 MB, free: 8.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1972, allocations: 0 / 415.1 MB, free: 8.719 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002882/0.1975, allocations: 319.3 kB / 415.4 MB, free: 8.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1975, allocations: 8.031 kB / 415.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.1978, allocations: 83.28 kB / 415.5 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.198, allocations: 238.3 kB / 415.7 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.449e-05/0.1981, allocations: 154.5 kB / 415.8 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.1982, allocations: 158.5 kB / 416 MB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.573e-05/0.1982, allocations: 108.9 kB / 416.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/0.1983, allocations: 75.28 kB / 416.2 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.1984, allocations: 150.6 kB / 416.3 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.465e-05/0.1984, allocations: 154.6 kB / 416.5 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.283e-05/0.1985, allocations: 150.6 kB / 416.6 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.1989, allocations: 450 kB / 417.1 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.199, allocations: 173.1 kB / 417.2 MB, free: 6.383 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.199, allocations: 75.28 kB / 417.3 MB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.298e-05/0.1991, allocations: 109.8 kB / 417.4 MB, free: 6.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/0.1991, allocations: 0 / 417.4 MB, free: 6.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.494e-05/0.1992, allocations: 33.66 kB / 417.4 MB, free: 6.152 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.1993, allocations: 186 kB / 417.6 MB, free: 5.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1994, allocations: 89 kB / 417.7 MB, free: 5.852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1995, allocations: 25.7 kB / 417.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.1995, allocations: 150.6 kB / 417.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.1996, allocations: 0 / 417.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-07/0.1996, allocations: 0 / 417.9 MB, free: 5.672 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1997, allocations: 315 kB / 418.2 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-06/0.1997, allocations: 0 / 418.2 MB, free: 5.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.1998, allocations: 17.7 kB / 418.2 MB, free: 5.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.568e-05/0.1998, allocations: 75.28 kB / 418.3 MB, free: 5.258 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.773e-05/0.1999, allocations: 75.28 kB / 418.4 MB, free: 5.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.664e-05/0.1999, allocations: 29.7 kB / 418.4 MB, free: 5.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.2, allocations: 82.09 kB / 418.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.204e-05/0.2, allocations: 87.25 kB / 418.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.181e-05/0.2001, allocations: 162.6 kB / 418.7 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.914e-05/0.2002, allocations: 83.16 kB / 418.8 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.186e-05/0.2003, allocations: 150.7 kB / 418.9 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.2004, allocations: 83.28 kB / 419 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.2005, allocations: 83.22 kB / 419.1 MB, free: 4.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001492/0.2006, allocations: 264.4 kB / 419.4 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.2007, allocations: 105 kB / 419.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.382e-05/0.2008, allocations: 111.8 kB / 419.6 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.417e-05/0.2009, allocations: 180.2 kB / 419.8 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.913e-05/0.201, allocations: 184.2 kB / 419.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-05/0.201, allocations: 184.3 kB / 420.1 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.2013, allocations: 397.2 kB / 420.5 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.432e-05/0.2014, allocations: 108.9 kB / 420.6 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.2014, allocations: 101 kB / 420.7 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-05/0.2015, allocations: 184.2 kB / 420.9 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.2016, allocations: 180.2 kB / 421.1 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.007e-05/0.2017, allocations: 184.3 kB / 421.2 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.482e-05/0.2018, allocations: 184.2 kB / 421.4 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.202, allocations: 307.7 kB / 421.7 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.263e-05/0.2021, allocations: 186.1 kB / 421.9 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/0.2022, allocations: 184.2 kB / 422.1 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.2024, allocations: 112.9 kB / 422.2 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.2025, allocations: 176.3 kB / 422.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.2025, allocations: 104.9 kB / 422.5 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.84e-05/0.2026, allocations: 79.23 kB / 422.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2026, allocations: 0 / 422.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003248/0.203, allocations: 4 kB / 422.5 MB, free: 0.7578 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001584/0.2031, allocations: 178.6 kB / 422.7 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.37e-05/0.2032, allocations: 0 / 422.7 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2032, allocations: 0 / 422.7 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.2032, allocations: 0 / 422.7 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.2036, allocations: 0.5263 MB / 423.2 MB, free: 40 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3293/0.533, allocations: 171.5 kB / 423.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.5331, allocations: 0.6711 MB / 424.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.114e-05/0.5332, allocations: 8.719 kB / 424.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5332, allocations: 0 / 424.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of Templates: time 0.002046/0.5352, allocations: 365 kB / 424.5 MB, free: 13.92 MB / 346.7 MB