Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.365/2.365, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.847e-05/7.848e-05, allocations: 8.047 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4061, allocations: 54.86 MB / 362.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0006154/0.4068, allocations: 213.3 kB / 363 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.4077, allocations: 316.9 kB / 363.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.079e-05/0.4077, allocations: 1.375 kB / 363.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.618e-06/0.4078, allocations: 0 / 363.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.4078, allocations: 0 / 363.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007759/0.4086, allocations: 129 kB / 363.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.812e-05/0.4086, allocations: 4.781 kB / 363.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.4086, allocations: 3.984 kB / 363.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.209e-05/0.4087, allocations: 0.6562 kB / 363.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007731/0.4095, allocations: 249.7 kB / 363.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.4095, allocations: 0 / 363.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.4095, allocations: 4 kB / 363.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.4095, allocations: 0 / 363.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.278e-05/0.4096, allocations: 1.562 kB / 363.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.186e-05/0.4096, allocations: 0 / 363.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4096, allocations: 0 / 363.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4096, allocations: 0 / 363.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.4096, allocations: 1.625 kB / 363.7 MB, free: 11.46 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.0003139/0.41, allocations: 334.7 kB / 364.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.41, allocations: 9.188 kB / 364.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.4101, allocations: 0 / 364.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.4102, allocations: 167.1 kB / 364.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4102, allocations: 1.156 kB / 364.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.4102, allocations: 4.5 kB / 364.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.128e-05/0.4103, allocations: 35.72 kB / 364.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4104, allocations: 0.9062 kB / 364.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.4104, allocations: 3.938 kB / 364.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4104, allocations: 8.859 kB / 364.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.4104, allocations: 1.5 kB / 364.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.4106, allocations: 147.2 kB / 364.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.4106, allocations: 26.72 kB / 364.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.4107, allocations: 0 / 364.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.4107, allocations: 61.89 kB / 364.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.4107, allocations: 0 / 364.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001871/0.4109, allocations: 61.97 kB / 364.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.411, allocations: 78.58 kB / 364.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.73e-05/0.411, allocations: 89.12 kB / 364.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4111, allocations: 25.7 kB / 364.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.4111, allocations: 152 kB / 364.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.4112, allocations: 7.891 kB / 364.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.4112, allocations: 0 / 364.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4113, allocations: 320 kB / 365.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.4113, allocations: 1.594 kB / 365.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-06/0.4113, allocations: 0 / 365.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.367e-05/0.4114, allocations: 32.61 kB / 365.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4114, allocations: 0 / 365.3 MB, free: 9.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.777e-05/0.4115, allocations: 62.06 kB / 365.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.4116, allocations: 30.55 kB / 365.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4116, allocations: 3.984 kB / 365.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4116, allocations: 1.656 kB / 365.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.4116, allocations: 0 / 365.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4116, allocations: 0 / 365.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.4116, allocations: 1.125 kB / 365.4 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.4117, allocations: 0 / 365.4 MB, free: 9.625 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.0001033/0.4118, allocations: 145.8 kB / 365.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-06/0.4118, allocations: 1.688 kB / 365.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.074e-05/0.4118, allocations: 3.125 kB / 365.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4118, allocations: 1.344 kB / 365.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4118, allocations: 0 / 365.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4118, allocations: 0 / 365.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.412, allocations: 154.7 kB / 365.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.412, allocations: 1.438 kB / 365.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-06/0.412, allocations: 0 / 365.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.412, allocations: 0 / 365.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.412, allocations: 9.344 kB / 365.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.412, allocations: 0 / 365.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.412, allocations: 1.594 kB / 365.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.4122, allocations: 97.44 kB / 365.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.4122, allocations: 81.09 kB / 365.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.4123, allocations: 5.125 kB / 365.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.286e-05/0.4123, allocations: 0 / 365.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.4123, allocations: 5.188 kB / 365.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.4123, allocations: 1.188 kB / 365.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.02e-05/0.4124, allocations: 75.28 kB / 365.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4124, allocations: 0 / 365.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002498/0.4126, allocations: 1.469 kB / 366 MB, free: 8.973 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.0001189/0.4128, allocations: 98.61 kB / 366 MB, free: 8.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.4129, allocations: 60.5 kB / 366.1 MB, free: 8.812 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4129, allocations: 0 / 366.1 MB, free: 8.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.768e-05/0.413, allocations: 61.97 kB / 366.2 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.4131, allocations: 5.516 kB / 366.2 MB, free: 8.738 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001978/0.4133, allocations: 103.6 kB / 366.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.4135, allocations: 0.6717 MB / 366.9 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.144e-05/0.4136, allocations: 8.438 kB / 367 MB, free: 7.91 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.4136, allocations: 0 / 367 MB, free: 7.91 MB / 298.7 MB Notification: Performance of Templates: time 0.001766/0.4153, allocations: 329.4 kB / 367.3 MB, free: 7.758 MB / 298.7 MB