Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.514/3.514, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.954e-05, allocations: 4 kB / 299.6 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4196, allocations: 54.85 MB / 354.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/0.625, allocations: 78.41 MB / 432.8 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.6254, allocations: 75.89 kB / 432.9 MB, free: 0.707 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003555/0.629, allocations: 0.6235 MB / 433.5 MB, free: 84 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.629, allocations: 3.938 kB / 433.5 MB, free: 80 kB / 362.7 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.629, allocations: 0 / 433.5 MB, free: 80 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003969/0.6295, allocations: 319.2 kB / 433.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.801e-05/0.6295, allocations: 8.031 kB / 433.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.6296, allocations: 30.56 kB / 433.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.6297, allocations: 15.86 kB / 433.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.6298, allocations: 167 kB / 434 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.6299, allocations: 0 / 434 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.6299, allocations: 0 / 434 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.812e-05/0.63, allocations: 4 kB / 434 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.099e-05/0.6301, allocations: 29.7 kB / 434.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.6301, allocations: 3.938 kB / 434.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6302, allocations: 3.984 kB / 434.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.6302, allocations: 7.953 kB / 434.1 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.6304, allocations: 130.2 kB / 434.2 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.6307, allocations: 34.61 kB / 434.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.6308, allocations: 12.86 kB / 434.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006559/0.6314, allocations: 117.2 kB / 434.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.6315, allocations: 34.56 kB / 434.4 MB, free: 15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.316e-06/0.6315, allocations: 0 / 434.4 MB, free: 15 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.002701/0.6342, allocations: 177.4 kB / 434.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.6343, allocations: 51.41 kB / 434.6 MB, free: 14.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.6344, allocations: 85 kB / 434.7 MB, free: 14.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.6345, allocations: 29.7 kB / 434.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.6346, allocations: 80.14 kB / 434.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.6346, allocations: 15.94 kB / 434.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.6346, allocations: 0 / 434.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6348, allocations: 322.8 kB / 435.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-05/0.6349, allocations: 8 kB / 435.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.635, allocations: 8 kB / 435.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.6351, allocations: 15.98 kB / 435.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6351, allocations: 0 / 435.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003112/0.6355, allocations: 65.61 kB / 435.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.6355, allocations: 7.938 kB / 435.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.6355, allocations: 4 kB / 435.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.6356, allocations: 0 / 435.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.6359, allocations: 15.98 kB / 435.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.6359, allocations: 4.25 kB / 435.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.6362, allocations: 7.984 kB / 435.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.6362, allocations: 4 kB / 435.3 MB, free: 14.07 MB / 378.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 (5): * Single equations (assignments): 5 * 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.0001173/0.6363, allocations: 112.9 kB / 435.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.6364, allocations: 0 / 435.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.6368, allocations: 85.72 kB / 435.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6368, allocations: 0 / 435.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6369, allocations: 0 / 435.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.6369, allocations: 4 kB / 435.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.6381, allocations: 315.8 kB / 435.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.6381, allocations: 4 kB / 435.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.6384, allocations: 19.92 kB / 435.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.6385, allocations: 0 / 435.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.6385, allocations: 0 / 435.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.6385, allocations: 0 / 435.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.477e-06/0.6385, allocations: 4 kB / 435.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.6389, allocations: 178.1 kB / 436 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.639, allocations: 77.11 kB / 436.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.639, allocations: 7.984 kB / 436.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.6393, allocations: 4 kB / 436.1 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.6394, allocations: 11.94 kB / 436.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.6394, allocations: 4 kB / 436.1 MB, free: 13.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.788e-05/0.6395, allocations: 79.22 kB / 436.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.6395, allocations: 0 / 436.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000445/0.6399, allocations: 8 kB / 436.2 MB, free: 13.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0008371/0.6408, allocations: 0.7761 MB / 437 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.641, allocations: 36.11 kB / 437 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.641, allocations: 0 / 437 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.6411, allocations: 12 kB / 437 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.6414, allocations: 7.953 kB / 437 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.6423, allocations: 126.6 kB / 437.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.6427, allocations: 0.6845 MB / 437.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.6429, allocations: 4 kB / 437.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.643, allocations: 15.44 kB / 437.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of SimCode: time 3.897e-06/0.643, allocations: 0 / 437.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0521/0.6951, allocations: 0.9506 MB / 438.8 MB, free: 10.37 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003027/0.6955, allocations: 148.2 kB / 438.9 MB, free: 10.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.144/3.839, allocations: 0 / 438.9 MB, free: 10.17 MB / 378.7 MB "" Variables in the reference:time,x,yRegStep,yRegStep_der Variables in the result:der(x),der(yRegStep),time,x,x_small,yRegStep,yRegStep_der