Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.442/2.442, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.396e-05/5.41e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1409, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.728/8.869, allocations: 2.759 GB / 3.16 GB, free: 91.67 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/8.869, allocations: 78.36 kB / 3.16 GB, free: 91.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.188/10.06, allocations: 219 MB / 3.374 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/10.06, allocations: 0 / 3.374 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.964e-05/10.06, allocations: 7.812 kB / 3.374 GB, free: 83.41 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.005754/10.06, allocations: 1.191 MB / 3.375 GB, free: 82.65 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/10.06, allocations: 7.938 kB / 3.375 GB, free: 82.65 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/10.06, allocations: 73.89 kB / 3.375 GB, free: 82.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/10.07, allocations: 219.5 kB / 3.375 GB, free: 82.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/10.07, allocations: 370.9 kB / 3.376 GB, free: 82.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/10.07, allocations: 28.12 kB / 3.376 GB, free: 82.26 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/10.07, allocations: 27.56 kB / 3.376 GB, free: 82.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/10.07, allocations: 0.5738 MB / 3.376 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/10.07, allocations: 0 / 3.376 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/10.07, allocations: 17.56 kB / 3.376 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/10.07, allocations: 7.75 kB / 3.376 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/10.07, allocations: 493.6 kB / 3.377 GB, free: 81.83 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.004605/10.08, allocations: 2.613 MB / 3.379 GB, free: 79.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/10.08, allocations: 418.8 kB / 3.38 GB, free: 79.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/10.08, allocations: 132.8 kB / 3.38 GB, free: 79.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07549/10.15, allocations: 24.16 MB / 3.403 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/10.15, allocations: 38.56 kB / 3.403 GB, free: 53.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.156e-06/10.15, allocations: 3.938 kB / 3.404 GB, free: 53.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002987/10.16, allocations: 0.6325 MB / 3.404 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/10.16, allocations: 106.8 kB / 3.404 GB, free: 52.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/10.16, allocations: 270.7 kB / 3.404 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/10.16, allocations: 25.7 kB / 3.405 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/10.16, allocations: 207.9 kB / 3.405 GB, free: 51.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/10.16, allocations: 85.66 kB / 3.405 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/10.16, allocations: 4 kB / 3.405 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.384e-05/10.16, allocations: 346.8 kB / 3.405 GB, free: 51.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/10.16, allocations: 95.84 kB / 3.405 GB, free: 51.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/10.16, allocations: 175.1 kB / 3.405 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/10.16, allocations: 104 kB / 3.405 GB, free: 50.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/10.16, allocations: 7.938 kB / 3.405 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008673/10.16, allocations: 324.7 kB / 3.406 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/10.16, allocations: 8 kB / 3.406 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/10.16, allocations: 4 kB / 3.406 GB, free: 50.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/10.16, allocations: 4 kB / 3.406 GB, free: 50.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/10.16, allocations: 108.1 kB / 3.406 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/10.16, allocations: 7.953 kB / 3.406 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006967/10.16, allocations: 75.58 kB / 3.406 GB, free: 50.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/10.16, allocations: 12 kB / 3.406 GB, free: 50.43 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.0001434/10.16, allocations: 120.9 kB / 3.406 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/10.16, allocations: 31.62 kB / 3.406 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/10.16, allocations: 1.857 MB / 3.408 GB, free: 48.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/10.16, allocations: 27.95 kB / 3.408 GB, free: 48.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/10.16, allocations: 0 / 3.408 GB, free: 48.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/10.16, allocations: 7.938 kB / 3.408 GB, free: 48.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/10.17, allocations: 1.004 MB / 3.409 GB, free: 47.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/10.17, allocations: 0 / 3.409 GB, free: 47.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007018/10.17, allocations: 91.92 kB / 3.409 GB, free: 47.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/10.17, allocations: 0 / 3.409 GB, free: 47.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/10.17, allocations: 8 kB / 3.409 GB, free: 47.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/10.17, allocations: 3.938 kB / 3.409 GB, free: 47.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/10.17, allocations: 0 / 3.409 GB, free: 47.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/10.17, allocations: 0.987 MB / 3.41 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/10.17, allocations: 227.4 kB / 3.41 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/10.17, allocations: 8 kB / 3.41 GB, free: 45.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/10.17, allocations: 47.95 kB / 3.41 GB, free: 45.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/10.17, allocations: 31.95 kB / 3.41 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-05/10.17, allocations: 16 kB / 3.41 GB, free: 45.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005104/10.17, allocations: 317.2 kB / 3.411 GB, free: 45.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.51e-07/10.17, allocations: 0 / 3.411 GB, free: 45.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005194/10.18, allocations: 1.022 MB / 3.412 GB, free: 44.54 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.01141/10.19, allocations: 2.813 MB / 3.414 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001121/10.19, allocations: 0.4938 MB / 3.415 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/10.19, allocations: 0.625 kB / 3.415 GB, free: 41.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006405/10.19, allocations: 481.1 kB / 3.415 GB, free: 40.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/10.19, allocations: 197.7 kB / 3.416 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/10.2, allocations: 1.578 MB / 3.417 GB, free: 39.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/10.2, allocations: 0.9797 MB / 3.418 GB, free: 38.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007307/10.2, allocations: 238.9 kB / 3.418 GB, free: 37.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/10.2, allocations: 263.2 kB / 3.419 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of SimCode: time 1.213e-06/10.2, allocations: 0 / 3.419 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4759/10.67, allocations: 41.15 MB / 3.459 GB, free: 96.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/10.67, allocations: 207 kB / 3.459 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.791/15.47, allocations: 0 / 3.459 GB, free: 96.18 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat