Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPumpMech,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.537/2.537, allocations: 254.6 MB / 267.7 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.526e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3933, allocations: 60.24 MB / 391.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.508/9.901, allocations: 2.895 GB / 3.277 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/9.902, allocations: 82.16 kB / 3.277 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.327/11.23, allocations: 225.6 MB / 3.497 GB, free: 83.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.635e-06/11.23, allocations: 7.531 kB / 3.497 GB, free: 83.87 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.458e-05/11.23, allocations: 15.03 kB / 3.497 GB, free: 83.87 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.005766/11.23, allocations: 1.152 MB / 3.498 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/11.23, allocations: 11.5 kB / 3.498 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/11.23, allocations: 87.55 kB / 3.499 GB, free: 83.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003561/11.24, allocations: 77.42 kB / 3.499 GB, free: 83.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/11.24, allocations: 479.9 kB / 3.499 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/11.24, allocations: 67.53 kB / 3.499 GB, free: 82.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/11.24, allocations: 51.44 kB / 3.499 GB, free: 82.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/11.24, allocations: 0.5292 MB / 3.5 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.327e-05/11.24, allocations: 7.906 kB / 3.5 GB, free: 82.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/11.24, allocations: 15.81 kB / 3.5 GB, free: 82.33 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/11.24, allocations: 11.31 kB / 3.5 GB, free: 82.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/11.24, allocations: 346.1 kB / 3.5 GB, free: 82.21 MB / 0.5105 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.004488/11.24, allocations: 2.05 MB / 3.502 GB, free: 80.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008695/11.25, allocations: 305.3 kB / 3.502 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/11.25, allocations: 150.3 kB / 3.502 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09932/11.34, allocations: 31.97 MB / 3.534 GB, free: 52.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/11.35, allocations: 34.56 kB / 3.534 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.917e-06/11.35, allocations: 0 / 3.534 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38): time 0.003398/11.35, allocations: 1.208 MB / 3.535 GB, free: 51.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/11.35, allocations: 59.06 kB / 3.535 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/11.35, allocations: 314 kB / 3.535 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/11.35, allocations: 33.7 kB / 3.535 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/11.35, allocations: 261.4 kB / 3.536 GB, free: 50.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/11.35, allocations: 139.6 kB / 3.536 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/11.35, allocations: 12 kB / 3.536 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00011/11.35, allocations: 356.8 kB / 3.536 GB, free: 50.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/11.35, allocations: 100.3 kB / 3.536 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/11.35, allocations: 157.7 kB / 3.536 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/11.35, allocations: 117.3 kB / 3.536 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/11.35, allocations: 4 kB / 3.536 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001027/11.35, allocations: 407.3 kB / 3.537 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001617/11.35, allocations: 0.6096 MB / 3.537 GB, free: 48.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/11.35, allocations: 7.938 kB / 3.537 GB, free: 48.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007061/11.35, allocations: 97.94 kB / 3.537 GB, free: 48.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/11.35, allocations: 93.72 kB / 3.538 GB, free: 48.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007774/11.35, allocations: 0.6396 MB / 3.538 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/11.35, allocations: 43.17 kB / 3.538 GB, free: 47.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/11.35, allocations: 16 kB / 3.538 GB, free: 47.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/11.35, allocations: 4 kB / 3.538 GB, free: 47.79 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001162/11.36, allocations: 365.9 kB / 3.539 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/11.36, allocations: 0 / 3.539 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/11.36, allocations: 66.45 kB / 3.539 GB, free: 47.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/11.36, allocations: 103 kB / 3.539 GB, free: 47.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005158/11.36, allocations: 0.593 MB / 3.539 GB, free: 46.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/11.36, allocations: 46.88 kB / 3.539 GB, free: 46.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/11.36, allocations: 12 kB / 3.539 GB, free: 46.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.000161/11.36, allocations: 128.9 kB / 3.54 GB, free: 46.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/11.36, allocations: 43.44 kB / 3.54 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/11.36, allocations: 0.6494 MB / 3.54 GB, free: 45.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/11.36, allocations: 6.859 kB / 3.54 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/11.36, allocations: 0 / 3.54 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/11.36, allocations: 0 / 3.54 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/11.36, allocations: 1.357 MB / 3.542 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/11.36, allocations: 8.062 kB / 3.542 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/11.36, allocations: 83.75 kB / 3.542 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008695/11.36, allocations: 434 kB / 3.542 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/11.36, allocations: 12 kB / 3.542 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008231/11.37, allocations: 0.8277 MB / 3.543 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/11.37, allocations: 3.984 kB / 3.543 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/11.37, allocations: 0.9605 MB / 3.544 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/11.37, allocations: 147.5 kB / 3.544 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-05/11.37, allocations: 8 kB / 3.544 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/11.37, allocations: 47.77 kB / 3.544 GB, free: 42.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/11.37, allocations: 31.48 kB / 3.544 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/11.37, allocations: 12 kB / 3.544 GB, free: 42.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003657/11.37, allocations: 257.9 kB / 3.544 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/11.37, allocations: 0 / 3.544 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005045/11.37, allocations: 0.9818 MB / 3.545 GB, free: 41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.009359/11.38, allocations: 2.786 MB / 3.548 GB, free: 38.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001816/11.38, allocations: 0.5212 MB / 3.548 GB, free: 37.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/11.38, allocations: 0 / 3.548 GB, free: 37.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000646/11.39, allocations: 219.2 kB / 3.549 GB, free: 37.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/11.39, allocations: 169 kB / 3.549 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005645/11.39, allocations: 1.295 MB / 3.55 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/11.39, allocations: 0.8681 MB / 3.551 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000749/11.39, allocations: 116.1 kB / 3.551 GB, free: 35.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/11.39, allocations: 183.4 kB / 3.551 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.203e-06/11.39, allocations: 0 / 3.551 GB, free: 35.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5019/11.9, allocations: 37.85 MB / 3.588 GB, free: 94.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/11.9, allocations: 167.3 kB / 3.588 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.355/16.25, allocations: 3.938 kB / 3.588 GB, free: 94.53 MB / 0.5105 GB