Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.361e-05/4.365e-05, allocations: 4 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4188, allocations: 54.84 MB / 359.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.736/8.155, allocations: 2.608 GB / 2.959 GB, free: 113.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/8.155, allocations: 86.02 kB / 2.959 GB, free: 113.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.385/11.54, allocations: 0.632 GB / 3.591 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.315e-06/11.54, allocations: 0 / 3.591 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001666/11.54, allocations: 44.19 kB / 3.591 GB, free: 38.04 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.01219/11.55, allocations: 2.428 MB / 3.593 GB, free: 36.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/11.55, allocations: 12.75 kB / 3.593 GB, free: 36.89 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006378/11.55, allocations: 176.8 kB / 3.594 GB, free: 36.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/11.57, allocations: 0.9542 MB / 3.595 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/11.57, allocations: 1.061 MB / 3.596 GB, free: 36.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/11.57, allocations: 105.8 kB / 3.596 GB, free: 36.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/11.57, allocations: 114.2 kB / 3.596 GB, free: 36.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008281/11.58, allocations: 2.233 MB / 3.598 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.251e-05/11.58, allocations: 5.875 kB / 3.598 GB, free: 35.94 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/11.58, allocations: 61.75 kB / 3.598 GB, free: 35.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/11.58, allocations: 32.66 kB / 3.598 GB, free: 35.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007711/11.59, allocations: 1.94 MB / 3.6 GB, free: 35.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01622/11.6, allocations: 10.08 MB / 3.61 GB, free: 28.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005759/11.61, allocations: 1.469 MB / 3.611 GB, free: 28.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009432/11.61, allocations: 374.5 kB / 3.612 GB, free: 28.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0655/11.67, allocations: 17.14 MB / 3.628 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/11.67, allocations: 46.5 kB / 3.628 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 4.529e-06/11.67, allocations: 3.938 kB / 3.628 GB, free: 19.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=80): time 0.009754/11.68, allocations: 2.215 MB / 3.631 GB, free: 19.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/11.68, allocations: 267.8 kB / 3.631 GB, free: 19.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/11.69, allocations: 0.8131 MB / 3.632 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002382/11.69, allocations: 44.89 kB / 3.632 GB, free: 19.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000554/11.69, allocations: 0.6892 MB / 3.632 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003903/11.69, allocations: 277.3 kB / 3.633 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/11.69, allocations: 23.5 kB / 3.633 GB, free: 18.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00011/11.69, allocations: 362 kB / 3.633 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009189/11.69, allocations: 336.3 kB / 3.633 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/11.69, allocations: 0.9115 MB / 3.634 GB, free: 17.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/11.69, allocations: 469.3 kB / 3.635 GB, free: 17.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/11.69, allocations: 3.125 kB / 3.635 GB, free: 17.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.003692/11.7, allocations: 1.286 MB / 3.636 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003179/11.7, allocations: 7.317 MB / 3.643 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.198e-05/11.7, allocations: 16.41 kB / 3.643 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.54e-05/11.7, allocations: 33.44 kB / 3.643 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/11.7, allocations: 395.5 kB / 3.643 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.717e-05/11.7, allocations: 41.06 kB / 3.643 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/11.7, allocations: 266.2 kB / 3.644 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/11.7, allocations: 82.77 kB / 3.644 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/11.7, allocations: 4.438 kB / 3.644 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003026/11.71, allocations: 1.131 MB / 3.645 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/11.71, allocations: 19.31 kB / 3.645 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-05/11.71, allocations: 31.09 kB / 3.645 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/11.71, allocations: 391.7 kB / 3.645 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.395e-05/11.71, allocations: 38.02 kB / 3.645 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/11.71, allocations: 216.4 kB / 3.646 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002718/11.71, allocations: 83.5 kB / 3.646 GB, free: 24.01 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 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.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.0004783/11.71, allocations: 201.3 kB / 3.646 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/11.71, allocations: 127.3 kB / 3.646 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008525/11.72, allocations: 5.746 MB / 3.652 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.822e-05/11.72, allocations: 87.59 kB / 3.652 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/11.72, allocations: 0 / 3.652 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/11.72, allocations: 6.234 kB / 3.652 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004666/11.73, allocations: 2.772 MB / 3.654 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/11.73, allocations: 3.438 kB / 3.654 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/11.73, allocations: 259.5 kB / 3.655 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.737e-05/11.73, allocations: 3.406 kB / 3.655 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/11.73, allocations: 21.72 kB / 3.655 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/11.73, allocations: 3.812 kB / 3.655 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/11.73, allocations: 3.938 kB / 3.655 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004247/11.73, allocations: 2.624 MB / 3.657 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/11.73, allocations: 0.5375 MB / 3.658 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004525/11.74, allocations: 23.22 kB / 3.658 GB, free: 18.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/11.74, allocations: 122.6 kB / 3.658 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/11.74, allocations: 90.48 kB / 3.658 GB, free: 17.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.024e-05/11.74, allocations: 30.34 kB / 3.658 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001442/11.74, allocations: 0.7088 MB / 3.659 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.01e-07/11.74, allocations: 0 / 3.659 GB, free: 17.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008932/11.75, allocations: 1.729 MB / 3.66 GB, free: 17.32 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: 56 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.01543/11.76, allocations: 5.044 MB / 3.665 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004806/11.77, allocations: 2.209 MB / 3.667 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/11.77, allocations: 0 / 3.667 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001967/11.77, allocations: 1.327 MB / 3.669 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/11.78, allocations: 0.5833 MB / 3.669 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7706/12.55, allocations: 126.1 MB / 3.793 GB, free: 41.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/12.55, allocations: 1.654 MB / 3.794 GB, free: 40.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005219/12.55, allocations: 2.012 MB / 3.796 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/12.55, allocations: 0.861 MB / 3.797 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of SimCode: time 1.703e-06/12.55, allocations: 2.156 kB / 3.797 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1873/12.74, allocations: 83.23 MB / 3.878 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/12.74, allocations: 220.2 kB / 3.878 GB, free: 488 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.419/19.16, allocations: 2.188 kB / 3.878 GB, free: 488 kB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat