Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_Shapes_Force",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.111/3.111, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.118e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4261, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.6086, allocations: 84.32 MB / 438.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.609, allocations: 67.97 kB / 438.8 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03155/0.6406, allocations: 5.502 MB / 444.3 MB, free: 5.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6407, allocations: 0 / 444.3 MB, free: 5.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.705e-05/0.6407, allocations: 8 kB / 444.3 MB, free: 5.148 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001993/0.6427, allocations: 0.5968 MB / 444.9 MB, free: 4.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.6428, allocations: 8.031 kB / 444.9 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.643, allocations: 70.52 kB / 445 MB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.6431, allocations: 43.53 kB / 445 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/0.6438, allocations: 282.2 kB / 445.3 MB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.6438, allocations: 17.81 kB / 445.3 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.644, allocations: 27.98 kB / 445.3 MB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009958/0.645, allocations: 241.5 kB / 445.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009275/0.6459, allocations: 266.1 kB / 445.8 MB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.646, allocations: 0 / 445.8 MB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.646, allocations: 0 / 445.8 MB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.6461, allocations: 12 kB / 445.9 MB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.6504, allocations: 1.273 MB / 447.1 MB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007707/0.6512, allocations: 236.1 kB / 447.4 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.6516, allocations: 133.4 kB / 447.5 MB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.502e-05/0.6517, allocations: 4.281 kB / 447.5 MB, free: 1.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.6517, allocations: 46.72 kB / 447.5 MB, free: 1.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 4.108e-06/0.6518, allocations: 0 / 447.5 MB, free: 1.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009177/0.6527, allocations: 239.6 kB / 447.8 MB, free: 1.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.6528, allocations: 59.41 kB / 447.8 MB, free: 1.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.6531, allocations: 192.5 kB / 448 MB, free: 1.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.6532, allocations: 25.7 kB / 448 MB, free: 1.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.6534, allocations: 208.1 kB / 448.2 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.6536, allocations: 114.3 kB / 448.4 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.6536, allocations: 4 kB / 448.4 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.6538, allocations: 334.8 kB / 448.7 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.6541, allocations: 76.88 kB / 448.8 MB, free: 452 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.6545, allocations: 146.7 kB / 448.9 MB, free: 276 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.6549, allocations: 105.5 kB / 449 MB, free: 172 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6549, allocations: 0 / 449 MB, free: 172 kB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001023/0.656, allocations: 299 kB / 449.3 MB, free: 15.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.656, allocations: 11.92 kB / 449.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.656, allocations: 8.219 kB / 449.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.6561, allocations: 4 kB / 449.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.6573, allocations: 99.88 kB / 449.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.6573, allocations: 7.938 kB / 449.4 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005758/0.6579, allocations: 35.62 kB / 449.5 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/0.658, allocations: 19.98 kB / 449.5 MB, free: 15.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001606/0.6582, allocations: 112.9 kB / 449.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.6583, allocations: 23.72 kB / 449.6 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009715/0.6593, allocations: 267.1 kB / 449.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.6593, allocations: 4 kB / 449.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.6593, allocations: 0 / 449.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6593, allocations: 7.938 kB / 449.9 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008052/0.6602, allocations: 341.8 kB / 450.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6602, allocations: 0 / 450.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.6613, allocations: 87.94 kB / 450.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/0.6613, allocations: 0 / 450.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.6614, allocations: 3.984 kB / 450.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.6614, allocations: 7.938 kB / 450.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6614, allocations: 0 / 450.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.6627, allocations: 459 kB / 450.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.663, allocations: 120.7 kB / 450.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.663, allocations: 0 / 450.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.6636, allocations: 16.05 kB / 450.9 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.6637, allocations: 23.97 kB / 450.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.6637, allocations: 8 kB / 450.9 MB, free: 14.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002727/0.664, allocations: 152.5 kB / 451.1 MB, free: 14 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.426e-06/0.664, allocations: 3.938 kB / 451.1 MB, free: 14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007/0.6648, allocations: 91.62 kB / 451.2 MB, free: 13.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.001693/0.6665, allocations: 0.989 MB / 452.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008333/0.6674, allocations: 231.6 kB / 452.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6674, allocations: 0 / 452.4 MB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.6678, allocations: 116.5 kB / 452.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.6683, allocations: 9.562 kB / 452.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.6709, allocations: 0.5852 MB / 453.1 MB, free: 11.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.6715, allocations: 0.7916 MB / 453.9 MB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004585/0.672, allocations: 39.27 kB / 453.9 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.6724, allocations: 111.4 kB / 454 MB, free: 10.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.6724, allocations: 0 / 454 MB, free: 10.96 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07572/0.7481, allocations: 4.59 MB / 458.6 MB, free: 6.402 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000955/0.7492, allocations: 132.4 kB / 458.8 MB, free: 6.207 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.338/4.087, allocations: 0 / 458.8 MB, free: 6.207 MB / 394.7 MB