Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestValveCharacteristics",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.345e-05, allocations: 3.281 kB / 299.6 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3941, allocations: 54.86 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.273/8.667, allocations: 2.607 GB / 2.954 GB, free: 107.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/8.668, allocations: 83.53 kB / 2.954 GB, free: 107.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.604/12.27, allocations: 0.6264 GB / 3.58 GB, free: 40.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.274e-06/12.27, allocations: 0 / 3.58 GB, free: 40.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001494/12.27, allocations: 43.03 kB / 3.58 GB, free: 40.67 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.0122/12.28, allocations: 2.45 MB / 3.582 GB, free: 39.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/12.28, allocations: 10.47 kB / 3.582 GB, free: 39.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/12.3, allocations: 0.953 MB / 3.583 GB, free: 39.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003767/12.3, allocations: 1.053 MB / 3.584 GB, free: 39.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/12.3, allocations: 53.42 kB / 3.584 GB, free: 39.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/12.3, allocations: 67.75 kB / 3.585 GB, free: 39.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003694/12.31, allocations: 1.21 MB / 3.586 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/12.31, allocations: 1.418 MB / 3.587 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.045e-05/12.31, allocations: 10.75 kB / 3.587 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/12.31, allocations: 3.812 kB / 3.587 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/12.31, allocations: 33.75 kB / 3.587 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.566/13.88, allocations: 265.7 MB / 3.847 GB, free: 21.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/13.88, allocations: 0.5273 MB / 3.847 GB, free: 21.45 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000671/13.88, allocations: 256.5 kB / 3.847 GB, free: 21.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09177/13.97, allocations: 20.23 MB / 3.867 GB, free: 25.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/13.97, allocations: 37.8 kB / 3.867 GB, free: 25.48 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 3.847e-06/13.97, allocations: 1.406 kB / 3.867 GB, free: 25.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.01032/13.98, allocations: 1.364 MB / 3.869 GB, free: 25.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/13.98, allocations: 265.1 kB / 3.869 GB, free: 25.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/13.98, allocations: 0.9981 MB / 3.87 GB, free: 24.92 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/13.98, allocations: 25.7 kB / 3.87 GB, free: 24.89 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007193/13.98, allocations: 0.8527 MB / 3.871 GB, free: 24.51 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/13.98, allocations: 99.97 kB / 3.871 GB, free: 24.47 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-05/13.98, allocations: 0 / 3.871 GB, free: 24.47 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002025/13.98, allocations: 358.4 kB / 3.871 GB, free: 24.17 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008195/13.98, allocations: 309.3 kB / 3.871 GB, free: 24.16 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/13.99, allocations: 0.8546 MB / 3.872 GB, free: 23.46 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006494/13.99, allocations: 0.7435 MB / 3.873 GB, free: 23.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/13.99, allocations: 2.625 kB / 3.873 GB, free: 23.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00749/14, allocations: 1.495 MB / 3.874 GB, free: 23.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00292/14, allocations: 6.888 MB / 3.881 GB, free: 16.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.178e-05/14, allocations: 19.62 kB / 3.881 GB, free: 16.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.29e-05/14, allocations: 26.25 kB / 3.881 GB, free: 16.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/14.01, allocations: 392.8 kB / 3.881 GB, free: 16.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.825e-05/14.01, allocations: 38.42 kB / 3.882 GB, free: 16.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003986/14.01, allocations: 358.4 kB / 3.882 GB, free: 16.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/14.01, allocations: 74.75 kB / 3.882 GB, free: 16.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/14.01, allocations: 3.781 kB / 3.882 GB, free: 16.03 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005844/14.02, allocations: 1.229 MB / 3.883 GB, free: 16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/14.02, allocations: 17.53 kB / 3.883 GB, free: 16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.422e-05/14.02, allocations: 31.91 kB / 3.883 GB, free: 16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/14.02, allocations: 387 kB / 3.884 GB, free: 16 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-05/14.02, allocations: 35.41 kB / 3.884 GB, free: 16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/14.02, allocations: 234.8 kB / 3.884 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/14.02, allocations: 79.81 kB / 3.884 GB, free: 15.96 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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.0004375/14.02, allocations: 174.9 kB / 3.884 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004132/14.03, allocations: 0.5827 MB / 3.885 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/14.03, allocations: 117.6 kB / 3.885 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/14.03, allocations: 1.01 MB / 3.886 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/14.03, allocations: 4.844 kB / 3.886 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/14.03, allocations: 0 / 3.886 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/14.03, allocations: 3.797 kB / 3.886 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/14.03, allocations: 0.9456 MB / 3.887 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/14.03, allocations: 0 / 3.887 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/14.03, allocations: 70.48 kB / 3.887 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/14.03, allocations: 0 / 3.887 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/14.03, allocations: 6.219 kB / 3.887 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/14.03, allocations: 0 / 3.887 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/14.03, allocations: 0 / 3.887 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/14.03, allocations: 466.3 kB / 3.887 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008935/14.03, allocations: 405.1 kB / 3.888 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005084/14.04, allocations: 0 / 3.888 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/14.04, allocations: 86.69 kB / 3.888 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/14.04, allocations: 21.52 kB / 3.888 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/14.04, allocations: 2.969 kB / 3.888 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002162/14.04, allocations: 1.064 MB / 3.889 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.81e-07/14.04, allocations: 0 / 3.889 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00883/14.05, allocations: 1.694 MB / 3.89 GB, free: 13.16 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (24): * Single equations (assignments): 24 * 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.01396/14.06, allocations: 3.015 MB / 3.893 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003344/14.07, allocations: 1.219 MB / 3.894 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/14.07, allocations: 0 / 3.894 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/14.07, allocations: 85.72 kB / 3.895 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/14.07, allocations: 378.1 kB / 3.895 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008332/14.08, allocations: 2.023 MB / 3.897 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/14.08, allocations: 1.246 MB / 3.898 GB, free: 23.19 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.006729/14.09, allocations: 2.835 MB / 3.901 GB, free: 21.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/14.09, allocations: 0.5652 MB / 3.901 GB, free: 21.51 MB / 0.573 GB Notification: Performance of SimCode: time 1.062e-06/14.09, allocations: 2.516 kB / 3.901 GB, free: 21.51 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6534/14.74, allocations: 55.85 MB / 3.956 GB, free: 116.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003043/14.74, allocations: 202.2 kB / 3.956 GB, free: 116.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.195/19.94, allocations: 1.859 kB / 3.956 GB, free: 116.2 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics_res.mat does not exist to compare? outputFormat=mat