Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.439e-05/4.444e-05, allocations: 8 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4055, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.679/9.085, allocations: 2.798 GB / 3.171 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/9.085, allocations: 83.92 kB / 3.171 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.328/11.41, allocations: 458.9 MB / 3.619 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.497e-06/11.41, allocations: 3.906 kB / 3.619 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001499/11.41, allocations: 38.98 kB / 3.619 GB, free: 57.08 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01044/11.42, allocations: 2.325 MB / 3.622 GB, free: 55.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/11.42, allocations: 15.91 kB / 3.622 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006367/11.42, allocations: 191.3 kB / 3.622 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/11.43, allocations: 455.4 kB / 3.622 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003343/11.43, allocations: 0.9797 MB / 3.623 GB, free: 54.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/11.43, allocations: 105.3 kB / 3.623 GB, free: 54.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004123/11.43, allocations: 130.9 kB / 3.623 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005405/11.44, allocations: 1.642 MB / 3.625 GB, free: 54.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.64e-05/11.44, allocations: 7.844 kB / 3.625 GB, free: 54.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/11.44, allocations: 58.59 kB / 3.625 GB, free: 53.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.547e-05/11.44, allocations: 52.38 kB / 3.625 GB, free: 53.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004629/11.44, allocations: 1.243 MB / 3.626 GB, free: 53.56 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.01543/11.46, allocations: 7.818 MB / 3.634 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003282/11.46, allocations: 0.8558 MB / 3.635 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/11.46, allocations: 318.1 kB / 3.635 GB, free: 47.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07698/11.54, allocations: 24.23 MB / 3.659 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/11.54, allocations: 47.28 kB / 3.659 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=71): time 4.489e-06/11.54, allocations: 0 / 3.659 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.008181/11.55, allocations: 2.217 MB / 3.661 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/11.55, allocations: 137.3 kB / 3.661 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/11.55, allocations: 0.8538 MB / 3.662 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002173/11.55, allocations: 41.7 kB / 3.662 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005206/11.55, allocations: 0.6949 MB / 3.663 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/11.55, allocations: 260.6 kB / 3.663 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/11.55, allocations: 24 kB / 3.663 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001019/11.55, allocations: 349.2 kB / 3.663 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007456/11.55, allocations: 270.2 kB / 3.664 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/11.55, allocations: 0.7093 MB / 3.664 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/11.55, allocations: 379.6 kB / 3.665 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/11.55, allocations: 4 kB / 3.665 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003116/11.56, allocations: 1.12 MB / 3.666 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001277/11.56, allocations: 5.663 MB / 3.671 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.4e-05/11.56, allocations: 16 kB / 3.671 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/11.56, allocations: 237 kB / 3.671 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/11.56, allocations: 287.1 kB / 3.672 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009266/11.56, allocations: 0.7125 MB / 3.672 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/11.57, allocations: 103 kB / 3.673 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/11.57, allocations: 67.52 kB / 3.673 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/11.57, allocations: 4 kB / 3.673 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002499/11.57, allocations: 0.9821 MB / 3.674 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/11.57, allocations: 12 kB / 3.674 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/11.57, allocations: 163.3 kB / 3.674 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/11.57, allocations: 284.3 kB / 3.674 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008244/11.57, allocations: 0.686 MB / 3.675 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/11.58, allocations: 106.8 kB / 3.675 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/11.58, allocations: 67.66 kB / 3.675 GB, free: 11.46 MB / 0.5105 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.0004536/11.58, allocations: 184.5 kB / 3.675 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/11.58, allocations: 114.6 kB / 3.675 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005216/11.58, allocations: 3.045 MB / 3.678 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-05/11.58, allocations: 33.69 kB / 3.678 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/11.58, allocations: 4 kB / 3.678 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/11.58, allocations: 6.469 kB / 3.678 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007976/11.59, allocations: 4.601 MB / 3.683 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/11.59, allocations: 4.219 kB / 3.683 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/11.59, allocations: 166.9 kB / 3.683 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003027/11.6, allocations: 1.261 MB / 3.684 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/11.6, allocations: 20 kB / 3.684 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/11.6, allocations: 1.418 MB / 3.685 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/11.6, allocations: 0 / 3.685 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007585/11.6, allocations: 3.357 MB / 3.689 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/11.61, allocations: 436.2 kB / 3.689 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004136/11.61, allocations: 16 kB / 3.689 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/11.61, allocations: 85.62 kB / 3.689 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/11.61, allocations: 83.14 kB / 3.689 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/11.61, allocations: 35.89 kB / 3.689 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002062/11.61, allocations: 0.8328 MB / 3.69 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.042e-06/11.61, allocations: 0 / 3.69 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008777/11.62, allocations: 1.678 MB / 3.692 GB, free: 12.09 MB / 0.5261 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.01682/11.64, allocations: 5.258 MB / 3.697 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004545/11.64, allocations: 1.553 MB / 3.698 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/11.64, allocations: 4.188 kB / 3.698 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/11.64, allocations: 0.7504 MB / 3.699 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/11.65, allocations: 456.7 kB / 3.7 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/11.66, allocations: 3.341 MB / 3.703 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/11.66, allocations: 1.404 MB / 3.704 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003067/11.66, allocations: 0.7506 MB / 3.705 GB, free: 92 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4036/12.07, allocations: 0.8456 MB / 3.706 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of SimCode: time 2.585e-06/12.07, allocations: 0.9688 kB / 3.706 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1673/12.24, allocations: 70.92 MB / 3.775 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/12.24, allocations: 260.6 kB / 3.775 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.768/18, allocations: 7.75 kB / 3.775 GB, free: 68.1 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat