Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.249/2.249, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.803e-05, allocations: 4 kB / 299.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.418, allocations: 54.87 MB / 354.4 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.643/8.061, allocations: 2.627 GB / 2.974 GB, free: 125.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/8.061, allocations: 88.42 kB / 2.974 GB, free: 125.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.192/10.25, allocations: 451.1 MB / 3.414 GB, free: 55.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/10.25, allocations: 2.562 kB / 3.414 GB, free: 55.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001208/10.25, allocations: 35.94 kB / 3.414 GB, free: 55.45 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.009571/10.26, allocations: 2.299 MB / 3.416 GB, free: 54.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/10.26, allocations: 9.438 kB / 3.416 GB, free: 54.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/10.27, allocations: 445.7 kB / 3.417 GB, free: 54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/10.27, allocations: 0.9952 MB / 3.418 GB, free: 53.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/10.27, allocations: 45.41 kB / 3.418 GB, free: 53.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/10.27, allocations: 85.77 kB / 3.418 GB, free: 53.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00248/10.27, allocations: 0.9266 MB / 3.419 GB, free: 53.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/10.28, allocations: 1.208 MB / 3.42 GB, free: 52.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.697e-05/10.28, allocations: 0 / 3.42 GB, free: 52.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/10.28, allocations: 3.938 kB / 3.42 GB, free: 52.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/10.28, allocations: 48.38 kB / 3.42 GB, free: 52.41 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.2529/10.53, allocations: 71.44 MB / 3.49 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/10.53, allocations: 496.4 kB / 3.49 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/10.53, allocations: 246.5 kB / 3.491 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4254/10.96, allocations: 17.01 MB / 3.507 GB, free: 65.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.53e-05/10.96, allocations: 37.19 kB / 3.507 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=60): time 3.607e-06/10.96, allocations: 3.688 kB / 3.507 GB, free: 65.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81): time 0.04503/11, allocations: 4.713 MB / 3.512 GB, free: 64.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/11, allocations: 139.5 kB / 3.512 GB, free: 64.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/11, allocations: 0.7173 MB / 3.513 GB, free: 64.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/11, allocations: 29.45 kB / 3.513 GB, free: 64.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005725/11, allocations: 0.7316 MB / 3.513 GB, free: 63.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/11.01, allocations: 279.1 kB / 3.514 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/11.01, allocations: 2.719 kB / 3.514 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001156/11.01, allocations: 354.2 kB / 3.514 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008526/11.01, allocations: 364.3 kB / 3.514 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/11.01, allocations: 0.8426 MB / 3.515 GB, free: 62.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002587/11.01, allocations: 0.5973 MB / 3.516 GB, free: 62.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/11.01, allocations: 5.281 kB / 3.516 GB, free: 62.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005121/11.02, allocations: 1.531 MB / 3.517 GB, free: 62.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001357/11.02, allocations: 6.362 MB / 3.523 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.994e-05/11.02, allocations: 14.09 kB / 3.523 GB, free: 55.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004183/11.02, allocations: 0.5647 MB / 3.524 GB, free: 55.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/11.02, allocations: 297.7 kB / 3.524 GB, free: 55.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004185/11.03, allocations: 1.791 MB / 3.526 GB, free: 54.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/11.03, allocations: 121.4 kB / 3.526 GB, free: 54.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003219/11.03, allocations: 86.91 kB / 3.526 GB, free: 54.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/11.03, allocations: 7.156 kB / 3.526 GB, free: 54.85 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005151/11.04, allocations: 1.233 MB / 3.527 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.421e-05/11.04, allocations: 14.34 kB / 3.527 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002744/11.04, allocations: 381.8 kB / 3.528 GB, free: 54.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/11.04, allocations: 304.8 kB / 3.528 GB, free: 54.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/11.04, allocations: 1.505 MB / 3.53 GB, free: 53.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/11.04, allocations: 91.72 kB / 3.53 GB, free: 53.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/11.04, allocations: 71.45 kB / 3.53 GB, free: 53.75 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (142): * Single equations (assignments): 140 * 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: 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005364/11.05, allocations: 154.6 kB / 3.53 GB, free: 53.64 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005463/11.05, allocations: 1.13 MB / 3.531 GB, free: 53.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/11.05, allocations: 115.1 kB / 3.531 GB, free: 53.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006741/11.06, allocations: 2.705 MB / 3.534 GB, free: 53.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.395e-05/11.06, allocations: 27.58 kB / 3.534 GB, free: 53.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/11.06, allocations: 0 / 3.534 GB, free: 53.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/11.06, allocations: 3.516 kB / 3.534 GB, free: 53.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009798/11.07, allocations: 4.288 MB / 3.538 GB, free: 52.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/11.07, allocations: 0 / 3.538 GB, free: 52.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008857/11.07, allocations: 115.3 kB / 3.538 GB, free: 52.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004455/11.07, allocations: 1.506 MB / 3.54 GB, free: 52.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/11.07, allocations: 17.19 kB / 3.54 GB, free: 52.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004306/11.08, allocations: 2.654 MB / 3.542 GB, free: 51.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2286/11.31, allocations: 56.92 MB / 3.598 GB, free: 45.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00572/11.31, allocations: 2.915 MB / 3.601 GB, free: 44.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009989/11.31, allocations: 340.5 kB / 3.601 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/11.31, allocations: 10.97 kB / 3.601 GB, free: 44.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/11.32, allocations: 79.23 kB / 3.601 GB, free: 44.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/11.32, allocations: 53.66 kB / 3.601 GB, free: 44.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.335e-05/11.32, allocations: 36.55 kB / 3.601 GB, free: 44.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001157/11.32, allocations: 0.6207 MB / 3.602 GB, free: 44.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.312e-06/11.32, allocations: 0 / 3.602 GB, free: 44.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01735/11.33, allocations: 3.891 MB / 3.606 GB, free: 41.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.03879/11.37, allocations: 6.589 MB / 3.612 GB, free: 36.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00582/11.38, allocations: 1.822 MB / 3.614 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/11.38, allocations: 1.125 kB / 3.614 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/11.38, allocations: 0.7537 MB / 3.614 GB, free: 35.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00301/11.38, allocations: 342.6 kB / 3.615 GB, free: 35.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/11.4, allocations: 3.766 MB / 3.618 GB, free: 32.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009451/11.4, allocations: 1.349 MB / 3.62 GB, free: 31.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003167/11.41, allocations: 0.8914 MB / 3.621 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/11.41, allocations: 0.6267 MB / 3.621 GB, free: 30.53 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/11.41, allocations: 3.938 kB / 3.621 GB, free: 30.53 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6937/12.1, allocations: 131.3 MB / 3.749 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/12.1, allocations: 191.3 kB / 3.75 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.414/21.51, allocations: 0 / 3.75 GB, free: 51.11 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat