Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.499e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.436, allocations: 54.86 MB / 359.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.069/8.505, allocations: 2.629 GB / 2.98 GB, free: 119.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/8.506, allocations: 87.23 kB / 2.98 GB, free: 119.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.238/10.74, allocations: 456.3 MB / 3.426 GB, free: 45.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.883e-06/10.74, allocations: 3.281 kB / 3.426 GB, free: 45.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001283/10.74, allocations: 38.31 kB / 3.426 GB, free: 45.66 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01009/10.75, allocations: 2.317 MB / 3.428 GB, free: 44.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/10.75, allocations: 12 kB / 3.428 GB, free: 44.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006667/10.75, allocations: 193.2 kB / 3.428 GB, free: 44.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004579/10.76, allocations: 442 kB / 3.429 GB, free: 44.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00344/10.76, allocations: 1.004 MB / 3.43 GB, free: 43.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/10.76, allocations: 114.8 kB / 3.43 GB, free: 43.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004702/10.76, allocations: 134.8 kB / 3.43 GB, free: 43.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005515/10.77, allocations: 1.64 MB / 3.431 GB, free: 42.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.662e-05/10.77, allocations: 0 / 3.431 GB, free: 42.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/10.77, allocations: 61.66 kB / 3.431 GB, free: 42.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.656e-05/10.77, allocations: 44.48 kB / 3.432 GB, free: 42.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004879/10.77, allocations: 1.239 MB / 3.433 GB, free: 42.15 MB / 490.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.01407/10.79, allocations: 7.655 MB / 3.44 GB, free: 36.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/10.79, allocations: 0.8352 MB / 3.441 GB, free: 36.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007562/10.79, allocations: 308.4 kB / 3.441 GB, free: 35.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05637/10.85, allocations: 18.43 MB / 3.459 GB, free: 21.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/10.85, allocations: 47.28 kB / 3.459 GB, free: 21.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 3.447e-06/10.85, allocations: 0 / 3.459 GB, free: 21.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.05124/10.9, allocations: 5.404 MB / 3.465 GB, free: 16.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5867/11.49, allocations: 42.83 MB / 3.506 GB, free: 49.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/11.49, allocations: 0.7657 MB / 3.507 GB, free: 48.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002853/11.49, allocations: 39.73 kB / 3.507 GB, free: 48.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007724/11.49, allocations: 0.7204 MB / 3.508 GB, free: 48.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000647/11.49, allocations: 331.4 kB / 3.508 GB, free: 48.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/11.49, allocations: 24.59 kB / 3.508 GB, free: 48.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001631/11.49, allocations: 362.5 kB / 3.509 GB, free: 48.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/11.49, allocations: 404.8 kB / 3.509 GB, free: 48.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001868/11.49, allocations: 0.8888 MB / 3.51 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/11.5, allocations: 0.5346 MB / 3.51 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.081e-05/11.5, allocations: 4.25 kB / 3.51 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.005027/11.5, allocations: 1.481 MB / 3.512 GB, free: 47.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00143/11.5, allocations: 6.268 MB / 3.518 GB, free: 40.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.624e-05/11.5, allocations: 16.03 kB / 3.518 GB, free: 40.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008261/11.51, allocations: 0.9462 MB / 3.519 GB, free: 40.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/11.51, allocations: 316.1 kB / 3.519 GB, free: 40.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/11.52, allocations: 1.535 MB / 3.521 GB, free: 39.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/11.52, allocations: 130 kB / 3.521 GB, free: 39.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003329/11.52, allocations: 88.69 kB / 3.521 GB, free: 39.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/11.52, allocations: 6.781 kB / 3.521 GB, free: 39.87 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006635/11.53, allocations: 1.634 MB / 3.523 GB, free: 39.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.468e-05/11.53, allocations: 16.56 kB / 3.523 GB, free: 39.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004446/11.53, allocations: 0.6067 MB / 3.523 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/11.53, allocations: 310.8 kB / 3.523 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/11.54, allocations: 1.504 MB / 3.525 GB, free: 38.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/11.54, allocations: 140.8 kB / 3.525 GB, free: 38.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/11.54, allocations: 82.86 kB / 3.525 GB, free: 38.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (150): * Single equations (assignments): 146 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005081/11.54, allocations: 195.3 kB / 3.525 GB, free: 38.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/11.54, allocations: 119.9 kB / 3.525 GB, free: 38.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007968/11.55, allocations: 3.836 MB / 3.529 GB, free: 38.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006565/11.55, allocations: 3.29 MB / 3.532 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/11.55, allocations: 0 / 3.532 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-05/11.55, allocations: 6.375 kB / 3.532 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/11.57, allocations: 5.837 MB / 3.538 GB, free: 37.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/11.57, allocations: 0 / 3.538 GB, free: 37.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/11.57, allocations: 181.5 kB / 3.538 GB, free: 37.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007115/11.57, allocations: 1.766 MB / 3.54 GB, free: 37.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/11.57, allocations: 28.97 kB / 3.54 GB, free: 37.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00358/11.58, allocations: 2.407 MB / 3.542 GB, free: 36.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04831/11.63, allocations: 17.95 MB / 3.56 GB, free: 49.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006876/11.63, allocations: 3.79 MB / 3.564 GB, free: 49.26 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/11.63, allocations: 398.2 kB / 3.564 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/11.64, allocations: 18.69 kB / 3.564 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/11.64, allocations: 110 kB / 3.564 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/11.64, allocations: 74.55 kB / 3.564 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/11.64, allocations: 40 kB / 3.564 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001318/11.64, allocations: 0.6285 MB / 3.565 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/11.64, allocations: 0.9375 kB / 3.565 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01935/11.66, allocations: 4.027 MB / 3.569 GB, free: 48.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.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 (83): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.04105/11.7, allocations: 7.376 MB / 3.576 GB, free: 47.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006581/11.71, allocations: 2.213 MB / 3.578 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/11.71, allocations: 0 / 3.578 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002636/11.71, allocations: 1.108 MB / 3.579 GB, free: 47.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003525/11.71, allocations: 397.2 kB / 3.58 GB, free: 47.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2974/12.01, allocations: 79.62 MB / 3.657 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/12.01, allocations: 1.439 MB / 3.659 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/12.01, allocations: 0.7309 MB / 3.659 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of SimCode: time 1.774e-06/12.01, allocations: 0 / 3.659 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.88/18.89, allocations: 126.1 MB / 3.783 GB, free: 41.31 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat