Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.303/2.303, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.623e-05/3.63e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3903, allocations: 54.85 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.726/8.117, allocations: 2.614 GB / 2.965 GB, free: 116.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/8.117, allocations: 86.56 kB / 2.965 GB, free: 116.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.92/12.04, allocations: 0.7575 GB / 3.723 GB, free: 31.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.895e-06/12.04, allocations: 3.188 kB / 3.723 GB, free: 31.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000207/12.04, allocations: 39.69 kB / 3.723 GB, free: 31.49 MB / 0.4948 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.01649/12.05, allocations: 2.709 MB / 3.726 GB, free: 30.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/12.05, allocations: 9.906 kB / 3.726 GB, free: 30.37 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006236/12.05, allocations: 171 kB / 3.726 GB, free: 30.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/12.07, allocations: 0.6501 MB / 3.726 GB, free: 30.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00449/12.07, allocations: 0.9941 MB / 3.727 GB, free: 29.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/12.07, allocations: 102.7 kB / 3.728 GB, free: 29.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003602/12.07, allocations: 110.6 kB / 3.728 GB, free: 29.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009313/12.08, allocations: 1.911 MB / 3.73 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.718e-05/12.08, allocations: 6.562 kB / 3.73 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003066/12.08, allocations: 50.78 kB / 3.73 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/12.08, allocations: 46.67 kB / 3.73 GB, free: 29.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008911/12.09, allocations: 1.594 MB / 3.731 GB, free: 29.5 MB / 0.4948 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.01995/12.11, allocations: 9.305 MB / 3.74 GB, free: 23.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008402/12.12, allocations: 1.389 MB / 3.742 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/12.12, allocations: 446.9 kB / 3.742 GB, free: 23.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07229/12.19, allocations: 21.63 MB / 3.763 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/12.19, allocations: 45.81 kB / 3.763 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=94): time 5.531e-06/12.19, allocations: 3.062 kB / 3.763 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=134): time 0.07117/12.26, allocations: 8.021 MB / 3.771 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/12.26, allocations: 168.8 kB / 3.771 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/12.27, allocations: 0.7257 MB / 3.772 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000212/12.27, allocations: 48.3 kB / 3.772 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00047/12.27, allocations: 0.6152 MB / 3.773 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004348/12.27, allocations: 453.2 kB / 3.773 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/12.27, allocations: 35.22 kB / 3.773 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001821/12.27, allocations: 363.2 kB / 3.773 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/12.27, allocations: 0.5681 MB / 3.774 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/12.27, allocations: 0.9684 MB / 3.775 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/12.27, allocations: 0.6841 MB / 3.776 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/12.27, allocations: 3.281 kB / 3.776 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005676/12.28, allocations: 2.015 MB / 3.777 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001858/12.28, allocations: 4.614 MB / 3.782 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/12.28, allocations: 14.62 kB / 3.782 GB, free: 17.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0098/12.29, allocations: 1.299 MB / 3.783 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003637/12.29, allocations: 438.4 kB / 3.784 GB, free: 17.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/12.3, allocations: 3.101 MB / 3.787 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/12.3, allocations: 225.9 kB / 3.787 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/12.3, allocations: 103.1 kB / 3.787 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/12.3, allocations: 5.406 kB / 3.787 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004989/12.31, allocations: 1.741 MB / 3.789 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/12.31, allocations: 11.72 kB / 3.789 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/12.31, allocations: 0.554 MB / 3.789 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005297/12.32, allocations: 0.5714 MB / 3.79 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/12.32, allocations: 1.664 MB / 3.791 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003249/12.32, allocations: 221.5 kB / 3.792 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/12.32, allocations: 99.39 kB / 3.792 GB, free: 14.55 MB / 0.5105 GB 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.0006039/12.32, allocations: 202.7 kB / 3.792 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/12.32, allocations: 134 kB / 3.792 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/12.34, allocations: 7.196 MB / 3.799 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.39e-05/12.34, allocations: 82.41 kB / 3.799 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/12.34, allocations: 0 / 3.799 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-05/12.34, allocations: 13.27 kB / 3.799 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/12.35, allocations: 9.461 MB / 3.808 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/12.35, allocations: 0.75 kB / 3.808 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002628/12.36, allocations: 337.5 kB / 3.809 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01018/12.37, allocations: 2.713 MB / 3.811 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003078/12.37, allocations: 46.06 kB / 3.811 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006984/12.37, allocations: 4.386 MB / 3.816 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/12.37, allocations: 0.75 kB / 3.816 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008138/12.38, allocations: 4.592 MB / 3.82 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/12.38, allocations: 0.5353 MB / 3.821 GB, free: 25.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003169/12.38, allocations: 30.73 kB / 3.821 GB, free: 25.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002545/12.39, allocations: 226.6 kB / 3.821 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/12.39, allocations: 137.2 kB / 3.821 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/12.39, allocations: 65.12 kB / 3.821 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001163/12.39, allocations: 0.6253 MB / 3.822 GB, free: 25.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.81e-07/12.39, allocations: 0 / 3.822 GB, free: 25.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009435/12.4, allocations: 2.048 MB / 3.824 GB, free: 25.44 MB / 0.5261 GB 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.02027/12.42, allocations: 7.059 MB / 3.831 GB, free: 23.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01038/12.43, allocations: 3.445 MB / 3.834 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/12.43, allocations: 4 kB / 3.834 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004654/12.43, allocations: 2.034 MB / 3.836 GB, free: 23.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00541/12.44, allocations: 0.5542 MB / 3.837 GB, free: 23.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7234/13.16, allocations: 79.91 MB / 3.915 GB, free: 57.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/13.16, allocations: 1.642 MB / 3.916 GB, free: 56.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005007/13.17, allocations: 1.47 MB / 3.918 GB, free: 56.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/13.17, allocations: 0.8403 MB / 3.919 GB, free: 56.34 MB / 0.5261 GB Notification: Performance of SimCode: time 2.464e-06/13.17, allocations: 3.969 kB / 3.919 GB, free: 56.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2678/13.44, allocations: 100 MB / 4.016 GB, free: 45.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/13.44, allocations: 237.7 kB / 4.016 GB, free: 45.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.965/20.4, allocations: 0 / 4.016 GB, free: 45.09 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat