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.952/1.952, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.568e-05, allocations: 7.938 kB / 267.6 MB, free: 4.918 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 48.69 MB / 316.3 MB, free: 4.121 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.494/7.599, allocations: 2.503 GB / 2.812 GB, free: 92.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/7.599, allocations: 87.94 kB / 2.812 GB, free: 92.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737/11.34, allocations: 0.7311 GB / 3.543 GB, free: 13.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/11.34, allocations: 4 kB / 3.543 GB, free: 13.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001369/11.34, allocations: 39.75 kB / 3.543 GB, free: 13.31 MB / 442.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.013/11.35, allocations: 2.624 MB / 3.546 GB, free: 10.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/11.35, allocations: 12.03 kB / 3.546 GB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007172/11.36, allocations: 0.6124 MB / 3.546 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/11.36, allocations: 1.004 MB / 3.547 GB, free: 8.996 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/11.36, allocations: 52 kB / 3.547 GB, free: 8.945 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/11.36, allocations: 68 kB / 3.547 GB, free: 8.879 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003081/11.36, allocations: 1.082 MB / 3.548 GB, free: 7.793 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/11.37, allocations: 1.294 MB / 3.55 GB, free: 6.348 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/11.37, allocations: 3.938 kB / 3.55 GB, free: 6.344 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/11.37, allocations: 4 kB / 3.55 GB, free: 6.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-05/11.37, allocations: 46.02 kB / 3.55 GB, free: 6.293 MB / 442.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.626/11.99, allocations: 73.06 MB / 3.621 GB, free: 27.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/12, allocations: 0.7889 MB / 3.622 GB, free: 26.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008294/12, allocations: 405.6 kB / 3.622 GB, free: 26.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06005/12.06, allocations: 20.17 MB / 3.642 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/12.06, allocations: 46.06 kB / 3.642 GB, free: 13.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=86): time 3.937e-06/12.06, allocations: 0 / 3.642 GB, free: 13.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=120): time 0.05157/12.11, allocations: 5.093 MB / 3.647 GB, free: 13.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/12.11, allocations: 173.4 kB / 3.647 GB, free: 12.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/12.11, allocations: 0.699 MB / 3.648 GB, free: 12.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003856/12.11, allocations: 29.55 kB / 3.648 GB, free: 12.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005568/12.11, allocations: 0.6351 MB / 3.648 GB, free: 12.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000527/12.11, allocations: 389.4 kB / 3.649 GB, free: 12.22 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/12.11, allocations: 0 / 3.649 GB, free: 12.22 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006673/12.11, allocations: 361.3 kB / 3.649 GB, free: 27.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/12.11, allocations: 0.5298 MB / 3.65 GB, free: 27.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/12.12, allocations: 0.9226 MB / 3.651 GB, free: 27.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005851/12.12, allocations: 0.9675 MB / 3.652 GB, free: 27.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-05/12.12, allocations: 2.312 kB / 3.652 GB, free: 27.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.009654/12.13, allocations: 2.201 MB / 3.654 GB, free: 27.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002245/12.13, allocations: 4.615 MB / 3.658 GB, free: 22.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.065e-05/12.13, allocations: 20.12 kB / 3.658 GB, free: 22.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00446/12.14, allocations: 0.8235 MB / 3.659 GB, free: 22.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/12.14, allocations: 371.1 kB / 3.659 GB, free: 22.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00823/12.15, allocations: 3.4 MB / 3.663 GB, free: 20.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/12.15, allocations: 222.9 kB / 3.663 GB, free: 20.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/12.15, allocations: 86.67 kB / 3.663 GB, free: 20.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/12.15, allocations: 3.938 kB / 3.663 GB, free: 20.21 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006367/12.16, allocations: 1.465 MB / 3.664 GB, free: 20.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/12.16, allocations: 11.06 kB / 3.664 GB, free: 20.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/12.16, allocations: 20.34 kB / 3.664 GB, free: 20.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005992/12.17, allocations: 0.6202 MB / 3.665 GB, free: 20.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.662e-05/12.17, allocations: 27.47 kB / 3.665 GB, free: 20.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/12.17, allocations: 203.1 kB / 3.665 GB, free: 20.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/12.17, allocations: 78.58 kB / 3.665 GB, free: 20.14 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump1.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.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 (142): * Single equations (assignments): 138 * 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.0007023/12.17, allocations: 156.3 kB / 3.666 GB, free: 20.03 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008768/12.18, allocations: 1.822 MB / 3.667 GB, free: 19.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005323/12.18, allocations: 132.1 kB / 3.667 GB, free: 19.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/12.19, allocations: 5.909 MB / 3.673 GB, free: 19.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.295e-05/12.19, allocations: 70.36 kB / 3.673 GB, free: 19.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/12.19, allocations: 0 / 3.673 GB, free: 19.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.844e-05/12.19, allocations: 6.469 kB / 3.673 GB, free: 19.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/12.21, allocations: 7.916 MB / 3.681 GB, free: 18.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/12.21, allocations: 2.531 kB / 3.681 GB, free: 18.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/12.21, allocations: 236 kB / 3.681 GB, free: 18.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005788/12.22, allocations: 2.279 MB / 3.683 GB, free: 18.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/12.22, allocations: 21.03 kB / 3.683 GB, free: 18.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008237/12.22, allocations: 4.875 MB / 3.688 GB, free: 16.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/12.22, allocations: 3.797 kB / 3.688 GB, free: 16.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008816/12.23, allocations: 4.116 MB / 3.692 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/12.24, allocations: 0.4923 MB / 3.693 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/12.24, allocations: 0 / 3.693 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002477/12.24, allocations: 207.1 kB / 3.693 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003583/12.24, allocations: 111 kB / 3.693 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/12.24, allocations: 53.31 kB / 3.693 GB, free: 15.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001189/12.24, allocations: 0.6217 MB / 3.694 GB, free: 15.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/12.24, allocations: 0 / 3.694 GB, free: 15.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009223/12.25, allocations: 1.822 MB / 3.695 GB, free: 15.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.02297/12.27, allocations: 6.569 MB / 3.702 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009223/12.28, allocations: 2.898 MB / 3.705 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/12.28, allocations: 4.484 kB / 3.705 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004195/12.29, allocations: 1.73 MB / 3.706 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00476/12.29, allocations: 0.5032 MB / 3.707 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/12.3, allocations: 4.057 MB / 3.711 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/12.3, allocations: 1.556 MB / 3.712 GB, free: 12.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004395/12.31, allocations: 1.559 MB / 3.714 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/12.31, allocations: 0.75 MB / 3.715 GB, free: 12.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/12.31, allocations: 1.125 kB / 3.715 GB, free: 12.17 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5843/12.89, allocations: 80.06 MB / 3.793 GB, free: 59.73 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/12.89, allocations: 198 kB / 3.793 GB, free: 59.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.366/19.26, allocations: 0 / 3.793 GB, free: 59.53 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