Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestControlledPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.106/2.106, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.786e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 48.7 MB / 316.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.709/7.826, allocations: 2.503 GB / 2.812 GB, free: 87.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/7.826, allocations: 87.5 kB / 2.812 GB, free: 87.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.708/11.53, allocations: 0.7311 GB / 3.543 GB, free: 7.562 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.873e-06/11.53, allocations: 0 / 3.543 GB, free: 7.562 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001562/11.53, allocations: 39.84 kB / 3.543 GB, free: 7.527 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.01217/11.55, allocations: 2.62 MB / 3.546 GB, free: 4.867 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/11.55, allocations: 12.02 kB / 3.546 GB, free: 4.855 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007245/11.55, allocations: 0.6241 MB / 3.546 GB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/11.56, allocations: 0.9921 MB / 3.547 GB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/11.56, allocations: 52 kB / 3.547 GB, free: 3.164 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/11.56, allocations: 64 kB / 3.547 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002873/11.56, allocations: 1.082 MB / 3.548 GB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/11.56, allocations: 1.301 MB / 3.55 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/11.56, allocations: 3.938 kB / 3.55 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/11.56, allocations: 12 kB / 3.55 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-05/11.56, allocations: 42.02 kB / 3.55 GB, free: 0.5039 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.6532/12.22, allocations: 73.05 MB / 3.621 GB, free: 22.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/12.22, allocations: 0.7865 MB / 3.622 GB, free: 22.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/12.22, allocations: 408.5 kB / 3.622 GB, free: 22.44 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06447/12.29, allocations: 20.18 MB / 3.642 GB, free: 24.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.189e-05/12.29, allocations: 45.91 kB / 3.642 GB, free: 24.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=86): time 5.33e-06/12.29, allocations: 3.703 kB / 3.642 GB, free: 24.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=120): time 0.05035/12.34, allocations: 5.087 MB / 3.647 GB, free: 24.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/12.34, allocations: 172.2 kB / 3.647 GB, free: 24.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/12.34, allocations: 0.7054 MB / 3.648 GB, free: 24.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002849/12.34, allocations: 25.7 kB / 3.648 GB, free: 24.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/12.34, allocations: 0.6362 MB / 3.648 GB, free: 23.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004545/12.34, allocations: 395.4 kB / 3.649 GB, free: 23.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/12.34, allocations: 4 kB / 3.649 GB, free: 23.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/12.34, allocations: 362.9 kB / 3.649 GB, free: 23.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/12.34, allocations: 0.5262 MB / 3.65 GB, free: 23.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/12.34, allocations: 0.927 MB / 3.651 GB, free: 22.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005651/12.35, allocations: 0.9665 MB / 3.652 GB, free: 22.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/12.35, allocations: 4.719 kB / 3.652 GB, free: 22.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.009474/12.36, allocations: 2.141 MB / 3.654 GB, free: 22.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002045/12.36, allocations: 4.616 MB / 3.658 GB, free: 17.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.887e-05/12.36, allocations: 13.22 kB / 3.658 GB, free: 17.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004479/12.36, allocations: 0.8243 MB / 3.659 GB, free: 17.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/12.37, allocations: 369.4 kB / 3.659 GB, free: 17.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008293/12.38, allocations: 3.408 MB / 3.663 GB, free: 15.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003514/12.38, allocations: 222.2 kB / 3.663 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/12.38, allocations: 86.78 kB / 3.663 GB, free: 15.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/12.38, allocations: 6.969 kB / 3.663 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006276/12.39, allocations: 1.458 MB / 3.664 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/12.39, allocations: 14.08 kB / 3.664 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/12.39, allocations: 22.06 kB / 3.664 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00591/12.39, allocations: 0.6239 MB / 3.665 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.668e-05/12.39, allocations: 27.56 kB / 3.665 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/12.39, allocations: 192.5 kB / 3.665 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/12.39, allocations: 75.86 kB / 3.665 GB, free: 15.56 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.0007377/12.4, allocations: 176.1 kB / 3.666 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008869/12.4, allocations: 1.82 MB / 3.667 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005968/12.4, allocations: 133.9 kB / 3.667 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/12.42, allocations: 5.917 MB / 3.673 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/12.42, allocations: 62.06 kB / 3.673 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/12.42, allocations: 2.938 kB / 3.673 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.076e-05/12.42, allocations: 6.609 kB / 3.673 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/12.44, allocations: 7.906 MB / 3.681 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/12.44, allocations: 0 / 3.681 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/12.44, allocations: 243.2 kB / 3.681 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005798/12.44, allocations: 2.273 MB / 3.683 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002988/12.44, allocations: 24.47 kB / 3.683 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008304/12.45, allocations: 4.865 MB / 3.688 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/12.45, allocations: 0 / 3.688 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008956/12.46, allocations: 4.117 MB / 3.692 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/12.46, allocations: 0.4937 MB / 3.693 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000445/12.46, allocations: 2.578 kB / 3.693 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/12.47, allocations: 198 kB / 3.693 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/12.47, allocations: 115 kB / 3.693 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/12.47, allocations: 57.19 kB / 3.693 GB, free: 10.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001242/12.47, allocations: 0.6194 MB / 3.694 GB, free: 10.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/12.47, allocations: 0 / 3.694 GB, free: 10.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009395/12.48, allocations: 1.813 MB / 3.695 GB, free: 10.81 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.02199/12.5, allocations: 6.584 MB / 3.702 GB, free: 9.418 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008651/12.51, allocations: 2.87 MB / 3.705 GB, free: 9.363 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/12.51, allocations: 0.75 kB / 3.705 GB, free: 9.363 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004391/12.51, allocations: 1.727 MB / 3.706 GB, free: 9.336 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005315/12.52, allocations: 0.5029 MB / 3.707 GB, free: 9.297 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/12.53, allocations: 4.084 MB / 3.711 GB, free: 8.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/12.53, allocations: 1.545 MB / 3.712 GB, free: 7.664 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/12.53, allocations: 0.7706 MB / 3.713 GB, free: 7.66 MB / 490.7 MB Notification: Performance of SimCode: time 1.232e-06/12.53, allocations: 0 / 3.713 GB, free: 7.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.955/17.49, allocations: 87.87 MB / 3.799 GB, free: 81.44 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat does not exist to compare? outputFormat=mat