Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.661/2.661, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.489e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4119, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.6168, allocations: 84.99 MB / 467.3 MB, free: 7.418 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.6172, allocations: 63.97 kB / 467.3 MB, free: 7.355 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.005209/0.6224, allocations: 1.023 MB / 468.4 MB, free: 6.328 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6225, allocations: 4 kB / 468.4 MB, free: 6.324 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.6225, allocations: 0 / 468.4 MB, free: 6.324 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005242/0.6231, allocations: 350.8 kB / 468.7 MB, free: 5.938 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.6232, allocations: 8.031 kB / 468.7 MB, free: 5.93 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.6232, allocations: 38.56 kB / 468.8 MB, free: 5.883 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.6233, allocations: 3.906 kB / 468.8 MB, free: 5.879 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.6235, allocations: 179 kB / 468.9 MB, free: 5.664 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.6236, allocations: 0 / 468.9 MB, free: 5.664 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.6236, allocations: 12 kB / 468.9 MB, free: 5.652 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.6238, allocations: 68.19 kB / 469 MB, free: 5.57 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.6239, allocations: 0 / 469 MB, free: 5.57 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6239, allocations: 4 kB / 469 MB, free: 5.566 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.6239, allocations: 0 / 469 MB, free: 5.566 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.624, allocations: 12 kB / 469 MB, free: 5.555 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008073/0.6249, allocations: 453 kB / 469.5 MB, free: 5.055 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.6251, allocations: 34.56 kB / 469.5 MB, free: 5.012 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.6252, allocations: 12.86 kB / 469.5 MB, free: 4.996 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.6252, allocations: 0 / 469.5 MB, free: 4.996 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.6253, allocations: 34.78 kB / 469.6 MB, free: 4.953 MB / 394.8 MB Notification: Performance of pre-optimization done (n=3): time 4.999e-06/0.6253, allocations: 4 kB / 469.6 MB, free: 4.949 MB / 394.8 MB Notification: Performance of matching and sorting (n=4): time 0.0005808/0.6259, allocations: 85.5 kB / 469.6 MB, free: 4.859 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.626, allocations: 51.41 kB / 469.7 MB, free: 4.797 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.6261, allocations: 117 kB / 469.8 MB, free: 4.672 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.6262, allocations: 25.7 kB / 469.8 MB, free: 4.641 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/0.6263, allocations: 96.03 kB / 469.9 MB, free: 4.543 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.6263, allocations: 11.84 kB / 469.9 MB, free: 4.531 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.6264, allocations: 4 kB / 469.9 MB, free: 4.527 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.6266, allocations: 318.8 kB / 470.2 MB, free: 4.207 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-05/0.6266, allocations: 8 kB / 470.3 MB, free: 4.199 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.6267, allocations: 31.44 kB / 470.3 MB, free: 4.156 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.399e-05/0.6268, allocations: 23.92 kB / 470.3 MB, free: 4.133 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6269, allocations: 0 / 470.3 MB, free: 4.133 MB / 394.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002638/0.6271, allocations: 73.53 kB / 470.4 MB, free: 4.055 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.6272, allocations: 4 kB / 470.4 MB, free: 4.051 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6272, allocations: 0 / 470.4 MB, free: 4.051 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.6272, allocations: 4 kB / 470.4 MB, free: 4.047 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.6274, allocations: 11.98 kB / 470.4 MB, free: 4.035 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.6275, allocations: 7.953 kB / 470.4 MB, free: 4.027 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.6276, allocations: 12.09 kB / 470.4 MB, free: 4.016 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.6276, allocations: 4 kB / 470.4 MB, free: 4.012 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001175/0.6278, allocations: 108.9 kB / 470.5 MB, free: 3.898 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.6278, allocations: 3.906 kB / 470.5 MB, free: 3.895 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.933e-05/0.6279, allocations: 12.03 kB / 470.5 MB, free: 3.879 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6279, allocations: 0 / 470.5 MB, free: 3.879 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6279, allocations: 0 / 470.5 MB, free: 3.879 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.628, allocations: 7.938 kB / 470.6 MB, free: 3.871 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.6283, allocations: 165.7 kB / 470.7 MB, free: 3.66 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.6283, allocations: 4 kB / 470.7 MB, free: 3.656 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.6286, allocations: 12 kB / 470.7 MB, free: 3.645 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.6286, allocations: 240 / 470.7 MB, free: 3.645 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.6286, allocations: 0 / 470.7 MB, free: 3.645 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6286, allocations: 0 / 470.7 MB, free: 3.645 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6286, allocations: 0 / 470.7 MB, free: 3.645 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.629, allocations: 171.5 kB / 470.9 MB, free: 3.461 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.6291, allocations: 85.05 kB / 471 MB, free: 3.359 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.6291, allocations: 4 kB / 471 MB, free: 3.355 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.6293, allocations: 8.375 kB / 471 MB, free: 3.348 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.6294, allocations: 3.938 kB / 471 MB, free: 3.344 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.6294, allocations: 0 / 471 MB, free: 3.344 MB / 394.8 MB Notification: Performance of sorting global known variables: time 9.749e-05/0.6295, allocations: 95.2 kB / 471.1 MB, free: 3.25 MB / 394.8 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6295, allocations: 0 / 471.1 MB, free: 3.25 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0005289/0.6301, allocations: 8 kB / 471.1 MB, free: 3.242 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0007464/0.6308, allocations: 0.693 MB / 471.8 MB, free: 2.52 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.6311, allocations: 35.92 kB / 471.8 MB, free: 2.484 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6311, allocations: 0 / 471.8 MB, free: 2.484 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.6312, allocations: 8 kB / 471.8 MB, free: 2.477 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.6316, allocations: 8 kB / 471.8 MB, free: 2.469 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.6326, allocations: 142.4 kB / 472 MB, free: 2.297 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.633, allocations: 0.6953 MB / 472.7 MB, free: 1.578 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 6.865e-05/0.6331, allocations: 4.172 kB / 472.7 MB, free: 1.574 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.6332, allocations: 15.44 kB / 472.7 MB, free: 1.559 MB / 394.8 MB Notification: Performance of SimCode: time 1.463e-06/0.6332, allocations: 0 / 472.7 MB, free: 1.559 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.6575, allocations: 1.296 MB / 474 MB, free: 344 kB / 394.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.6579, allocations: 144.5 kB / 474.1 MB, free: 112 kB / 394.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/3.011, allocations: 0 / 474.1 MB, free: 112 kB / 394.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat does not exist to compare? outputFormat=mat