Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.444/2.444, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.012e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4237, allocations: 54.85 MB / 359.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.5859, allocations: 84.98 MB / 444.8 MB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.5863, allocations: 69 kB / 444.9 MB, free: 11.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02601/0.6123, allocations: 5.519 MB / 450.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6124, allocations: 0 / 450.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.08e-05/0.6125, allocations: 12 kB / 450.4 MB, free: 6.242 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.001597/0.6141, allocations: 0.6032 MB / 451 MB, free: 5.598 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.6141, allocations: 8.031 kB / 451.1 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.6143, allocations: 78.53 kB / 451.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.6144, allocations: 43.44 kB / 451.2 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/0.6149, allocations: 287.7 kB / 451.5 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.615, allocations: 24.78 kB / 451.5 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.553e-05/0.6151, allocations: 44.73 kB / 451.5 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009161/0.616, allocations: 319.7 kB / 451.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.616, allocations: 0 / 451.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/0.6161, allocations: 16 kB / 451.8 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.6161, allocations: 8 kB / 451.9 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008333/0.617, allocations: 271.1 kB / 452.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/0.6207, allocations: 1.345 MB / 453.5 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/0.6215, allocations: 268.6 kB / 453.7 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.6219, allocations: 146.5 kB / 453.9 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.6219, allocations: 4.281 kB / 453.9 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.622, allocations: 42.84 kB / 453.9 MB, free: 2.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.216e-06/0.622, allocations: 0 / 453.9 MB, free: 2.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008055/0.6228, allocations: 255.5 kB / 454.2 MB, free: 2.293 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.6229, allocations: 59.39 kB / 454.2 MB, free: 2.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.6233, allocations: 231.1 kB / 454.5 MB, free: 1.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.6234, allocations: 29.7 kB / 454.5 MB, free: 1.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.6236, allocations: 208 kB / 454.7 MB, free: 1.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.6237, allocations: 114.2 kB / 454.8 MB, free: 1.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.6238, allocations: 12 kB / 454.8 MB, free: 1.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.624, allocations: 342.8 kB / 455.1 MB, free: 1.281 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.6243, allocations: 94.22 kB / 455.2 MB, free: 1.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.6247, allocations: 151.5 kB / 455.4 MB, free: 1.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.625, allocations: 109.5 kB / 455.5 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.625, allocations: 0 / 455.5 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009084/0.626, allocations: 331 kB / 455.8 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.626, allocations: 12.22 kB / 455.8 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.626, allocations: 0 / 455.8 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.6261, allocations: 7.953 kB / 455.8 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/0.627, allocations: 107.8 kB / 455.9 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.6271, allocations: 7.938 kB / 455.9 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.6276, allocations: 43.67 kB / 456 MB, free: 420 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.6277, allocations: 16 kB / 456 MB, free: 404 kB / 378.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.0001447/0.6278, allocations: 128.8 kB / 456.1 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/0.6279, allocations: 27.62 kB / 456.2 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008977/0.6288, allocations: 296.5 kB / 456.4 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6288, allocations: 1.219 kB / 456.4 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.6289, allocations: 7.953 kB / 456.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.6289, allocations: 0 / 456.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007583/0.6296, allocations: 409.1 kB / 456.9 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6297, allocations: 0 / 456.9 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008305/0.6305, allocations: 87.94 kB / 456.9 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/0.6305, allocations: 0 / 456.9 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.6306, allocations: 8 kB / 456.9 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.6306, allocations: 3.938 kB / 457 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6306, allocations: 0 / 457 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.6318, allocations: 494.7 kB / 457.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.632, allocations: 120.7 kB / 457.6 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.6321, allocations: 16.05 kB / 457.6 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.6325, allocations: 15.94 kB / 457.6 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/0.6326, allocations: 19.97 kB / 457.6 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.6327, allocations: 15.98 kB / 457.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002913/0.633, allocations: 187.1 kB / 457.8 MB, free: 14.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.633, allocations: 0 / 457.8 MB, free: 14.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005204/0.6335, allocations: 91.78 kB / 457.9 MB, free: 14.41 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.00146/0.635, allocations: 1.024 MB / 458.9 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007749/0.6358, allocations: 256.1 kB / 459.2 MB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6358, allocations: 3.938 kB / 459.2 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.6361, allocations: 119.9 kB / 459.3 MB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.6365, allocations: 25.06 kB / 459.3 MB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.6387, allocations: 0.6026 MB / 459.9 MB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.6392, allocations: 0.7952 MB / 460.7 MB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000389/0.6396, allocations: 34.95 kB / 460.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.6399, allocations: 111.4 kB / 460.9 MB, free: 11.35 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6399, allocations: 0 / 460.9 MB, free: 11.35 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.673, allocations: 5.154 MB / 466 MB, free: 6.281 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003578/0.6734, allocations: 140.6 kB / 466.1 MB, free: 6.059 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.739/3.413, allocations: 0 / 466.1 MB, free: 6.059 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat