Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestNonlinear",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.744/2.744, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.676e-05, allocations: 4 kB / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.3993, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.5641, allocations: 82.7 MB / 437.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5644, allocations: 67.97 kB / 437.2 MB, free: 12.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07833/0.6427, allocations: 12.86 MB / 450 MB, free: 15.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6428, allocations: 0 / 450 MB, free: 15.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.6428, allocations: 4 kB / 450 MB, free: 15.45 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007742/0.6436, allocations: 447.9 kB / 450.5 MB, free: 14.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.6437, allocations: 12.03 kB / 450.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.16e-05/0.6438, allocations: 105.8 kB / 450.6 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.593e-05/0.6439, allocations: 79.23 kB / 450.7 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.644, allocations: 238.3 kB / 450.9 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.19e-05/0.6441, allocations: 150.6 kB / 451 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.6442, allocations: 154.6 kB / 451.2 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.879e-05/0.6443, allocations: 154.5 kB / 451.3 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.04e-05/0.6444, allocations: 105 kB / 451.4 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.6444, allocations: 75.28 kB / 451.5 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.36e-05/0.6445, allocations: 154.5 kB / 451.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.694e-05/0.6446, allocations: 154.6 kB / 451.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.6449, allocations: 422.5 kB / 452.2 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.6451, allocations: 169.1 kB / 452.4 MB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.6451, allocations: 92.06 kB / 452.5 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.6452, allocations: 79.28 kB / 452.6 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.59e-05/0.6453, allocations: 135.5 kB / 452.7 MB, free: 12.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.806e-06/0.6453, allocations: 0 / 452.7 MB, free: 12.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 9.78e-05/0.6454, allocations: 25.7 kB / 452.7 MB, free: 12.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.6455, allocations: 81.11 kB / 452.8 MB, free: 12.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.254e-05/0.6455, allocations: 85 kB / 452.9 MB, free: 12.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.6455, allocations: 25.7 kB / 452.9 MB, free: 12.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.6456, allocations: 80.14 kB / 453 MB, free: 12.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.6456, allocations: 4 kB / 453 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-07/0.6456, allocations: 0 / 453 MB, free: 12.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6458, allocations: 314.8 kB / 453.3 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.6458, allocations: 8 kB / 453.3 MB, free: 11.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.6458, allocations: 0 / 453.3 MB, free: 11.94 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.588e-05/0.6459, allocations: 79.22 kB / 453.4 MB, free: 11.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.575e-05/0.6459, allocations: 79.22 kB / 453.5 MB, free: 11.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.829e-05/0.646, allocations: 33.69 kB / 453.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/0.6461, allocations: 83.31 kB / 453.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/0.6461, allocations: 75.28 kB / 453.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-05/0.6463, allocations: 158.5 kB / 453.8 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.499e-05/0.6463, allocations: 79.28 kB / 453.9 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-05/0.6464, allocations: 150.6 kB / 454 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.6465, allocations: 79.22 kB / 454.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.6466, allocations: 87.22 kB / 454.2 MB, free: 11.04 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001535/0.6467, allocations: 261.5 kB / 454.4 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/0.6468, allocations: 101 kB / 454.5 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.51e-05/0.6469, allocations: 112.7 kB / 454.6 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-05/0.647, allocations: 176.3 kB / 454.8 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.781e-05/0.6471, allocations: 180.3 kB / 455 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.041e-05/0.6472, allocations: 188.2 kB / 455.2 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.6475, allocations: 381.8 kB / 455.6 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.112e-05/0.6475, allocations: 101 kB / 455.7 MB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.6476, allocations: 104.9 kB / 455.8 MB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-05/0.6477, allocations: 185.4 kB / 455.9 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.37e-05/0.6478, allocations: 184.3 kB / 456.1 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.148e-05/0.6479, allocations: 180.2 kB / 456.3 MB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.453e-05/0.648, allocations: 176.3 kB / 456.5 MB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.6481, allocations: 307.8 kB / 456.8 MB, free: 8.305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/0.6483, allocations: 186 kB / 456.9 MB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.702e-05/0.6484, allocations: 180.3 kB / 457.1 MB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.6485, allocations: 104.9 kB / 457.2 MB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.6486, allocations: 176.7 kB / 457.4 MB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.6487, allocations: 109 kB / 457.5 MB, free: 7.512 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.515e-05/0.6487, allocations: 79.28 kB / 457.6 MB, free: 7.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6487, allocations: 0 / 457.6 MB, free: 7.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001088/0.6498, allocations: 167.7 kB / 457.7 MB, free: 7.27 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001905/0.6517, allocations: 1.087 MB / 458.8 MB, free: 6.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.777e-05/0.6518, allocations: 3.938 kB / 458.8 MB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6518, allocations: 3.938 kB / 458.8 MB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.6519, allocations: 0 / 458.8 MB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.6522, allocations: 0.5224 MB / 459.4 MB, free: 5.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.653, allocations: 236.2 kB / 459.6 MB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.6533, allocations: 0.6806 MB / 460.3 MB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.817e-06/0.6533, allocations: 0 / 460.3 MB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.6534, allocations: 7.438 kB / 460.3 MB, free: 4.645 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6534, allocations: 3.938 kB / 460.3 MB, free: 4.641 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05144/0.7048, allocations: 3.37 MB / 463.7 MB, free: 1.277 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003737/0.7053, allocations: 165.5 kB / 463.8 MB, free: 1.078 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.767/3.473, allocations: 0 / 463.8 MB, free: 1.078 MB / 394.7 MB