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 2.828/2.828, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.692e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3918, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.5716, allocations: 84.31 MB / 438.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.572, allocations: 67.97 kB / 438.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02971/0.6017, allocations: 5.485 MB / 444.3 MB, free: 5.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6018, allocations: 0 / 444.3 MB, free: 5.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.431e-05/0.6019, allocations: 8 kB / 444.3 MB, free: 5.184 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.001906/0.6038, allocations: 0.6009 MB / 444.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.6039, allocations: 11.97 kB / 444.9 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.6041, allocations: 43.53 kB / 445 MB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006072/0.6047, allocations: 290 kB / 445.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.6047, allocations: 16 kB / 445.3 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/0.6048, allocations: 21.03 kB / 445.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009211/0.6058, allocations: 245.5 kB / 445.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008826/0.6067, allocations: 266.1 kB / 445.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.6067, allocations: 0 / 445.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.6068, allocations: 0 / 445.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.6068, allocations: 8 kB / 445.8 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.611, allocations: 1.269 MB / 447.1 MB, free: 2.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/0.6118, allocations: 240.1 kB / 447.3 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.6122, allocations: 137.4 kB / 447.4 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.629e-05/0.6123, allocations: 4.219 kB / 447.4 MB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.6123, allocations: 38.84 kB / 447.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 4.649e-06/0.6124, allocations: 0 / 447.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.000855/0.6132, allocations: 239.7 kB / 447.7 MB, free: 1.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.6133, allocations: 59.36 kB / 447.8 MB, free: 1.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.6137, allocations: 200.4 kB / 448 MB, free: 1.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.6137, allocations: 25.7 kB / 448 MB, free: 1.277 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.6139, allocations: 204.1 kB / 448.2 MB, free: 1.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.6141, allocations: 118.3 kB / 448.3 MB, free: 0.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.6141, allocations: 0 / 448.3 MB, free: 0.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.6143, allocations: 330.8 kB / 448.6 MB, free: 0.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.6146, allocations: 80.88 kB / 448.7 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.615, allocations: 150.6 kB / 448.8 MB, free: 380 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.6154, allocations: 101.6 kB / 448.9 MB, free: 280 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.6154, allocations: 4 kB / 448.9 MB, free: 276 kB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009998/0.6164, allocations: 299 kB / 449.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.6165, allocations: 4 kB / 449.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.6165, allocations: 4 kB / 449.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.332e-05/0.6165, allocations: 4 kB / 449.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.6176, allocations: 112 kB / 449.4 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.6177, allocations: 4 kB / 449.4 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.6182, allocations: 35.62 kB / 449.4 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.6183, allocations: 16 kB / 449.4 MB, free: 15.8 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.0001547/0.6185, allocations: 108.9 kB / 449.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007677/0.6192, allocations: 233.2 kB / 449.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.6194, allocations: 31.61 kB / 449.8 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009181/0.6203, allocations: 271.2 kB / 450 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.6203, allocations: 4 kB / 450 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.6203, allocations: 3.953 kB / 450.1 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6203, allocations: 0 / 450.1 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007969/0.6212, allocations: 341.8 kB / 450.4 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6212, allocations: 0 / 450.4 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009755/0.6222, allocations: 87.88 kB / 450.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.6222, allocations: 0 / 450.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.6222, allocations: 8 kB / 450.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.6223, allocations: 4 kB / 450.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6223, allocations: 0 / 450.5 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.6235, allocations: 458.9 kB / 450.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.6238, allocations: 124.7 kB / 451.1 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.683e-05/0.6239, allocations: 0 / 451.1 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.6244, allocations: 8 kB / 451.1 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-05/0.6245, allocations: 28.02 kB / 451.1 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.6245, allocations: 8 kB / 451.1 MB, free: 14.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.6248, allocations: 152.5 kB / 451.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6248, allocations: 0 / 451.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006479/0.6255, allocations: 87.69 kB / 451.3 MB, free: 13.79 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.001582/0.6271, allocations: 0.9852 MB / 452.3 MB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000813/0.6279, allocations: 235.6 kB / 452.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.628, allocations: 0 / 452.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.6283, allocations: 116.5 kB / 452.7 MB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.6288, allocations: 17 kB / 452.7 MB, free: 12.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.6313, allocations: 0.584 MB / 453.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.632, allocations: 0.7916 MB / 454.1 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004501/0.6324, allocations: 35.27 kB / 454.1 MB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.6328, allocations: 115.3 kB / 454.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6328, allocations: 4 kB / 454.2 MB, free: 10.83 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05192/0.6847, allocations: 4.482 MB / 458.7 MB, free: 6.379 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003588/0.6851, allocations: 132.5 kB / 458.8 MB, free: 6.184 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.843/3.528, allocations: 0 / 458.8 MB, free: 6.184 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat