Running command: "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestScalarFunctions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.714/2.714, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.603e-05/2.634e-05, allocations: 0 / 299.5 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4017, allocations: 54.86 MB / 354.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.5661, allocations: 79.91 MB / 434.3 MB, free: 15.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5664, allocations: 59.98 kB / 434.4 MB, free: 15.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.036/0.6024, allocations: 6.295 MB / 440.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6025, allocations: 0 / 440.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.6025, allocations: 0 / 440.7 MB, free: 8.875 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.0003845/0.6029, allocations: 372.6 kB / 441 MB, free: 8.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.603, allocations: 12.02 kB / 441 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.603, allocations: 30.56 kB / 441.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.6031, allocations: 3.953 kB / 441.1 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.6032, allocations: 159.1 kB / 441.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.6032, allocations: 4 kB / 441.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.6032, allocations: 7.938 kB / 441.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.307e-05/0.6033, allocations: 3.938 kB / 441.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.125e-05/0.6034, allocations: 29.69 kB / 441.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6034, allocations: 0 / 441.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.6034, allocations: 7.938 kB / 441.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.6034, allocations: 3.953 kB / 441.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.6036, allocations: 126.2 kB / 441.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.497e-05/0.6036, allocations: 22.58 kB / 441.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.6037, allocations: 8.953 kB / 441.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.6037, allocations: 0 / 441.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.6037, allocations: 56.27 kB / 441.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.963e-06/0.6038, allocations: 0 / 441.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002008/0.604, allocations: 41.62 kB / 441.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.604, allocations: 77.11 kB / 441.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.576e-05/0.6041, allocations: 92.94 kB / 441.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.6041, allocations: 25.7 kB / 441.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.6042, allocations: 80.14 kB / 441.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.6042, allocations: 4 kB / 441.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.6042, allocations: 0 / 441.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6044, allocations: 314.8 kB / 442.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.6044, allocations: 4 kB / 442.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.6044, allocations: 0 / 442.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.6045, allocations: 4.062 kB / 442.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6045, allocations: 0 / 442.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.6046, allocations: 37.69 kB / 442.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.6047, allocations: 29.7 kB / 442.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6047, allocations: 3.938 kB / 442.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.6047, allocations: 4 kB / 442.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.804e-06/0.6047, allocations: 0 / 442.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.6047, allocations: 0 / 442.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.6047, allocations: 0 / 442.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.6048, allocations: 0 / 442.2 MB, free: 7.109 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.0001034/0.6049, allocations: 138.7 kB / 442.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.6049, allocations: 4 kB / 442.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.512e-05/0.6049, allocations: 11.69 kB / 442.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6049, allocations: 0 / 442.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.605, allocations: 0 / 442.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.605, allocations: 0 / 442.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.6051, allocations: 130.2 kB / 442.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6051, allocations: 3.953 kB / 442.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-06/0.6051, allocations: 3.938 kB / 442.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6051, allocations: 0 / 442.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.6052, allocations: 7.938 kB / 442.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6052, allocations: 0 / 442.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.6052, allocations: 3.984 kB / 442.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.6054, allocations: 61.14 kB / 442.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.6054, allocations: 81.06 kB / 442.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.6055, allocations: 7.922 kB / 442.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/0.6055, allocations: 0 / 442.6 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.6055, allocations: 12.02 kB / 442.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.6055, allocations: 0 / 442.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.226e-05/0.6056, allocations: 75.28 kB / 442.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6056, allocations: 0 / 442.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.6059, allocations: 8 kB / 442.7 MB, free: 6.488 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.0006729/0.6066, allocations: 0.6205 MB / 443.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.961e-05/0.6067, allocations: 55.41 kB / 443.4 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6067, allocations: 0 / 443.4 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.6068, allocations: 63.33 kB / 443.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.6069, allocations: 5.562 kB / 443.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.6072, allocations: 77.39 kB / 443.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.6075, allocations: 0.6768 MB / 444.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.969e-06/0.6075, allocations: 3.984 kB / 444.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.6076, allocations: 7.438 kB / 444.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6076, allocations: 0 / 444.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/0.6539, allocations: 0.5597 MB / 444.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003381/0.6543, allocations: 168.9 kB / 445 MB, free: 4.125 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.654/3.309, allocations: 7.938 kB / 445 MB, free: 4.117 MB / 378.7 MB