Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 270 MB / 282.7 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.684e-05/2.695e-05, allocations: 4 kB / 347 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.319, allocations: 61.88 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.5197, allocations: 89.65 MB / 498.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/0.52, allocations: 59.97 kB / 498.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0418/0.5618, allocations: 9.975 MB / 0.4966 GB, free: 6.977 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.537e-06/0.5618, allocations: 3.938 kB / 0.4966 GB, free: 6.973 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.371e-06/0.5618, allocations: 4 kB / 0.4966 GB, free: 6.969 MB / 426.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.0006153/0.5625, allocations: 467.9 kB / 0.497 GB, free: 6.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.5625, allocations: 12.03 kB / 0.4971 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.5626, allocations: 7.922 kB / 0.4971 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.5627, allocations: 159.1 kB / 0.4972 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.5627, allocations: 0 / 0.4972 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.5627, allocations: 3.953 kB / 0.4972 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.593e-05/0.5628, allocations: 29.7 kB / 0.4973 GB, free: 6.207 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.75e-06/0.5629, allocations: 4 kB / 0.4973 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.497e-06/0.5629, allocations: 0 / 0.4973 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-06/0.5629, allocations: 0 / 0.4973 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.5629, allocations: 11.88 kB / 0.4973 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.5631, allocations: 153.7 kB / 0.4974 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.954e-05/0.5631, allocations: 14.58 kB / 0.4974 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.5632, allocations: 8.953 kB / 0.4974 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-06/0.5632, allocations: 0 / 0.4974 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.587e-05/0.5633, allocations: 64.22 kB / 0.4975 GB, free: 5.879 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 3.942e-06/0.5633, allocations: 3.984 kB / 0.4975 GB, free: 5.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001612/0.5634, allocations: 63.41 kB / 0.4976 GB, free: 5.801 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.5635, allocations: 85.03 kB / 0.4976 GB, free: 5.699 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.475e-05/0.5636, allocations: 88.91 kB / 0.4977 GB, free: 5.605 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.5636, allocations: 25.7 kB / 0.4978 GB, free: 5.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.5637, allocations: 150.6 kB / 0.4979 GB, free: 5.426 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.5637, allocations: 0 / 0.4979 GB, free: 5.426 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/0.5637, allocations: 4.031 kB / 0.4979 GB, free: 5.422 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5639, allocations: 314.8 kB / 0.4982 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.925e-06/0.5639, allocations: 0 / 0.4982 GB, free: 5.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-06/0.5639, allocations: 0 / 0.4982 GB, free: 5.105 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.564, allocations: 29.7 kB / 0.4982 GB, free: 5.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-06/0.564, allocations: 0 / 0.4982 GB, free: 5.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.699e-05/0.5641, allocations: 63.39 kB / 0.4983 GB, free: 4.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.5642, allocations: 33.7 kB / 0.4983 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5642, allocations: 96 / 0.4983 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5642, allocations: 7.953 kB / 0.4983 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.605e-06/0.5642, allocations: 0 / 0.4983 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.678e-06/0.5642, allocations: 0 / 0.4983 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.5642, allocations: 0 / 0.4983 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.5643, allocations: 4 kB / 0.4983 GB, free: 4.945 MB / 426.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.000101/0.5644, allocations: 130.6 kB / 0.4985 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.5644, allocations: 3.938 kB / 0.4985 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.5644, allocations: 7.109 kB / 0.4985 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5644, allocations: 7.953 kB / 0.4985 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.955e-06/0.5645, allocations: 4 kB / 0.4985 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5645, allocations: 0 / 0.4985 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.5646, allocations: 141.7 kB / 0.4986 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-06/0.5646, allocations: 0 / 0.4986 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-06/0.5646, allocations: 0 / 0.4986 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.592e-06/0.5646, allocations: 0 / 0.4986 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.5646, allocations: 4 kB / 0.4986 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.433e-06/0.5647, allocations: 3.984 kB / 0.4986 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.945e-06/0.5647, allocations: 3.953 kB / 0.4986 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.5648, allocations: 90.84 kB / 0.4987 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.5649, allocations: 77.11 kB / 0.4988 GB, free: 4.371 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.5649, allocations: 7.922 kB / 0.4988 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.467e-05/0.5649, allocations: 4 kB / 0.4988 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.5649, allocations: 0 / 0.4988 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.918e-06/0.565, allocations: 7.953 kB / 0.4988 GB, free: 4.352 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.438e-05/0.565, allocations: 79.28 kB / 0.4989 GB, free: 4.273 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.93e-07/0.565, allocations: 0 / 0.4989 GB, free: 4.273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006218/0.5657, allocations: 175.8 kB / 0.499 GB, free: 4.102 MB / 426.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.0009606/0.5666, allocations: 412.7 kB / 0.4994 GB, free: 3.695 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.131e-05/0.5667, allocations: 59.34 kB / 0.4995 GB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5668, allocations: 0 / 0.4995 GB, free: 3.625 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.5668, allocations: 55.41 kB / 0.4995 GB, free: 3.559 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.369e-05/0.5669, allocations: 2.922 kB / 0.4996 GB, free: 3.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000165/0.5671, allocations: 82.88 kB / 0.4996 GB, free: 3.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.5675, allocations: 0.6731 MB / 0.5003 GB, free: 2.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.5675, allocations: 11.44 kB / 0.5003 GB, free: 2.738 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5675, allocations: 4.125 kB / 0.5003 GB, free: 2.734 MB / 426.7 MB Notification: Performance of Templates: time 0.007558/0.5751, allocations: 3.846 MB / 0.5041 GB, free: 14.88 MB / 442.7 MB