Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 270 MB / 283.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.41e-05, allocations: 8 kB / 348.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4388, allocations: 61.89 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.579, allocations: 89.64 MB / 499.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.5793, allocations: 63.97 kB / 500 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04267/0.622, allocations: 9.98 MB / 0.498 GB, free: 6.891 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.917e-06/0.622, allocations: 4 kB / 0.498 GB, free: 6.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.906e-06/0.622, allocations: 0 / 0.498 GB, free: 6.887 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.0006794/0.6227, allocations: 475.8 kB / 0.4985 GB, free: 6.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.6228, allocations: 8.031 kB / 0.4985 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.6228, allocations: 0 / 0.4985 GB, free: 6.363 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.623, allocations: 163.1 kB / 0.4986 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.623, allocations: 0 / 0.4986 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.623, allocations: 7.953 kB / 0.4986 GB, free: 6.156 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.867e-05/0.6231, allocations: 29.69 kB / 0.4987 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.933e-06/0.6231, allocations: 0 / 0.4987 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-06/0.6232, allocations: 0 / 0.4987 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.704e-06/0.6232, allocations: 4 kB / 0.4987 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.044e-05/0.6232, allocations: 3.938 kB / 0.4987 GB, free: 6.113 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.6234, allocations: 141.7 kB / 0.4988 GB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.394e-05/0.6234, allocations: 30.55 kB / 0.4988 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.6235, allocations: 4.859 kB / 0.4988 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.323e-06/0.6235, allocations: 0 / 0.4988 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.6235, allocations: 60.22 kB / 0.4989 GB, free: 5.805 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.872e-06/0.6236, allocations: 0 / 0.4989 GB, free: 5.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001785/0.6238, allocations: 63.45 kB / 0.4989 GB, free: 5.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.6238, allocations: 81.05 kB / 0.499 GB, free: 5.633 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.555e-05/0.6239, allocations: 92.94 kB / 0.4991 GB, free: 5.535 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.6239, allocations: 25.7 kB / 0.4991 GB, free: 5.504 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.624, allocations: 88.14 kB / 0.4992 GB, free: 5.414 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.624, allocations: 0 / 0.4992 GB, free: 5.414 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-06/0.624, allocations: 0 / 0.4992 GB, free: 5.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6242, allocations: 310.8 kB / 0.4995 GB, free: 5.102 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.6242, allocations: 0 / 0.4995 GB, free: 5.102 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.427e-06/0.6242, allocations: 4 kB / 0.4995 GB, free: 5.098 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.144e-05/0.6243, allocations: 33.75 kB / 0.4996 GB, free: 5.059 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-06/0.6243, allocations: 0 / 0.4996 GB, free: 5.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001027/0.6244, allocations: 63.41 kB / 0.4996 GB, free: 4.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.6245, allocations: 29.7 kB / 0.4996 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.734e-06/0.6245, allocations: 0 / 0.4996 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.6245, allocations: 3.953 kB / 0.4996 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.842e-06/0.6245, allocations: 0 / 0.4996 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.482e-06/0.6245, allocations: 3.984 kB / 0.4997 GB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.6246, allocations: 4 kB / 0.4997 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.649e-06/0.6246, allocations: 3.938 kB / 0.4997 GB, free: 4.934 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.0001108/0.6247, allocations: 138.7 kB / 0.4998 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.6247, allocations: 4 kB / 0.4998 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.6247, allocations: 3.125 kB / 0.4998 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.618e-06/0.6248, allocations: 3.953 kB / 0.4998 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.803e-06/0.6248, allocations: 0 / 0.4998 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.458e-06/0.6248, allocations: 0 / 0.4998 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.6249, allocations: 145.7 kB / 0.4999 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.421e-06/0.6249, allocations: 4 kB / 0.4999 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-06/0.6249, allocations: 3.984 kB / 0.4999 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.737e-06/0.625, allocations: 4 kB / 0.5 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.85e-06/0.625, allocations: 0 / 0.5 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.938e-06/0.625, allocations: 0 / 0.5 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.27e-06/0.625, allocations: 3.953 kB / 0.5 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.6251, allocations: 90.83 kB / 0.5 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.6252, allocations: 77.11 kB / 0.5001 GB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.6252, allocations: 0 / 0.5001 GB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.6253, allocations: 0 / 0.5001 GB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.6253, allocations: 11.97 kB / 0.5001 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-06/0.6253, allocations: 3.953 kB / 0.5001 GB, free: 4.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.769e-05/0.6253, allocations: 75.28 kB / 0.5002 GB, free: 4.266 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.936e-06/0.6254, allocations: 0 / 0.5002 GB, free: 4.266 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000797/0.6262, allocations: 179.7 kB / 0.5004 GB, free: 4.09 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.0009915/0.6272, allocations: 402.2 kB / 0.5008 GB, free: 3.695 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.6273, allocations: 63.39 kB / 0.5008 GB, free: 3.621 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6273, allocations: 0 / 0.5008 GB, free: 3.621 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.761e-05/0.6274, allocations: 55.41 kB / 0.5009 GB, free: 3.555 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.752e-05/0.6275, allocations: 8.125 kB / 0.5009 GB, free: 3.547 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001601/0.6277, allocations: 49.19 kB / 0.5009 GB, free: 3.477 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.628, allocations: 0.6731 MB / 0.5016 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.695e-06/0.6281, allocations: 4 kB / 0.5016 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.217e-05/0.6281, allocations: 7.438 kB / 0.5016 GB, free: 2.766 MB / 426.7 MB Notification: Performance of SimCode: time 1.398e-06/0.6281, allocations: 0 / 0.5016 GB, free: 2.766 MB / 426.7 MB Notification: Performance of Templates: time 0.01022/0.6383, allocations: 3.945 MB / 0.5054 GB, free: 14.82 MB / 442.7 MB