Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.897e-05, allocations: 0 / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1407, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5938/0.7346, allocations: 85.34 MB / 495.7 MB, free: 2.719 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.7349, allocations: 64.67 kB / 495.8 MB, free: 2.656 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008733/0.7437, allocations: 1.782 MB / 497.6 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7437, allocations: 0 / 497.6 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.7437, allocations: 0 / 497.6 MB, free: 0.8828 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000518/0.7443, allocations: 362.3 kB / 497.9 MB, free: 496 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.7443, allocations: 12.03 kB / 497.9 MB, free: 484 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.7444, allocations: 34.56 kB / 498 MB, free: 440 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.7444, allocations: 8 kB / 498 MB, free: 432 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.7446, allocations: 170.9 kB / 498.1 MB, free: 220 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.7446, allocations: 4 kB / 498.1 MB, free: 216 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.7446, allocations: 4.875 kB / 498.1 MB, free: 212 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.7448, allocations: 49.69 kB / 498.2 MB, free: 156 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.7448, allocations: 3.938 kB / 498.2 MB, free: 152 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.7449, allocations: 4 kB / 498.2 MB, free: 148 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.7449, allocations: 0 / 498.2 MB, free: 148 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.786e-05/0.745, allocations: 27.98 kB / 498.2 MB, free: 120 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.7453, allocations: 173.6 kB / 498.4 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.7456, allocations: 54.56 kB / 498.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.262e-05/0.7457, allocations: 20.86 kB / 498.5 MB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003653/0.7461, allocations: 125.3 kB / 498.6 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.7461, allocations: 40.19 kB / 498.6 MB, free: 15.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.996e-06/0.7461, allocations: 0 / 498.6 MB, free: 15.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.07181/0.8179, allocations: 2.044 MB / 0.4889 GB, free: 13.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.8181, allocations: 55.41 kB / 0.489 GB, free: 13.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/0.8182, allocations: 98.36 kB / 0.4891 GB, free: 13.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.8182, allocations: 25.7 kB / 0.4891 GB, free: 13.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.8183, allocations: 88.14 kB / 0.4892 GB, free: 13.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.8184, allocations: 67.19 kB / 0.4893 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.8185, allocations: 0 / 0.4893 GB, free: 13.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8186, allocations: 326.8 kB / 0.4896 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.819, allocations: 144 kB / 0.4897 GB, free: 12.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.8194, allocations: 147.2 kB / 0.4898 GB, free: 12.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.82, allocations: 159.9 kB / 0.49 GB, free: 12.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8201, allocations: 0 / 0.49 GB, free: 12.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001205/0.8213, allocations: 393.4 kB / 0.4904 GB, free: 12.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.8213, allocations: 4 kB / 0.4904 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.8214, allocations: 0 / 0.4904 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.8214, allocations: 4 kB / 0.4904 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.8221, allocations: 75.94 kB / 0.4905 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.8222, allocations: 4 kB / 0.4905 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.8226, allocations: 27.97 kB / 0.4905 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.8227, allocations: 12 kB / 0.4905 GB, free: 11.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001562/0.8228, allocations: 128.9 kB / 0.4906 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.8229, allocations: 7.906 kB / 0.4906 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.8246, allocations: 473.3 kB / 0.4911 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.8247, allocations: 4 kB / 0.4911 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.8247, allocations: 0 / 0.4911 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.8247, allocations: 4.234 kB / 0.4911 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.8279, allocations: 0.8467 MB / 0.4919 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.828, allocations: 8 kB / 0.4919 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005984/0.8286, allocations: 75.89 kB / 0.492 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/0.8286, allocations: 4 kB / 0.492 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-05/0.8287, allocations: 11.98 kB / 0.492 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/0.8287, allocations: 7.953 kB / 0.492 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8287, allocations: 0 / 0.492 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.8298, allocations: 475.7 kB / 0.4925 GB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.8299, allocations: 85.02 kB / 0.4925 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.83, allocations: 3.984 kB / 0.4926 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.8304, allocations: 35.97 kB / 0.4926 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.8305, allocations: 15.94 kB / 0.4926 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.8305, allocations: 16 kB / 0.4926 GB, free: 9.551 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.836e-05/0.8306, allocations: 83.27 kB / 0.4927 GB, free: 9.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8306, allocations: 0 / 0.4927 GB, free: 9.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00142/0.832, allocations: 343.7 kB / 0.493 GB, free: 9.133 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.003573/0.8356, allocations: 1.571 MB / 0.4946 GB, free: 7.496 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009208/0.8366, allocations: 274.8 kB / 0.4948 GB, free: 7.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8367, allocations: 0 / 0.4948 GB, free: 7.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.837, allocations: 123.9 kB / 0.4949 GB, free: 7.109 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.8373, allocations: 12.48 kB / 0.4949 GB, free: 7.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.8402, allocations: 484.1 kB / 0.4954 GB, free: 6.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.8405, allocations: 0.6968 MB / 0.4961 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006553/0.8412, allocations: 92.88 kB / 0.4962 GB, free: 5.746 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.8416, allocations: 59.39 kB / 0.4962 GB, free: 5.688 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8416, allocations: 0 / 0.4962 GB, free: 5.688 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04277/0.8844, allocations: 8.812 MB / 0.5048 GB, free: 13.23 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003109/0.8847, allocations: 174.8 kB / 0.505 GB, free: 13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/3.435, allocations: 4 kB / 0.505 GB, free: 13 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat