Running command: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.684/2.684, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.699e-05, allocations: 4 kB / 299.5 MB, free: 224 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.393, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.5584, allocations: 79.35 MB / 433.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.5587, allocations: 59.91 kB / 433.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0111/0.5698, allocations: 2.166 MB / 436 MB, free: 13.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5698, allocations: 0 / 436 MB, free: 13.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.5699, allocations: 0 / 436 MB, free: 13.51 MB / 378.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.0004223/0.5703, allocations: 360.3 kB / 436.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.5704, allocations: 11.97 kB / 436.3 MB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.5704, allocations: 30.56 kB / 436.4 MB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.5705, allocations: 7.953 kB / 436.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.5706, allocations: 159.1 kB / 436.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.5706, allocations: 4 kB / 436.5 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.5706, allocations: 7.938 kB / 436.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.647e-05/0.5707, allocations: 0 / 436.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.673e-05/0.5708, allocations: 25.7 kB / 436.6 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5708, allocations: 8 kB / 436.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5708, allocations: 3.953 kB / 436.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.5709, allocations: 0 / 436.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.571, allocations: 126.2 kB / 436.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.512e-05/0.5711, allocations: 14.58 kB / 436.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.5711, allocations: 8.953 kB / 436.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.5712, allocations: 0 / 436.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.275e-05/0.5712, allocations: 72.14 kB / 436.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/0.5712, allocations: 0 / 436.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002026/0.5715, allocations: 41.59 kB / 436.8 MB, free: 12.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.5715, allocations: 77.11 kB / 436.9 MB, free: 12.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.064e-05/0.5716, allocations: 85 kB / 437 MB, free: 12.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.5716, allocations: 25.7 kB / 437 MB, free: 12.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.5717, allocations: 80.14 kB / 437.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.5717, allocations: 0 / 437.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.5717, allocations: 4.031 kB / 437.1 MB, free: 12.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5719, allocations: 314.8 kB / 437.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.5719, allocations: 4 kB / 437.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-06/0.5719, allocations: 0 / 437.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.239e-05/0.572, allocations: 4 kB / 437.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.572, allocations: 0 / 437.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001128/0.5721, allocations: 41.62 kB / 437.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.5722, allocations: 29.7 kB / 437.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5722, allocations: 0 / 437.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5722, allocations: 4.094 kB / 437.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-06/0.5722, allocations: 0 / 437.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.5722, allocations: 4 kB / 437.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.5723, allocations: 0 / 437.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.5723, allocations: 0 / 437.5 MB, free: 11.76 MB / 378.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.0001086/0.5724, allocations: 130.6 kB / 437.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.5724, allocations: 4 kB / 437.6 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.5725, allocations: 11.69 kB / 437.6 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5725, allocations: 0 / 437.6 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5725, allocations: 4 kB / 437.6 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.5725, allocations: 3.938 kB / 437.7 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.5726, allocations: 126.2 kB / 437.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.5727, allocations: 4 kB / 437.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-06/0.5727, allocations: 0 / 437.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5727, allocations: 0 / 437.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.5727, allocations: 0 / 437.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.5727, allocations: 0 / 437.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5727, allocations: 0 / 437.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.5729, allocations: 77.05 kB / 437.9 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.573, allocations: 85 kB / 437.9 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.573, allocations: 0 / 437.9 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.573, allocations: 0 / 437.9 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.5731, allocations: 0 / 437.9 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.5731, allocations: 11.98 kB / 437.9 MB, free: 11.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.348e-05/0.5731, allocations: 75.28 kB / 438 MB, free: 11.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5731, allocations: 0 / 438 MB, free: 11.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005325/0.5737, allocations: 56 kB / 438.1 MB, free: 11.1 MB / 378.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.001082/0.5748, allocations: 0.6951 MB / 438.8 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.575, allocations: 59.44 kB / 438.8 MB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.575, allocations: 4 kB / 438.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.209e-05/0.575, allocations: 55.39 kB / 438.9 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.5752, allocations: 4 kB / 438.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.5756, allocations: 103.9 kB / 439 MB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.5759, allocations: 0.669 MB / 439.7 MB, free: 9.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.011e-05/0.5759, allocations: 4 kB / 439.7 MB, free: 9.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.576, allocations: 7.438 kB / 439.7 MB, free: 9.391 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.576, allocations: 0 / 439.7 MB, free: 9.391 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07344/0.6494, allocations: 2.148 MB / 441.8 MB, free: 7.254 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004287/0.6499, allocations: 182.1 kB / 442 MB, free: 7.047 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.811/3.461, allocations: 3.938 kB / 442 MB, free: 7.043 MB / 378.7 MB