Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.938e-05, allocations: 4 kB / 323.5 MB, free: 4.207 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4119, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.284/8.696, allocations: 2.783 GB / 3.156 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/8.696, allocations: 80.59 kB / 3.156 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.151/12.85, allocations: 0.7624 GB / 3.919 GB, free: 42.33 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.074e-06/12.85, allocations: 0 / 3.919 GB, free: 42.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001325/12.85, allocations: 40.2 kB / 3.919 GB, free: 42.33 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01254/12.86, allocations: 2.714 MB / 3.921 GB, free: 41.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/12.86, allocations: 11.69 kB / 3.922 GB, free: 41.25 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005196/12.86, allocations: 168.9 kB / 3.922 GB, free: 41.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007319/12.87, allocations: 0.6489 MB / 3.922 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/12.87, allocations: 0.9727 MB / 3.923 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/12.87, allocations: 97.38 kB / 3.923 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/12.87, allocations: 109.4 kB / 3.923 GB, free: 40.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006196/12.88, allocations: 1.93 MB / 3.925 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/12.88, allocations: 2.531 kB / 3.925 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/12.88, allocations: 52.03 kB / 3.925 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/12.88, allocations: 50.5 kB / 3.925 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005931/12.88, allocations: 1.595 MB / 3.927 GB, free: 40.39 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.0167/12.9, allocations: 9.497 MB / 3.936 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005838/12.91, allocations: 1.418 MB / 3.938 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/12.91, allocations: 460.7 kB / 3.938 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07706/12.99, allocations: 24.33 MB / 3.962 GB, free: 19.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/12.99, allocations: 40.72 kB / 3.962 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=94): time 5.571e-06/12.99, allocations: 3.562 kB / 3.962 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=94): time 0.009163/12.99, allocations: 2.044 MB / 3.964 GB, free: 18.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/12.99, allocations: 169.7 kB / 3.964 GB, free: 18.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/13, allocations: 0.7683 MB / 3.965 GB, free: 18.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002799/13, allocations: 42.52 kB / 3.965 GB, free: 18.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/13, allocations: 0.589 MB / 3.965 GB, free: 18.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/13, allocations: 321 kB / 3.966 GB, free: 18.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/13, allocations: 21.28 kB / 3.966 GB, free: 18.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/13, allocations: 351.5 kB / 3.966 GB, free: 17.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009252/13, allocations: 340.1 kB / 3.966 GB, free: 17.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/13, allocations: 0.6571 MB / 3.967 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/13, allocations: 421.4 kB / 3.967 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.988e-06/13, allocations: 3.406 kB / 3.967 GB, free: 17.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003542/13, allocations: 1.252 MB / 3.969 GB, free: 17.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002239/13.01, allocations: 3.752 MB / 3.972 GB, free: 29.39 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/13.01, allocations: 10.53 kB / 3.972 GB, free: 29.39 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003799/13.01, allocations: 454.4 kB / 3.973 GB, free: 29.38 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/13.01, allocations: 291.3 kB / 3.973 GB, free: 29.38 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/13.02, allocations: 1.478 MB / 3.975 GB, free: 28.32 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/13.02, allocations: 240.5 kB / 3.975 GB, free: 28.26 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/13.02, allocations: 64.31 kB / 3.975 GB, free: 28.26 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/13.02, allocations: 7.656 kB / 3.975 GB, free: 28.26 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002683/13.02, allocations: 0.9859 MB / 3.976 GB, free: 28.24 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/13.02, allocations: 11.09 kB / 3.976 GB, free: 28.24 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/13.02, allocations: 19.53 kB / 3.976 GB, free: 28.24 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/13.03, allocations: 451.4 kB / 3.976 GB, free: 28.24 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.359e-05/13.03, allocations: 28.83 kB / 3.976 GB, free: 28.24 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/13.03, allocations: 218 kB / 3.976 GB, free: 28.19 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/13.03, allocations: 64.27 kB / 3.977 GB, free: 28.19 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005074/13.03, allocations: 184.3 kB / 3.977 GB, free: 28.07 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/13.03, allocations: 119.2 kB / 3.977 GB, free: 28.02 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008698/13.04, allocations: 5.723 MB / 3.982 GB, free: 27.41 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.28e-05/13.04, allocations: 79.8 kB / 3.982 GB, free: 27.41 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/13.04, allocations: 3.953 kB / 3.982 GB, free: 27.41 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.681e-05/13.04, allocations: 13.3 kB / 3.982 GB, free: 27.4 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/13.05, allocations: 7.827 MB / 3.99 GB, free: 26.68 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/13.05, allocations: 1.656 kB / 3.99 GB, free: 26.68 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/13.05, allocations: 220.8 kB / 3.99 GB, free: 26.68 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005534/13.06, allocations: 1.902 MB / 3.992 GB, free: 26.59 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002773/13.06, allocations: 26.25 kB / 3.992 GB, free: 26.59 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003351/13.06, allocations: 2.653 MB / 3.995 GB, free: 25.48 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/13.06, allocations: 0 / 3.995 GB, free: 25.48 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005801/13.07, allocations: 3.535 MB / 3.998 GB, free: 25.04 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/13.07, allocations: 0.5539 MB / 3.999 GB, free: 24.74 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/13.07, allocations: 30.62 kB / 3.999 GB, free: 24.74 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/13.07, allocations: 175.6 kB / 3.999 GB, free: 24.73 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/13.07, allocations: 107.2 kB / 3.999 GB, free: 24.73 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/13.07, allocations: 36.86 kB / 3.999 GB, free: 24.73 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.00154/13.07, allocations: 0.7907 MB / 4 GB, free: 24.61 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.623e-06/13.07, allocations: 6.281 kB / 4 GB, free: 24.61 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.009231/13.08, allocations: 1.874 MB / 4.002 GB, free: 24.34 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01755/13.1, allocations: 5.645 MB / 4.007 GB, free: 23.09 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.006234/13.11, allocations: 2.203 MB / 4.009 GB, free: 23.04 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/13.11, allocations: 3.938 kB / 4.009 GB, free: 23.04 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/13.11, allocations: 1.414 MB / 4.011 GB, free: 23.02 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005494/13.12, allocations: 0.6058 MB / 4.011 GB, free: 22.99 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/13.13, allocations: 4.216 MB / 4.016 GB, free: 21.96 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/13.13, allocations: 1.646 MB / 4.017 GB, free: 21.21 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.004048/13.13, allocations: 1.421 MB / 4.019 GB, free: 21.16 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/13.14, allocations: 0.8197 MB / 4.019 GB, free: 21.16 MB / 0.5418 GB Notification: Performance of SimCode: time 1.472e-06/13.14, allocations: 0 / 4.019 GB, free: 21.16 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6332/13.77, allocations: 88.96 MB / 4.106 GB, free: 71.81 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/13.77, allocations: 239.6 kB / 4.106 GB, free: 71.5 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.917/20.69, allocations: 0 / 4.106 GB, free: 71.5 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat