Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.285/2.285, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.757e-05, allocations: 7.984 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1316, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.583/8.715, allocations: 2.804 GB / 3.204 GB, free: 42.38 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/8.715, allocations: 86.94 kB / 3.205 GB, free: 42.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.291/11.01, allocations: 463.5 MB / 3.657 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/11.01, allocations: 0 / 3.657 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000126/11.01, allocations: 39.98 kB / 3.657 GB, free: 1.375 MB / 0.5261 GB 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.4124/11.42, allocations: 2.324 MB / 3.659 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/11.42, allocations: 10.41 kB / 3.659 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001004/11.42, allocations: 197.1 kB / 3.66 GB, free: 45.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006266/11.43, allocations: 444.1 kB / 3.66 GB, free: 45.58 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007293/11.43, allocations: 0.9802 MB / 3.661 GB, free: 45.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/11.43, allocations: 105.2 kB / 3.661 GB, free: 45.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/11.44, allocations: 136.4 kB / 3.661 GB, free: 45.31 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008109/11.44, allocations: 1.634 MB / 3.663 GB, free: 45.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-05/11.44, allocations: 6.531 kB / 3.663 GB, free: 45.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002267/11.44, allocations: 57.84 kB / 3.663 GB, free: 45.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.974e-05/11.44, allocations: 48.33 kB / 3.663 GB, free: 45.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005254/11.45, allocations: 1.244 MB / 3.664 GB, free: 45.01 MB / 0.5261 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.01645/11.47, allocations: 7.818 MB / 3.672 GB, free: 40.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/11.47, allocations: 0.8609 MB / 3.673 GB, free: 40.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008749/11.47, allocations: 315.6 kB / 3.673 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08061/11.55, allocations: 24.24 MB / 3.697 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/11.55, allocations: 41.69 kB / 3.697 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 6.532e-06/11.55, allocations: 0 / 3.697 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.008311/11.56, allocations: 2.213 MB / 3.699 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/11.56, allocations: 146.6 kB / 3.699 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/11.56, allocations: 0.8493 MB / 3.7 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002732/11.56, allocations: 39.27 kB / 3.7 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008071/11.56, allocations: 0.6937 MB / 3.701 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/11.56, allocations: 270.5 kB / 3.701 GB, free: 24.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/11.56, allocations: 20.47 kB / 3.701 GB, free: 24.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001369/11.56, allocations: 349.4 kB / 3.701 GB, free: 24.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/11.56, allocations: 269.9 kB / 3.701 GB, free: 24.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/11.57, allocations: 0.7091 MB / 3.702 GB, free: 23.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/11.57, allocations: 383.5 kB / 3.702 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/11.57, allocations: 6.938 kB / 3.702 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004674/11.57, allocations: 1.114 MB / 3.704 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00368/11.58, allocations: 5.666 MB / 3.709 GB, free: 33.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.437e-05/11.58, allocations: 16.16 kB / 3.709 GB, free: 33.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/11.58, allocations: 232.2 kB / 3.709 GB, free: 33.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/11.58, allocations: 283 kB / 3.71 GB, free: 33.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009433/11.58, allocations: 0.7151 MB / 3.71 GB, free: 33.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/11.58, allocations: 103.2 kB / 3.71 GB, free: 33.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/11.58, allocations: 69.38 kB / 3.71 GB, free: 33.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/11.58, allocations: 3.625 kB / 3.71 GB, free: 33.13 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002332/11.59, allocations: 0.9721 MB / 3.711 GB, free: 33.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/11.59, allocations: 18.94 kB / 3.711 GB, free: 33.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/11.59, allocations: 167.2 kB / 3.712 GB, free: 33.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/11.59, allocations: 290 kB / 3.712 GB, free: 33.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00079/11.59, allocations: 0.6925 MB / 3.713 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/11.59, allocations: 102.1 kB / 3.713 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/11.59, allocations: 58.58 kB / 3.713 GB, free: 32.57 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 133 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004155/11.59, allocations: 183.4 kB / 3.713 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/11.59, allocations: 122.1 kB / 3.713 GB, free: 32.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00454/11.6, allocations: 3.043 MB / 3.716 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-05/11.6, allocations: 41.08 kB / 3.716 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/11.6, allocations: 2.719 kB / 3.716 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/11.6, allocations: 6.562 kB / 3.716 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007894/11.61, allocations: 4.608 MB / 3.72 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/11.61, allocations: 3.5 kB / 3.72 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/11.61, allocations: 165.8 kB / 3.721 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/11.61, allocations: 1.257 MB / 3.722 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00014/11.61, allocations: 17.78 kB / 3.722 GB, free: 31.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/11.61, allocations: 1.421 MB / 3.723 GB, free: 30.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/11.61, allocations: 1.5 kB / 3.723 GB, free: 30.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00533/11.62, allocations: 3.242 MB / 3.726 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/11.62, allocations: 433.5 kB / 3.727 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/11.62, allocations: 21.84 kB / 3.727 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/11.62, allocations: 92.45 kB / 3.727 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/11.62, allocations: 68.06 kB / 3.727 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/11.62, allocations: 32.02 kB / 3.727 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001618/11.62, allocations: 0.8372 MB / 3.728 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.71e-07/11.62, allocations: 0 / 3.728 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008115/11.63, allocations: 1.673 MB / 3.73 GB, free: 29.96 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i,housing.T) * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (72): * Single equations (assignments): 65 * 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: 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01503/11.65, allocations: 5.28 MB / 3.735 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003837/11.65, allocations: 1.552 MB / 3.736 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/11.65, allocations: 0 / 3.736 GB, free: 28.33 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/11.65, allocations: 0.7545 MB / 3.737 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/11.65, allocations: 457.1 kB / 3.737 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/11.67, allocations: 3.342 MB / 3.741 GB, free: 27.51 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/11.67, allocations: 1.409 MB / 3.742 GB, free: 26.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002806/11.67, allocations: 0.7422 MB / 3.743 GB, free: 26.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/11.67, allocations: 0.7088 MB / 3.743 GB, free: 26.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.473e-06/11.67, allocations: 0 / 3.743 GB, free: 26.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.166/11.84, allocations: 71.03 MB / 3.813 GB, free: 23.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002891/11.84, allocations: 259.8 kB / 3.813 GB, free: 22.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.137/17.97, allocations: 0 / 3.813 GB, free: 22.92 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat