Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 270 MB / 283.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.765e-05, allocations: 4 kB / 348.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5159, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.838/9.354, allocations: 2.759 GB / 3.16 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/9.354, allocations: 85.3 kB / 3.16 GB, free: 135 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.263/10.62, allocations: 218.9 MB / 3.374 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.957e-06/10.62, allocations: 0 / 3.374 GB, free: 95.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.297e-05/10.62, allocations: 17.17 kB / 3.374 GB, free: 95.86 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00558/10.62, allocations: 1.181 MB / 3.375 GB, free: 95.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/10.62, allocations: 10.41 kB / 3.375 GB, free: 95.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/10.62, allocations: 68.03 kB / 3.375 GB, free: 95.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/10.63, allocations: 220.9 kB / 3.375 GB, free: 95.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008321/10.63, allocations: 379.1 kB / 3.376 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/10.63, allocations: 24.28 kB / 3.376 GB, free: 94.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/10.63, allocations: 25.88 kB / 3.376 GB, free: 94.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/10.63, allocations: 0.5744 MB / 3.376 GB, free: 94.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/10.63, allocations: 3.906 kB / 3.376 GB, free: 94.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/10.63, allocations: 22.88 kB / 3.376 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/10.63, allocations: 7.188 kB / 3.376 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/10.63, allocations: 491.3 kB / 3.377 GB, free: 94.37 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004033/10.63, allocations: 2.605 MB / 3.379 GB, free: 92.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/10.64, allocations: 422.4 kB / 3.38 GB, free: 92.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/10.64, allocations: 137.6 kB / 3.38 GB, free: 92 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07584/10.71, allocations: 24.16 MB / 3.403 GB, free: 76.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/10.71, allocations: 33.78 kB / 3.403 GB, free: 76.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 2.955e-06/10.71, allocations: 0 / 3.403 GB, free: 76.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002957/10.72, allocations: 0.6344 MB / 3.404 GB, free: 76.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/10.72, allocations: 106.7 kB / 3.404 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/10.72, allocations: 266.3 kB / 3.404 GB, free: 76.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/10.72, allocations: 29.58 kB / 3.404 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/10.72, allocations: 212 kB / 3.405 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.862e-05/10.72, allocations: 84.78 kB / 3.405 GB, free: 76.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/10.72, allocations: 4 kB / 3.405 GB, free: 76.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/10.72, allocations: 342 kB / 3.405 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/10.72, allocations: 92.61 kB / 3.405 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/10.72, allocations: 179.8 kB / 3.405 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/10.72, allocations: 107.8 kB / 3.405 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/10.72, allocations: 0 / 3.405 GB, free: 75.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000863/10.72, allocations: 331.6 kB / 3.406 GB, free: 75.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/10.72, allocations: 7.688 kB / 3.406 GB, free: 75.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/10.72, allocations: 0 / 3.406 GB, free: 75.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/10.72, allocations: 8.312 kB / 3.406 GB, free: 75.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007176/10.72, allocations: 94.94 kB / 3.406 GB, free: 75.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/10.72, allocations: 11.61 kB / 3.406 GB, free: 75.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006743/10.72, allocations: 73.31 kB / 3.406 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/10.72, allocations: 15.53 kB / 3.406 GB, free: 75.37 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001473/10.72, allocations: 128.6 kB / 3.406 GB, free: 75.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/10.72, allocations: 31.22 kB / 3.406 GB, free: 75.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/10.72, allocations: 1.848 MB / 3.408 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/10.72, allocations: 32.7 kB / 3.408 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/10.72, allocations: 0 / 3.408 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/10.72, allocations: 11.41 kB / 3.408 GB, free: 74.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/10.72, allocations: 1.007 MB / 3.409 GB, free: 73.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/10.72, allocations: 0 / 3.409 GB, free: 73.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006939/10.73, allocations: 98.05 kB / 3.409 GB, free: 73.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/10.73, allocations: 0 / 3.409 GB, free: 73.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/10.73, allocations: 7.906 kB / 3.409 GB, free: 73.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/10.73, allocations: 0 / 3.409 GB, free: 73.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/10.73, allocations: 3.656 kB / 3.409 GB, free: 73.74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/10.73, allocations: 0.9829 MB / 3.41 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/10.73, allocations: 222.2 kB / 3.41 GB, free: 73.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/10.73, allocations: 4 kB / 3.41 GB, free: 73.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/10.73, allocations: 51.39 kB / 3.41 GB, free: 73.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/10.73, allocations: 33.91 kB / 3.41 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/10.73, allocations: 11.25 kB / 3.41 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004972/10.73, allocations: 319.8 kB / 3.411 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/10.73, allocations: 0 / 3.411 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005202/10.73, allocations: 1.012 MB / 3.412 GB, free: 72.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01151/10.75, allocations: 2.823 MB / 3.414 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001116/10.75, allocations: 0.4964 MB / 3.415 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/10.75, allocations: 7.781 kB / 3.415 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006547/10.75, allocations: 473.3 kB / 3.415 GB, free: 70.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/10.75, allocations: 193.4 kB / 3.416 GB, free: 70.94 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/10.76, allocations: 1.583 MB / 3.417 GB, free: 70.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/10.76, allocations: 0.98 MB / 3.418 GB, free: 69.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007048/10.76, allocations: 249.2 kB / 3.418 GB, free: 69.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/10.76, allocations: 254.9 kB / 3.419 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/10.76, allocations: 0 / 3.419 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09876/10.86, allocations: 41.15 MB / 3.459 GB, free: 48.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/10.86, allocations: 212.4 kB / 3.459 GB, free: 48.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.559/15.42, allocations: 64 / 3.459 GB, free: 48.37 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat