Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.467/2.467, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.46e-05/4.482e-05, allocations: 1.688 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 61.9 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5706/0.7068, allocations: 86.04 MB / 496.4 MB, free: 2.035 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.7071, allocations: 63.97 kB / 496.5 MB, free: 1.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004003/0.7111, allocations: 1.04 MB / 497.5 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.7112, allocations: 0 / 497.5 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.7112, allocations: 0 / 497.5 MB, free: 0.9375 MB / 394.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.0004156/0.7116, allocations: 342.4 kB / 497.8 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.7117, allocations: 8.031 kB / 497.8 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.584e-05/0.7117, allocations: 42.5 kB / 497.9 MB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.7118, allocations: 7.906 kB / 497.9 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.712, allocations: 175 kB / 498.1 MB, free: 288 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.712, allocations: 4 kB / 498.1 MB, free: 284 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.7121, allocations: 7.953 kB / 498.1 MB, free: 276 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.7122, allocations: 60.27 kB / 498.1 MB, free: 200 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.7123, allocations: 3.984 kB / 498.1 MB, free: 196 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.7123, allocations: 4 kB / 498.1 MB, free: 192 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.7123, allocations: 0 / 498.1 MB, free: 192 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.31e-05/0.7124, allocations: 21.69 kB / 498.2 MB, free: 172 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.713, allocations: 445.1 kB / 498.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.7132, allocations: 34.52 kB / 498.6 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.7133, allocations: 16.86 kB / 498.7 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.7133, allocations: 0 / 498.7 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.7133, allocations: 33.41 kB / 498.7 MB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.7133, allocations: 4 kB / 498.7 MB, free: 15.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004577/0.7138, allocations: 81.73 kB / 498.8 MB, free: 15.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.7139, allocations: 55.41 kB / 498.8 MB, free: 15.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.714, allocations: 109.1 kB / 498.9 MB, free: 15.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.714, allocations: 29.7 kB / 499 MB, free: 15.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.7141, allocations: 92.05 kB / 499 MB, free: 15.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.7141, allocations: 19.73 kB / 499.1 MB, free: 15.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.7141, allocations: 0 / 499.1 MB, free: 15.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.7143, allocations: 318.8 kB / 499.4 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/0.7143, allocations: 8 kB / 499.4 MB, free: 14.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.641e-05/0.7144, allocations: 35.42 kB / 499.4 MB, free: 14.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.194e-05/0.7145, allocations: 16 kB / 499.4 MB, free: 14.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7145, allocations: 3.938 kB / 499.4 MB, free: 14.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001685/0.7147, allocations: 73.53 kB / 499.5 MB, free: 14.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.7147, allocations: 4 kB / 499.5 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.7147, allocations: 0 / 499.5 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.7147, allocations: 4 kB / 499.5 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.7149, allocations: 20.08 kB / 499.5 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.7149, allocations: 4 kB / 499.5 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.715, allocations: 4 kB / 499.5 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.715, allocations: 0 / 499.5 MB, free: 14.64 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.567e-05/0.7151, allocations: 111.5 kB / 499.7 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.7151, allocations: 0 / 499.7 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.7152, allocations: 16.02 kB / 499.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.7152, allocations: 224 / 499.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.7152, allocations: 0 / 499.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7152, allocations: 11.88 kB / 499.7 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.7154, allocations: 170.5 kB / 499.8 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7155, allocations: 0 / 499.8 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.7156, allocations: 12 kB / 499.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.7156, allocations: 0 / 499.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.7157, allocations: 3.984 kB / 499.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.7157, allocations: 4 kB / 499.9 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7157, allocations: 0 / 499.9 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.7159, allocations: 167.5 kB / 0.4883 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.716, allocations: 89 kB / 0.4884 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.716, allocations: 0 / 0.4884 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.7161, allocations: 4 kB / 0.4884 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.7162, allocations: 3.984 kB / 0.4884 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.7162, allocations: 384 / 0.4884 GB, free: 13.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.253e-05/0.7163, allocations: 95.16 kB / 0.4885 GB, free: 13.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7163, allocations: 0 / 0.4885 GB, free: 13.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003227/0.7166, allocations: 8 kB / 0.4885 GB, free: 13.87 MB / 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.0006005/0.7172, allocations: 0.7018 MB / 0.4892 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.7174, allocations: 31.94 kB / 0.4892 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7174, allocations: 0 / 0.4892 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.7175, allocations: 8.281 kB / 0.4892 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.7178, allocations: 16.23 kB / 0.4892 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007114/0.7186, allocations: 136.7 kB / 0.4894 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.7189, allocations: 0.6888 MB / 0.49 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.719, allocations: 4.125 kB / 0.4901 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.719, allocations: 15.44 kB / 0.4901 GB, free: 12.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.719, allocations: 0 / 0.4901 GB, free: 12.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.7389, allocations: 1.3 MB / 0.4913 GB, free: 10.95 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/0.7393, allocations: 145.8 kB / 0.4915 GB, free: 10.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.173, allocations: 4 kB / 0.4915 GB, free: 10.73 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat does not exist to compare? outputFormat=mat