Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.044e-05/3.051e-05, allocations: 1.828 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4502/0.5632, allocations: 86.11 MB / 496.4 MB, free: 2.055 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.5634, allocations: 59.91 kB / 496.4 MB, free: 1.996 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009551/0.573, allocations: 2.439 MB / 498.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.684e-06/0.5731, allocations: 0 / 498.9 MB, free: 15.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.467e-06/0.5731, allocations: 0 / 498.9 MB, free: 15.56 MB / 410.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.0004239/0.5735, allocations: 372 kB / 499.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5736, allocations: 8.031 kB / 499.2 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.5736, allocations: 0 / 499.2 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.5737, allocations: 163.1 kB / 499.4 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.5738, allocations: 7.984 kB / 499.4 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.5738, allocations: 3.953 kB / 499.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.904e-05/0.5739, allocations: 25.7 kB / 499.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5739, allocations: 3.984 kB / 499.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5739, allocations: 4 kB / 499.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-06/0.5739, allocations: 0 / 499.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.735e-05/0.574, allocations: 0 / 499.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.5741, allocations: 145.7 kB / 499.6 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.442e-05/0.5742, allocations: 26.55 kB / 499.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.5742, allocations: 4.859 kB / 499.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.685e-06/0.5743, allocations: 0 / 499.6 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/0.5743, allocations: 60.28 kB / 499.7 MB, free: 14.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.08e-06/0.5743, allocations: 4 kB / 499.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001694/0.5745, allocations: 59.39 kB / 499.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.5746, allocations: 85.14 kB / 499.8 MB, free: 14.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.5747, allocations: 85 kB / 499.9 MB, free: 14.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.5747, allocations: 29.7 kB / 499.9 MB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.5748, allocations: 80.14 kB / 0.4883 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.5748, allocations: 11.78 kB / 0.4883 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/0.5748, allocations: 0 / 0.4883 GB, free: 14.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.575, allocations: 310.8 kB / 0.4886 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.575, allocations: 0 / 0.4886 GB, free: 13.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.575, allocations: 4 kB / 0.4886 GB, free: 13.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.706e-05/0.5751, allocations: 33.75 kB / 0.4886 GB, free: 13.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-06/0.5751, allocations: 0 / 0.4886 GB, free: 13.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001016/0.5752, allocations: 59.41 kB / 0.4887 GB, free: 13.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.5752, allocations: 33.7 kB / 0.4887 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.049e-06/0.5753, allocations: 0 / 0.4887 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.5753, allocations: 7.891 kB / 0.4887 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.879e-06/0.5753, allocations: 0 / 0.4887 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.471e-06/0.5753, allocations: 4 kB / 0.4887 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.5754, allocations: 0 / 0.4887 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-06/0.5754, allocations: 0 / 0.4887 GB, free: 13.71 MB / 410.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.0001052/0.5755, allocations: 138.7 kB / 0.4889 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.5755, allocations: 4 kB / 0.4889 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.5755, allocations: 7.078 kB / 0.4889 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.338e-06/0.5756, allocations: 3.953 kB / 0.4889 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5756, allocations: 0 / 0.4889 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.707e-06/0.5756, allocations: 0 / 0.4889 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.5757, allocations: 153.6 kB / 0.489 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-06/0.5757, allocations: 0 / 0.489 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-06/0.5758, allocations: 0 / 0.489 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.831e-06/0.5758, allocations: 4 kB / 0.489 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.446e-06/0.5758, allocations: 0 / 0.489 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5758, allocations: 0 / 0.489 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.463e-06/0.5758, allocations: 3.953 kB / 0.489 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.5759, allocations: 90.83 kB / 0.4891 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.576, allocations: 77.11 kB / 0.4892 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.576, allocations: 0 / 0.4892 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.618e-05/0.5761, allocations: 4 kB / 0.4892 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.5761, allocations: 4.031 kB / 0.4892 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-06/0.5761, allocations: 3.953 kB / 0.4892 GB, free: 13.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.274e-05/0.5762, allocations: 75.28 kB / 0.4893 GB, free: 13.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.03e-07/0.5762, allocations: 0 / 0.4893 GB, free: 13.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004524/0.5766, allocations: 67.91 kB / 0.4893 GB, free: 12.98 MB / 410.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.0005703/0.5772, allocations: 217.4 kB / 0.4896 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.5774, allocations: 67.39 kB / 0.4896 GB, free: 12.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5774, allocations: 0 / 0.4896 GB, free: 12.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.5774, allocations: 55.34 kB / 0.4897 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.799e-05/0.5775, allocations: 4 kB / 0.4897 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00015/0.5777, allocations: 45.06 kB / 0.4897 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.5781, allocations: 0.6794 MB / 0.4904 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.873e-06/0.5781, allocations: 3.938 kB / 0.4904 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.29e-05/0.5781, allocations: 11.56 kB / 0.4904 GB, free: 11.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.665e-06/0.5781, allocations: 0 / 0.4904 GB, free: 11.84 MB / 410.7 MB Notification: Performance of Templates: time 0.005829/0.584, allocations: 1.871 MB / 0.4922 GB, free: 9.965 MB / 410.7 MB