Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.524e-05, allocations: 0 / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 48.71 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.836/7.95, allocations: 2.502 GB / 2.816 GB, free: 59.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003998/7.951, allocations: 81.89 kB / 2.816 GB, free: 59.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.54/10.49, allocations: 426 MB / 3.232 GB, free: 46.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/10.49, allocations: 0 / 3.232 GB, free: 46.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.248e-05/10.49, allocations: 18.5 kB / 3.232 GB, free: 46.75 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007826/10.5, allocations: 1.706 MB / 3.234 GB, free: 46.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/10.5, allocations: 11.78 kB / 3.234 GB, free: 46.08 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002382/10.5, allocations: 96.89 kB / 3.234 GB, free: 46.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003682/10.5, allocations: 313.4 kB / 3.235 GB, free: 46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/10.51, allocations: 0.585 MB / 3.235 GB, free: 45.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/10.51, allocations: 47.47 kB / 3.235 GB, free: 45.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/10.51, allocations: 56.47 kB / 3.235 GB, free: 45.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/10.51, allocations: 0.9734 MB / 3.236 GB, free: 45.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/10.51, allocations: 0 / 3.236 GB, free: 45.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/10.51, allocations: 24.81 kB / 3.236 GB, free: 45.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.736e-05/10.51, allocations: 28.91 kB / 3.236 GB, free: 45.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/10.51, allocations: 0.8074 MB / 3.237 GB, free: 45.55 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.006203/10.52, allocations: 4.453 MB / 3.241 GB, free: 42.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/10.52, allocations: 0.7264 MB / 3.242 GB, free: 42.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/10.52, allocations: 233 kB / 3.242 GB, free: 42.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3081/10.83, allocations: 83.18 MB / 3.324 GB, free: 25.72 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/10.83, allocations: 38.12 kB / 3.324 GB, free: 25.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 4.028e-06/10.83, allocations: 0 / 3.324 GB, free: 25.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.01111/10.84, allocations: 1.845 MB / 3.325 GB, free: 25.26 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/10.84, allocations: 110.4 kB / 3.325 GB, free: 25.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/10.84, allocations: 419.9 kB / 3.326 GB, free: 25.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/10.84, allocations: 41.45 kB / 3.326 GB, free: 24.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00038/10.84, allocations: 370.3 kB / 3.326 GB, free: 24.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/10.84, allocations: 183.6 kB / 3.326 GB, free: 24.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/10.84, allocations: 14.38 kB / 3.326 GB, free: 24.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002153/10.84, allocations: 335 kB / 3.327 GB, free: 24.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008301/10.84, allocations: 193 kB / 3.327 GB, free: 24.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009455/10.85, allocations: 392.9 kB / 3.327 GB, free: 24.08 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/10.85, allocations: 253.2 kB / 3.328 GB, free: 24.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/10.85, allocations: 3.594 kB / 3.328 GB, free: 24.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003549/10.85, allocations: 0.7978 MB / 3.328 GB, free: 23.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001176/10.85, allocations: 2.179 MB / 3.33 GB, free: 21.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/10.85, allocations: 7.875 kB / 3.33 GB, free: 21.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004267/10.86, allocations: 388.6 kB / 3.331 GB, free: 21.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/10.86, allocations: 141.8 kB / 3.331 GB, free: 21.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/10.86, allocations: 0.8584 MB / 3.332 GB, free: 21.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/10.86, allocations: 92.27 kB / 3.332 GB, free: 21.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/10.86, allocations: 39.14 kB / 3.332 GB, free: 21.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/10.86, allocations: 3.781 kB / 3.332 GB, free: 21.14 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004347/10.87, allocations: 0.7915 MB / 3.333 GB, free: 21.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.495e-05/10.87, allocations: 7.812 kB / 3.333 GB, free: 21.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/10.87, allocations: 284.5 kB / 3.333 GB, free: 21.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/10.87, allocations: 144.7 kB / 3.333 GB, free: 21.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/10.87, allocations: 0.8244 MB / 3.334 GB, free: 20.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/10.87, allocations: 88.69 kB / 3.334 GB, free: 20.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/10.87, allocations: 39.28 kB / 3.334 GB, free: 20.55 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0004099/10.87, allocations: 154.6 kB / 3.334 GB, free: 20.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/10.87, allocations: 62.5 kB / 3.334 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006103/10.88, allocations: 2.843 MB / 3.337 GB, free: 20.06 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.558e-05/10.88, allocations: 43 kB / 3.337 GB, free: 20.06 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/10.88, allocations: 0 / 3.337 GB, free: 20.06 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/10.88, allocations: 3.516 kB / 3.337 GB, free: 20.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008564/10.89, allocations: 3.982 MB / 3.341 GB, free: 19.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/10.89, allocations: 6.562 kB / 3.341 GB, free: 19.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/10.89, allocations: 163.9 kB / 3.341 GB, free: 19.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006027/10.89, allocations: 71.61 kB / 3.341 GB, free: 19.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/10.89, allocations: 13.03 kB / 3.341 GB, free: 19.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/10.89, allocations: 1.186 MB / 3.342 GB, free: 18.49 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/10.89, allocations: 0 / 3.342 GB, free: 18.49 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003946/10.9, allocations: 2.381 MB / 3.345 GB, free: 18.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007199/10.9, allocations: 315.3 kB / 3.345 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/10.9, allocations: 14.59 kB / 3.345 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009547/10.9, allocations: 81.39 kB / 3.345 GB, free: 18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/10.9, allocations: 48.31 kB / 3.345 GB, free: 18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/10.9, allocations: 25.16 kB / 3.345 GB, free: 18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006703/10.9, allocations: 385.2 kB / 3.346 GB, free: 17.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/10.9, allocations: 0 / 3.346 GB, free: 17.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00689/10.91, allocations: 1.394 MB / 3.347 GB, free: 17.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01486/10.92, allocations: 4.554 MB / 3.351 GB, free: 16.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003485/10.93, allocations: 1.292 MB / 3.353 GB, free: 16.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/10.93, allocations: 4.062 kB / 3.353 GB, free: 16.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/10.93, allocations: 0.8135 MB / 3.353 GB, free: 16.56 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/10.93, allocations: 295.4 kB / 3.354 GB, free: 16.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.638/11.57, allocations: 76.82 MB / 3.429 GB, free: 73.63 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/11.57, allocations: 1.166 MB / 3.43 GB, free: 72.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/11.57, allocations: 453.3 kB / 3.43 GB, free: 72.91 MB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/11.57, allocations: 0 / 3.43 GB, free: 72.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.067/15.64, allocations: 44.82 MB / 3.474 GB, free: 69.15 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat