Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.988/1.988, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.041e-05, allocations: 0 / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 48.7 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.667/7.782, allocations: 2.496 GB / 2.805 GB, free: 99.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/7.783, allocations: 81.67 kB / 2.805 GB, free: 99.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.659/11.44, allocations: 0.6124 GB / 3.418 GB, free: 35.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.823e-06/11.44, allocations: 1 kB / 3.418 GB, free: 35.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002174/11.44, allocations: 41.2 kB / 3.418 GB, free: 35.86 MB / 458.7 MB 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.01284/11.45, allocations: 2.353 MB / 3.42 GB, free: 34.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/11.45, allocations: 11.91 kB / 3.42 GB, free: 34.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/11.47, allocations: 0.8996 MB / 3.421 GB, free: 34.82 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/11.47, allocations: 1.059 MB / 3.422 GB, free: 34.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/11.47, allocations: 54.78 kB / 3.422 GB, free: 34.49 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004907/11.47, allocations: 70.5 kB / 3.422 GB, free: 34.49 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004288/11.48, allocations: 1.204 MB / 3.423 GB, free: 34.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004744/11.48, allocations: 1.411 MB / 3.425 GB, free: 34.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/11.48, allocations: 8.766 kB / 3.425 GB, free: 34.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/11.48, allocations: 6.25 kB / 3.425 GB, free: 34.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/11.48, allocations: 35.48 kB / 3.425 GB, free: 34.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.364/12.84, allocations: 265.8 MB / 3.684 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/12.85, allocations: 350.6 kB / 3.685 GB, free: 48.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/12.85, allocations: 225.8 kB / 3.685 GB, free: 48.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05817/12.9, allocations: 15.7 MB / 3.7 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/12.9, allocations: 39.86 kB / 3.7 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.898e-06/12.9, allocations: 0 / 3.7 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.008373/12.91, allocations: 1.596 MB / 3.702 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/12.91, allocations: 264.6 kB / 3.702 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/12.91, allocations: 0.8725 MB / 3.703 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/12.91, allocations: 25.7 kB / 3.703 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/12.91, allocations: 0.7714 MB / 3.704 GB, free: 39.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/12.92, allocations: 180.6 kB / 3.704 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/12.92, allocations: 0 / 3.704 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001071/12.92, allocations: 354.6 kB / 3.704 GB, free: 38.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/12.92, allocations: 312.3 kB / 3.705 GB, free: 38.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/12.92, allocations: 0.8871 MB / 3.705 GB, free: 38.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004566/12.92, allocations: 0.7445 MB / 3.706 GB, free: 38.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.276e-05/12.92, allocations: 5.5 kB / 3.706 GB, free: 38.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006867/12.93, allocations: 1.505 MB / 3.708 GB, free: 38.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001639/12.93, allocations: 7.319 MB / 3.715 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-05/12.93, allocations: 17.25 kB / 3.715 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.22e-05/12.93, allocations: 33.09 kB / 3.715 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/12.93, allocations: 400.9 kB / 3.715 GB, free: 30.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.081e-05/12.93, allocations: 39.7 kB / 3.715 GB, free: 30.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/12.94, allocations: 356.3 kB / 3.716 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/12.94, allocations: 85.75 kB / 3.716 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/12.94, allocations: 3.969 kB / 3.716 GB, free: 30.29 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005373/12.94, allocations: 1.238 MB / 3.717 GB, free: 30.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/12.94, allocations: 18.22 kB / 3.717 GB, free: 30.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.212e-05/12.94, allocations: 40.81 kB / 3.717 GB, free: 30.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/12.95, allocations: 388.4 kB / 3.717 GB, free: 30.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.672e-05/12.95, allocations: 40.58 kB / 3.717 GB, free: 30.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/12.95, allocations: 236.4 kB / 3.718 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/12.95, allocations: 79.84 kB / 3.718 GB, free: 30.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP4.medium.phase,SinkP4.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP1.medium.phase,SinkP1.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 167 * 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.0004195/12.95, allocations: 166.9 kB / 3.718 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004347/12.95, allocations: 0.7717 MB / 3.719 GB, free: 30 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/12.95, allocations: 120.3 kB / 3.719 GB, free: 29.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/12.96, allocations: 1.828 MB / 3.72 GB, free: 29.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/12.96, allocations: 3.906 kB / 3.72 GB, free: 29.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/12.96, allocations: 0 / 3.72 GB, free: 29.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/12.96, allocations: 3.812 kB / 3.72 GB, free: 29.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/12.96, allocations: 1.357 MB / 3.722 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/12.96, allocations: 0 / 3.722 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/12.96, allocations: 90.94 kB / 3.722 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/12.96, allocations: 3.906 kB / 3.722 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/12.96, allocations: 6.797 kB / 3.722 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.022e-06/12.96, allocations: 7.562 kB / 3.722 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/12.96, allocations: 0 / 3.722 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/12.96, allocations: 0.6987 MB / 3.723 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/12.96, allocations: 0.6071 MB / 3.723 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006061/12.97, allocations: 6.312 kB / 3.723 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/12.97, allocations: 90.34 kB / 3.723 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/12.97, allocations: 27.31 kB / 3.723 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/12.97, allocations: 21.34 kB / 3.723 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003644/12.97, allocations: 1.424 MB / 3.725 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.21e-07/12.97, allocations: 0 / 3.725 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01037/12.98, allocations: 1.745 MB / 3.726 GB, free: 28.54 MB / 0.5105 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 (52): * Single equations (assignments): 52 * 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.01406/13, allocations: 3.261 MB / 3.73 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003382/13, allocations: 1.274 MB / 3.731 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/13, allocations: 0 / 3.731 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003824/13, allocations: 159.5 kB / 3.731 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00472/13, allocations: 482.8 kB / 3.731 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009473/13.01, allocations: 2.316 MB / 3.734 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/13.01, allocations: 1.354 MB / 3.735 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006066/13.02, allocations: 2.533 MB / 3.738 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/13.02, allocations: 0.6813 MB / 3.738 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of SimCode: time 1.353e-06/13.02, allocations: 0 / 3.738 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6079/13.63, allocations: 60.84 MB / 3.798 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/13.63, allocations: 199.4 kB / 3.798 GB, free: 87.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.375/19.01, allocations: 1.031 kB / 3.798 GB, free: 87.27 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat