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.549/2.549, allocations: 235.1 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.362e-05/2.371e-05, allocations: 0 / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3991, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.5628, allocations: 82.68 MB / 437.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.5631, allocations: 59.97 kB / 437.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07074/0.6339, allocations: 12.86 MB / 450 MB, free: 15.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.6339, allocations: 0 / 450 MB, free: 15.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.634, allocations: 0 / 450 MB, free: 15.46 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.0007389/0.6347, allocations: 455.9 kB / 450.5 MB, free: 14.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.6348, allocations: 8.031 kB / 450.5 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.847e-05/0.6348, allocations: 79.23 kB / 450.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.635, allocations: 238.3 kB / 450.8 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.706e-05/0.6351, allocations: 150.6 kB / 450.9 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/0.6352, allocations: 154.6 kB / 451.1 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.741e-05/0.6353, allocations: 150.6 kB / 451.2 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.855e-05/0.6353, allocations: 108.9 kB / 451.3 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.6354, allocations: 79.22 kB / 451.4 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.6355, allocations: 154.6 kB / 451.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.744e-05/0.6355, allocations: 154.5 kB / 451.7 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.6359, allocations: 422.5 kB / 452.1 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.636, allocations: 169.1 kB / 452.3 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.6361, allocations: 80.14 kB / 452.4 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.6361, allocations: 75.28 kB / 452.5 MB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.234e-05/0.6362, allocations: 143.5 kB / 452.6 MB, free: 12.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.734e-06/0.6363, allocations: 0 / 452.6 MB, free: 12.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.615e-05/0.6364, allocations: 33.7 kB / 452.6 MB, free: 12.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.6364, allocations: 77.11 kB / 452.7 MB, free: 12.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.536e-05/0.6365, allocations: 85 kB / 452.8 MB, free: 12.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.6365, allocations: 25.7 kB / 452.8 MB, free: 12.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.6366, allocations: 84.14 kB / 452.9 MB, free: 12.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.6366, allocations: 0 / 452.9 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-07/0.6366, allocations: 0 / 452.9 MB, free: 12.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6368, allocations: 314.8 kB / 453.2 MB, free: 12.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-06/0.6368, allocations: 4 kB / 453.2 MB, free: 12.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.117e-05/0.6368, allocations: 0 / 453.2 MB, free: 12.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/0.6369, allocations: 75.28 kB / 453.3 MB, free: 11.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.655e-05/0.6369, allocations: 79.28 kB / 453.4 MB, free: 11.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.387e-05/0.637, allocations: 33.62 kB / 453.4 MB, free: 11.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.224e-05/0.6371, allocations: 79.28 kB / 453.5 MB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/0.6371, allocations: 79.33 kB / 453.5 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-05/0.6372, allocations: 158.6 kB / 453.7 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.412e-05/0.6372, allocations: 83.25 kB / 453.8 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.899e-05/0.6373, allocations: 150.6 kB / 453.9 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.6374, allocations: 79.28 kB / 454 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.6375, allocations: 79.22 kB / 454.1 MB, free: 11.18 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.000152/0.6376, allocations: 255.5 kB / 454.3 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.945e-05/0.6378, allocations: 142.6 kB / 454.5 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.6379, allocations: 108.9 kB / 454.6 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.6379, allocations: 104.7 kB / 454.7 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-05/0.638, allocations: 184.2 kB / 454.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.978e-05/0.6381, allocations: 180.2 kB / 455 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.464e-05/0.6382, allocations: 180.3 kB / 455.2 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.6385, allocations: 385.7 kB / 455.6 MB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.247e-05/0.6385, allocations: 110.1 kB / 455.7 MB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.6386, allocations: 105 kB / 455.8 MB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.431e-05/0.6387, allocations: 180.3 kB / 456 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-05/0.6388, allocations: 184.2 kB / 456.2 MB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.405e-05/0.6389, allocations: 180.3 kB / 456.3 MB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.262e-05/0.639, allocations: 180.3 kB / 456.5 MB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.6392, allocations: 307.7 kB / 456.8 MB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/0.6393, allocations: 178.1 kB / 457 MB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/0.6394, allocations: 184.6 kB / 457.2 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.6395, allocations: 113 kB / 457.3 MB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.6396, allocations: 180.3 kB / 457.4 MB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.6397, allocations: 109 kB / 457.5 MB, free: 7.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.6397, allocations: 75.28 kB / 457.6 MB, free: 7.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6397, allocations: 0 / 457.6 MB, free: 7.406 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001027/0.6408, allocations: 167.7 kB / 457.8 MB, free: 7.242 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.001737/0.6425, allocations: 1.093 MB / 458.9 MB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.565e-05/0.6426, allocations: 3.984 kB / 458.9 MB, free: 6.133 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6426, allocations: 0 / 458.9 MB, free: 6.133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.6426, allocations: 4 kB / 458.9 MB, free: 6.129 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.643, allocations: 0.5185 MB / 459.4 MB, free: 5.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.6436, allocations: 244.6 kB / 459.6 MB, free: 5.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.644, allocations: 0.6767 MB / 460.3 MB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.424e-06/0.644, allocations: 0 / 460.3 MB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.644, allocations: 7.438 kB / 460.3 MB, free: 4.617 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.644, allocations: 0 / 460.3 MB, free: 4.617 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04335/0.6874, allocations: 3.314 MB / 463.6 MB, free: 1.312 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003881/0.6879, allocations: 173.5 kB / 463.8 MB, free: 1.105 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.537/3.225, allocations: 3.938 kB / 463.8 MB, free: 1.102 MB / 394.7 MB