Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadModel(ModelicaTest): time 2.696/2.696, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.165e-05, allocations: 0 / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3653, allocations: 54.86 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0007091/0.3661, allocations: 190.5 kB / 363 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00547/0.3716, allocations: 2.086 MB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.3717, allocations: 0 / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.3717, allocations: 0 / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.221e-06/0.3717, allocations: 1.562 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004107/0.3758, allocations: 0.799 MB / 365.9 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.892e-05/0.3759, allocations: 3.938 kB / 365.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.376, allocations: 1.219 kB / 365.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.989e-05/0.376, allocations: 0 / 365.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006073/0.3821, allocations: 1.621 MB / 367.5 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.3822, allocations: 0 / 367.5 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.3822, allocations: 0 / 367.5 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.3822, allocations: 4 kB / 367.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.593e-05/0.3822, allocations: 1.188 kB / 367.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.361e-05/0.3823, allocations: 0 / 367.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3823, allocations: 0 / 367.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.3823, allocations: 1.25 kB / 367.6 MB, free: 8.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3823, allocations: 0 / 367.6 MB, free: 8.887 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003771/0.3827, allocations: 334.2 kB / 367.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.3828, allocations: 9.281 kB / 367.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.3829, allocations: 0.9688 kB / 367.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.383, allocations: 159.1 kB / 368 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.383, allocations: 4.969 kB / 368 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.3831, allocations: 8.922 kB / 368.1 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.684e-05/0.3832, allocations: 35.73 kB / 368.1 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3832, allocations: 0 / 368.1 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3832, allocations: 1.094 kB / 368.1 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3832, allocations: 7.891 kB / 368.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.3833, allocations: 1.062 kB / 368.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.3835, allocations: 143.7 kB / 368.2 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.3835, allocations: 20.83 kB / 368.3 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.3836, allocations: 3.938 kB / 368.3 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.923e-05/0.3836, allocations: 69.3 kB / 368.3 MB, free: 7.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.833e-06/0.3837, allocations: 0 / 368.3 MB, free: 7.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002331/0.3839, allocations: 58.94 kB / 368.4 MB, free: 7.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.384, allocations: 78.11 kB / 368.5 MB, free: 7.797 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.3841, allocations: 85.12 kB / 368.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3841, allocations: 30.73 kB / 368.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.3842, allocations: 150.6 kB / 368.7 MB, free: 7.523 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3842, allocations: 5.156 kB / 368.7 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.3842, allocations: 0 / 368.7 MB, free: 7.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3844, allocations: 322.8 kB / 369 MB, free: 7.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.3844, allocations: 1.312 kB / 369 MB, free: 7.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.3845, allocations: 5.562 kB / 369.1 MB, free: 7.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.3845, allocations: 27.33 kB / 369.1 MB, free: 7.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3845, allocations: 4.062 kB / 369.1 MB, free: 7.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001125/0.3847, allocations: 57.28 kB / 369.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.3847, allocations: 31.8 kB / 369.2 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3847, allocations: 0 / 369.2 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3848, allocations: 1.406 kB / 369.2 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.518e-06/0.3848, allocations: 3.984 kB / 369.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3848, allocations: 0 / 369.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.3848, allocations: 1.312 kB / 369.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3849, allocations: 0 / 369.2 MB, free: 7.059 MB / 298.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000136/0.385, allocations: 141.7 kB / 369.3 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.385, allocations: 5 kB / 369.3 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.287e-05/0.3851, allocations: 4.156 kB / 369.3 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3851, allocations: 0 / 369.3 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.3851, allocations: 0.9688 kB / 369.3 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3851, allocations: 0 / 369.3 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.3853, allocations: 151.8 kB / 369.5 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3853, allocations: 0 / 369.5 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-06/0.3853, allocations: 0 / 369.5 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.3853, allocations: 9.031 kB / 369.5 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3854, allocations: 4 kB / 369.5 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3854, allocations: 1.312 kB / 369.5 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3854, allocations: 3.938 kB / 369.5 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.3855, allocations: 92.91 kB / 369.6 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.3856, allocations: 78.42 kB / 369.7 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3857, allocations: 1.25 kB / 369.7 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.179e-05/0.3857, allocations: 4 kB / 369.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.3857, allocations: 1.281 kB / 369.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.3857, allocations: 5.188 kB / 369.7 MB, free: 6.484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.539e-05/0.3858, allocations: 75.28 kB / 369.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.3858, allocations: 0 / 369.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004018/0.3862, allocations: 2.562 kB / 369.7 MB, free: 6.41 MB / 298.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001436/0.3864, allocations: 98.05 kB / 369.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.3865, allocations: 63.31 kB / 369.9 MB, free: 6.246 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3865, allocations: 0 / 369.9 MB, free: 6.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.342e-05/0.3866, allocations: 59.62 kB / 370 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.3868, allocations: 5.203 kB / 370 MB, free: 6.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.387, allocations: 103.4 kB / 370.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3874, allocations: 0.6723 MB / 370.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.3874, allocations: 7.438 kB / 370.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3874, allocations: 0 / 370.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of Templates: time 0.002237/0.3897, allocations: 338.8 kB / 371.1 MB, free: 5.156 MB / 298.7 MB