Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 270 MB / 282.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.63e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.467, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.6277, allocations: 86.04 MB / 495 MB, free: 4.488 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.628, allocations: 63.95 kB / 495 MB, free: 4.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00391/0.6319, allocations: 1.034 MB / 496.1 MB, free: 3.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6319, allocations: 0 / 496.1 MB, free: 3.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.632, allocations: 8 kB / 496.1 MB, free: 3.379 MB / 410.7 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.0004061/0.6324, allocations: 342.4 kB / 496.4 MB, free: 3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.6324, allocations: 8.031 kB / 496.4 MB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.416e-05/0.6325, allocations: 38.48 kB / 496.4 MB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.6325, allocations: 8.125 kB / 496.5 MB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.6328, allocations: 171.1 kB / 496.6 MB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.6328, allocations: 7.938 kB / 496.6 MB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.6328, allocations: 3.953 kB / 496.6 MB, free: 2.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.633, allocations: 68.27 kB / 496.7 MB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.633, allocations: 3.938 kB / 496.7 MB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.633, allocations: 4 kB / 496.7 MB, free: 2.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.633, allocations: 4 kB / 496.7 MB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.703e-05/0.6331, allocations: 15.92 kB / 496.7 MB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.6337, allocations: 453.1 kB / 497.2 MB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.6339, allocations: 38.52 kB / 497.2 MB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.634, allocations: 12.86 kB / 497.2 MB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.634, allocations: 0 / 497.2 MB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.634, allocations: 34.66 kB / 497.3 MB, free: 2.004 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.634, allocations: 0 / 497.3 MB, free: 2.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004598/0.6345, allocations: 77.52 kB / 497.3 MB, free: 1.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.6346, allocations: 59.39 kB / 497.4 MB, free: 1.852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.6347, allocations: 105.2 kB / 497.5 MB, free: 1.738 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.6347, allocations: 25.7 kB / 497.5 MB, free: 1.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.6348, allocations: 154.5 kB / 497.7 MB, free: 1.555 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.6349, allocations: 23.73 kB / 497.7 MB, free: 1.531 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.6349, allocations: 4 kB / 497.7 MB, free: 1.527 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.635, allocations: 318.8 kB / 498 MB, free: 1.207 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.6351, allocations: 8 kB / 498 MB, free: 1.199 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.6351, allocations: 35.44 kB / 498 MB, free: 1.152 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.116e-05/0.6352, allocations: 11.98 kB / 498.1 MB, free: 1.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6352, allocations: 7.938 kB / 498.1 MB, free: 1.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001684/0.6354, allocations: 73.53 kB / 498.1 MB, free: 1.055 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.6354, allocations: 4 kB / 498.1 MB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6355, allocations: 4 kB / 498.1 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6355, allocations: 0 / 498.1 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.6356, allocations: 15.98 kB / 498.2 MB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6356, allocations: 0 / 498.2 MB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-05/0.6357, allocations: 4 kB / 498.2 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.6357, allocations: 8.094 kB / 498.2 MB, free: 1.02 MB / 410.7 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 8.689e-05/0.6358, allocations: 113.3 kB / 498.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.6359, allocations: 4 kB / 498.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.6359, allocations: 7.969 kB / 498.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6359, allocations: 0 / 498.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.6359, allocations: 7.922 kB / 498.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.636, allocations: 3.938 kB / 498.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.6362, allocations: 173.6 kB / 498.5 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.6362, allocations: 0 / 498.5 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.6364, allocations: 12 kB / 498.5 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6364, allocations: 0 / 498.5 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.6364, allocations: 4 kB / 498.5 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6364, allocations: 0 / 498.5 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6364, allocations: 4 kB / 498.5 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.6367, allocations: 159.7 kB / 498.7 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.6367, allocations: 89.12 kB / 498.7 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.6368, allocations: 0 / 498.7 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.6369, allocations: 8.062 kB / 498.7 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.6369, allocations: 0 / 498.7 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.6369, allocations: 3.984 kB / 498.8 MB, free: 352 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.386e-05/0.637, allocations: 95.22 kB / 498.8 MB, free: 256 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.637, allocations: 0 / 498.8 MB, free: 256 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003108/0.6374, allocations: 8 kB / 498.9 MB, free: 248 kB / 410.7 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.0005893/0.638, allocations: 0.7027 MB / 499.6 MB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.6381, allocations: 31.94 kB / 499.6 MB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6381, allocations: 0 / 499.6 MB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.6382, allocations: 8 kB / 499.6 MB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.6385, allocations: 8 kB / 499.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.6391, allocations: 167.5 kB / 499.8 MB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.6395, allocations: 0.6926 MB / 0.4887 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.6395, allocations: 15.44 kB / 0.4887 GB, free: 14.53 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6395, allocations: 0 / 0.4887 GB, free: 14.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.527/3.166, allocations: 1.064 MB / 0.4898 GB, free: 13.47 MB / 426.7 MB