Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.961/1.961, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.454e-05, allocations: 7.375 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.613/7.725, allocations: 2.503 GB / 2.818 GB, free: 58.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/7.725, allocations: 84.02 kB / 2.818 GB, free: 58.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.123/11.85, allocations: 0.7374 GB / 3.555 GB, free: 33.06 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.565e-06/11.85, allocations: 0.9375 kB / 3.555 GB, free: 33.06 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001687/11.85, allocations: 37.08 kB / 3.555 GB, free: 33.06 MB / 458.7 MB 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.01352/11.86, allocations: 2.627 MB / 3.558 GB, free: 32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/11.86, allocations: 11.48 kB / 3.558 GB, free: 32 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005929/11.86, allocations: 168.8 kB / 3.558 GB, free: 31.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007616/11.87, allocations: 0.6192 MB / 3.559 GB, free: 31.88 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/11.87, allocations: 1.003 MB / 3.56 GB, free: 31.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/11.87, allocations: 98.41 kB / 3.56 GB, free: 31.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/11.87, allocations: 112.6 kB / 3.56 GB, free: 31.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007039/11.88, allocations: 1.919 MB / 3.562 GB, free: 31.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.626e-05/11.88, allocations: 5.656 kB / 3.562 GB, free: 31.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002733/11.88, allocations: 55.25 kB / 3.562 GB, free: 31.14 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.973e-05/11.88, allocations: 51.62 kB / 3.562 GB, free: 31.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006714/11.89, allocations: 1.62 MB / 3.563 GB, free: 31.12 MB / 458.7 MB 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.01608/11.9, allocations: 9.305 MB / 3.572 GB, free: 24.76 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005827/11.91, allocations: 1.403 MB / 3.574 GB, free: 24.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/11.91, allocations: 455.4 kB / 3.574 GB, free: 24.72 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06485/11.98, allocations: 21.57 MB / 3.595 GB, free: 27.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/11.98, allocations: 46.62 kB / 3.595 GB, free: 26.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 4.87e-06/11.98, allocations: 0 / 3.595 GB, free: 26.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.07375/12.05, allocations: 8.019 MB / 3.603 GB, free: 26.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/12.05, allocations: 169.3 kB / 3.603 GB, free: 25.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/12.05, allocations: 0.7302 MB / 3.604 GB, free: 25.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004113/12.05, allocations: 44.27 kB / 3.604 GB, free: 25.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005191/12.05, allocations: 0.623 MB / 3.605 GB, free: 25.47 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005533/12.05, allocations: 454.5 kB / 3.605 GB, free: 25.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/12.05, allocations: 33.75 kB / 3.605 GB, free: 25.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/12.05, allocations: 361.3 kB / 3.605 GB, free: 24.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/12.06, allocations: 0.5629 MB / 3.606 GB, free: 24.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/12.06, allocations: 0.9747 MB / 3.607 GB, free: 24.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/12.06, allocations: 0.6844 MB / 3.608 GB, free: 24.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/12.06, allocations: 7.156 kB / 3.608 GB, free: 24.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.006354/12.07, allocations: 2.045 MB / 3.61 GB, free: 24.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001939/12.07, allocations: 4.619 MB / 3.614 GB, free: 19.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/12.07, allocations: 12 kB / 3.614 GB, free: 19.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/12.08, allocations: 1.311 MB / 3.615 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/12.08, allocations: 442.4 kB / 3.616 GB, free: 19.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006526/12.09, allocations: 3.097 MB / 3.619 GB, free: 17.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/12.09, allocations: 226.2 kB / 3.619 GB, free: 17.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/12.09, allocations: 100.4 kB / 3.619 GB, free: 17.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/12.09, allocations: 6 kB / 3.619 GB, free: 17.28 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005484/12.1, allocations: 1.774 MB / 3.621 GB, free: 17.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/12.1, allocations: 10.28 kB / 3.621 GB, free: 17.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/12.1, allocations: 0.5429 MB / 3.621 GB, free: 17.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005586/12.11, allocations: 0.5743 MB / 3.622 GB, free: 17.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/12.11, allocations: 1.661 MB / 3.624 GB, free: 16.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/12.11, allocations: 229.1 kB / 3.624 GB, free: 16.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005827/12.11, allocations: 101 kB / 3.624 GB, free: 16.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007763/12.12, allocations: 199.2 kB / 3.624 GB, free: 16.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/12.12, allocations: 130.5 kB / 3.624 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/12.13, allocations: 7.205 MB / 3.631 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/12.13, allocations: 83.48 kB / 3.631 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/12.13, allocations: 0 / 3.631 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.603e-05/12.13, allocations: 13.08 kB / 3.631 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/12.15, allocations: 9.459 MB / 3.641 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/12.15, allocations: 5.156 kB / 3.641 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/12.15, allocations: 325 kB / 3.641 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01065/12.16, allocations: 2.719 MB / 3.644 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003842/12.16, allocations: 43.98 kB / 3.644 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007036/12.17, allocations: 4.39 MB / 3.648 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/12.17, allocations: 3.281 kB / 3.648 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008837/12.18, allocations: 4.592 MB / 3.652 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/12.18, allocations: 0.5408 MB / 3.653 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/12.18, allocations: 25.84 kB / 3.653 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002682/12.18, allocations: 231.5 kB / 3.653 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004629/12.18, allocations: 135.9 kB / 3.653 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/12.18, allocations: 64.09 kB / 3.653 GB, free: 11.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001265/12.19, allocations: 0.6319 MB / 3.654 GB, free: 11.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.61e-07/12.19, allocations: 0 / 3.654 GB, free: 11.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009937/12.19, allocations: 2.031 MB / 3.656 GB, free: 11.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.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 (116): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.02262/12.22, allocations: 7.019 MB / 3.663 GB, free: 9.426 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01223/12.23, allocations: 3.514 MB / 3.666 GB, free: 9.344 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/12.23, allocations: 0 / 3.666 GB, free: 9.344 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005612/12.24, allocations: 2.026 MB / 3.668 GB, free: 9.316 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005906/12.24, allocations: 0.5522 MB / 3.669 GB, free: 9.277 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6449/12.89, allocations: 79.51 MB / 3.746 GB, free: 56.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/12.89, allocations: 1.639 MB / 3.748 GB, free: 56.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004931/12.89, allocations: 1.467 MB / 3.749 GB, free: 56.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/12.89, allocations: 0.8416 MB / 3.75 GB, free: 56.12 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/12.89, allocations: 0 / 3.75 GB, free: 56.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2282/13.12, allocations: 99.57 MB / 3.848 GB, free: 42.97 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/13.12, allocations: 238.5 kB / 3.848 GB, free: 42.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.003/20.13, allocations: 0 / 3.848 GB, free: 42.66 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat