Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.509/2.509, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.087e-05/5.116e-05, allocations: 3.984 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4196, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.519/8.939, allocations: 2.754 GB / 3.127 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/8.939, allocations: 88.34 kB / 3.127 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.179/10.12, allocations: 216.7 MB / 3.339 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.843e-06/10.12, allocations: 3.938 kB / 3.339 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.168e-05/10.12, allocations: 11.94 kB / 3.339 GB, free: 94.53 MB / 0.5105 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.005669/10.12, allocations: 1.182 MB / 3.34 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/10.12, allocations: 11.38 kB / 3.34 GB, free: 93.93 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/10.12, allocations: 62.12 kB / 3.34 GB, free: 93.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/10.13, allocations: 238.2 kB / 3.34 GB, free: 93.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008766/10.13, allocations: 361.2 kB / 3.341 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/10.13, allocations: 28.58 kB / 3.341 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/10.13, allocations: 27.5 kB / 3.341 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/10.13, allocations: 0.5873 MB / 3.341 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/10.13, allocations: 0 / 3.341 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/10.13, allocations: 13.75 kB / 3.341 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/10.13, allocations: 10.52 kB / 3.341 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/10.13, allocations: 494.2 kB / 3.342 GB, free: 93.52 MB / 0.5105 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.00433/10.14, allocations: 2.602 MB / 3.344 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/10.14, allocations: 431.5 kB / 3.345 GB, free: 91.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/10.14, allocations: 136.2 kB / 3.345 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07591/10.21, allocations: 24.15 MB / 3.369 GB, free: 76.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/10.21, allocations: 38.11 kB / 3.369 GB, free: 76.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.256e-06/10.21, allocations: 0 / 3.369 GB, free: 76.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25): time 0.002843/10.22, allocations: 0.6308 MB / 3.369 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/10.22, allocations: 109.9 kB / 3.369 GB, free: 76.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/10.22, allocations: 266.3 kB / 3.37 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/10.22, allocations: 32.2 kB / 3.37 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/10.22, allocations: 210.3 kB / 3.37 GB, free: 76.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/10.22, allocations: 82.22 kB / 3.37 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/10.22, allocations: 11.03 kB / 3.37 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/10.22, allocations: 343.5 kB / 3.37 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/10.22, allocations: 95.58 kB / 3.37 GB, free: 76.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/10.22, allocations: 180.6 kB / 3.37 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/10.22, allocations: 109.9 kB / 3.371 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/10.22, allocations: 0 / 3.371 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008216/10.22, allocations: 322.2 kB / 3.371 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/10.22, allocations: 14.25 kB / 3.371 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/10.22, allocations: 3.906 kB / 3.371 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/10.22, allocations: 3.656 kB / 3.371 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/10.22, allocations: 98.78 kB / 3.371 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/10.22, allocations: 9.938 kB / 3.371 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/10.22, allocations: 72.03 kB / 3.371 GB, free: 75.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/10.22, allocations: 14.28 kB / 3.371 GB, free: 75.94 MB / 0.5105 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.0001328/10.22, allocations: 124.8 kB / 3.371 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/10.22, allocations: 38.64 kB / 3.371 GB, free: 75.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/10.22, allocations: 1.844 MB / 3.373 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/10.22, allocations: 31.52 kB / 3.373 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/10.22, allocations: 0 / 3.373 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/10.22, allocations: 0 / 3.373 GB, free: 75.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/10.23, allocations: 1.008 MB / 3.374 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/10.23, allocations: 0 / 3.374 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/10.23, allocations: 93.25 kB / 3.374 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/10.23, allocations: 0 / 3.374 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/10.23, allocations: 18.62 kB / 3.374 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/10.23, allocations: 0 / 3.374 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/10.23, allocations: 0 / 3.374 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/10.23, allocations: 0.9855 MB / 3.375 GB, free: 75.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/10.23, allocations: 222.8 kB / 3.375 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/10.23, allocations: 11.78 kB / 3.375 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006234/10.23, allocations: 53.69 kB / 3.375 GB, free: 74.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/10.23, allocations: 34.02 kB / 3.375 GB, free: 74.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/10.23, allocations: 11.47 kB / 3.375 GB, free: 74.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000496/10.23, allocations: 317 kB / 3.376 GB, free: 74.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/10.23, allocations: 3.172 kB / 3.376 GB, free: 74.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005141/10.24, allocations: 1.014 MB / 3.377 GB, free: 74.7 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: 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.01132/10.25, allocations: 2.797 MB / 3.379 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001087/10.25, allocations: 0.4979 MB / 3.38 GB, free: 73.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/10.25, allocations: 0 / 3.38 GB, free: 73.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006694/10.25, allocations: 471.4 kB / 3.38 GB, free: 73.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/10.25, allocations: 203.8 kB / 3.381 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/10.26, allocations: 1.585 MB / 3.382 GB, free: 73.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/10.26, allocations: 0.9829 MB / 3.383 GB, free: 72.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007747/10.26, allocations: 248.2 kB / 3.383 GB, free: 72.58 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/10.26, allocations: 253.6 kB / 3.384 GB, free: 72.39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.392e-06/10.26, allocations: 3.125 kB / 3.384 GB, free: 72.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/10.37, allocations: 41.13 MB / 3.424 GB, free: 70.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/10.37, allocations: 201.8 kB / 3.424 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.147/14.52, allocations: 0 / 3.424 GB, free: 69.95 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat