Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 270 MB / 283.6 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.515e-05, allocations: 4 kB / 348.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4182, allocations: 61.88 MB / 410.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.636/9.055, allocations: 2.803 GB / 3.204 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/9.055, allocations: 91.06 kB / 3.204 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.323/11.38, allocations: 462.7 MB / 3.656 GB, free: 51.97 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/11.38, allocations: 3.75 kB / 3.656 GB, free: 51.97 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001237/11.38, allocations: 38.86 kB / 3.656 GB, free: 51.94 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.009903/11.39, allocations: 2.293 MB / 3.658 GB, free: 49.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/11.39, allocations: 12.03 kB / 3.658 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004967/11.39, allocations: 190.2 kB / 3.659 GB, free: 49.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/11.39, allocations: 444.8 kB / 3.659 GB, free: 49.31 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/11.4, allocations: 0.9727 MB / 3.66 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/11.4, allocations: 102.6 kB / 3.66 GB, free: 48.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/11.4, allocations: 128 kB / 3.66 GB, free: 48.24 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005187/11.4, allocations: 1.621 MB / 3.662 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.572e-05/11.4, allocations: 15.64 kB / 3.662 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/11.4, allocations: 56 kB / 3.662 GB, free: 46.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.317e-05/11.4, allocations: 46.19 kB / 3.662 GB, free: 46.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/11.41, allocations: 1.225 MB / 3.663 GB, free: 45.56 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.01513/11.42, allocations: 7.846 MB / 3.671 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/11.43, allocations: 0.8502 MB / 3.671 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007387/11.43, allocations: 301 kB / 3.672 GB, free: 37.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07502/11.5, allocations: 24.24 MB / 3.695 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/11.5, allocations: 43.12 kB / 3.695 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 4.358e-06/11.5, allocations: 0 / 3.695 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.008147/11.51, allocations: 2.204 MB / 3.698 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/11.51, allocations: 141.2 kB / 3.698 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/11.51, allocations: 0.8428 MB / 3.699 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/11.51, allocations: 45.7 kB / 3.699 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/11.51, allocations: 0.698 MB / 3.699 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/11.51, allocations: 251.2 kB / 3.7 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/11.51, allocations: 24 kB / 3.7 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.65e-05/11.51, allocations: 349.9 kB / 3.7 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007002/11.51, allocations: 262.6 kB / 3.7 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008997/11.51, allocations: 0.6959 MB / 3.701 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009473/11.52, allocations: 385.8 kB / 3.701 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/11.52, allocations: 4 kB / 3.701 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003144/11.52, allocations: 1.113 MB / 3.702 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001777/11.52, allocations: 5.749 MB / 3.708 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/11.52, allocations: 16 kB / 3.708 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/11.52, allocations: 280.6 kB / 3.708 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/11.52, allocations: 271.5 kB / 3.708 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/11.53, allocations: 0.763 MB / 3.709 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/11.53, allocations: 103.8 kB / 3.709 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002902/11.53, allocations: 59.98 kB / 3.709 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/11.53, allocations: 7.938 kB / 3.709 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003842/11.53, allocations: 0.9953 MB / 3.71 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.985e-05/11.53, allocations: 12.81 kB / 3.71 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/11.54, allocations: 188.7 kB / 3.711 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/11.54, allocations: 275.5 kB / 3.711 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/11.54, allocations: 0.7357 MB / 3.712 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/11.54, allocations: 103.8 kB / 3.712 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/11.54, allocations: 59.98 kB / 3.712 GB, free: 9.547 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (128): * Single equations (assignments): 127 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004239/11.54, allocations: 183 kB / 3.712 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/11.54, allocations: 114.6 kB / 3.712 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006677/11.55, allocations: 3.047 MB / 3.715 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-05/11.55, allocations: 35.94 kB / 3.715 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/11.55, allocations: 4 kB / 3.715 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/11.55, allocations: 7.938 kB / 3.715 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00971/11.56, allocations: 4.649 MB / 3.72 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/11.56, allocations: 4 kB / 3.72 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/11.56, allocations: 148 kB / 3.72 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003675/11.56, allocations: 1.233 MB / 3.721 GB, free: 24 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/11.56, allocations: 23.98 kB / 3.721 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4226/11.99, allocations: 1.468 MB / 3.722 GB, free: 72.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/11.99, allocations: 7.047 kB / 3.722 GB, free: 72.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005625/11.99, allocations: 2.917 MB / 3.725 GB, free: 71.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/11.99, allocations: 432.5 kB / 3.726 GB, free: 71.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/11.99, allocations: 22.73 kB / 3.726 GB, free: 71.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/12, allocations: 83.83 kB / 3.726 GB, free: 71.72 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/12, allocations: 70.42 kB / 3.726 GB, free: 71.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/12, allocations: 30.81 kB / 3.726 GB, free: 71.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001763/12, allocations: 0.8381 MB / 3.727 GB, free: 71.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.32e-07/12, allocations: 0 / 3.727 GB, free: 71.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00855/12.01, allocations: 1.666 MB / 3.728 GB, free: 71.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (65): * Single equations (assignments): 58 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01551/12.02, allocations: 5.262 MB / 3.733 GB, free: 70.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005059/12.03, allocations: 1.547 MB / 3.735 GB, free: 70.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/12.03, allocations: 3 kB / 3.735 GB, free: 70.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/12.03, allocations: 0.7325 MB / 3.736 GB, free: 70.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/12.03, allocations: 457 kB / 3.736 GB, free: 70.09 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/12.04, allocations: 3.243 MB / 3.739 GB, free: 69.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009126/12.04, allocations: 1.4 MB / 3.741 GB, free: 68.65 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00263/12.05, allocations: 0.7737 MB / 3.741 GB, free: 68.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009236/12.05, allocations: 0.6768 MB / 3.742 GB, free: 68.63 MB / 0.5417 GB Notification: Performance of SimCode: time 1.352e-06/12.05, allocations: 0 / 3.742 GB, free: 68.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/12.21, allocations: 70.7 MB / 3.811 GB, free: 65.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/12.21, allocations: 243.9 kB / 3.811 GB, free: 65.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.191/18.4, allocations: 0 / 3.811 GB, free: 65.53 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat