Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.074e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1332, allocations: 61.9 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.392/8.525, allocations: 2.803 GB / 3.204 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/8.526, allocations: 85.52 kB / 3.204 GB, free: 40.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.369/10.9, allocations: 462.7 MB / 3.656 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.814e-06/10.9, allocations: 0 / 3.656 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001126/10.9, allocations: 32 kB / 3.656 GB, free: 0.5 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.4274/11.32, allocations: 2.289 MB / 3.658 GB, free: 46.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/11.32, allocations: 10.23 kB / 3.658 GB, free: 46.61 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006138/11.32, allocations: 192.2 kB / 3.659 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004633/11.33, allocations: 442.2 kB / 3.659 GB, free: 46.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/11.33, allocations: 0.9818 MB / 3.66 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/11.33, allocations: 100.9 kB / 3.66 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/11.33, allocations: 131.2 kB / 3.66 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006082/11.34, allocations: 1.618 MB / 3.662 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.887e-05/11.34, allocations: 8.219 kB / 3.662 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/11.34, allocations: 57.78 kB / 3.662 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.635e-05/11.34, allocations: 45.86 kB / 3.662 GB, free: 45.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005219/11.34, allocations: 1.226 MB / 3.663 GB, free: 45.91 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.01697/11.36, allocations: 7.843 MB / 3.671 GB, free: 41.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/11.36, allocations: 0.8513 MB / 3.671 GB, free: 41.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007903/11.37, allocations: 303.4 kB / 3.672 GB, free: 41.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08097/11.45, allocations: 24.24 MB / 3.695 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/11.45, allocations: 41.28 kB / 3.695 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 4.007e-06/11.45, allocations: 0 / 3.695 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.008562/11.46, allocations: 2.211 MB / 3.698 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/11.46, allocations: 137.1 kB / 3.698 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/11.46, allocations: 0.8492 MB / 3.699 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/11.46, allocations: 39.55 kB / 3.699 GB, free: 25.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005754/11.46, allocations: 0.6938 MB / 3.699 GB, free: 25.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/11.46, allocations: 256.1 kB / 3.7 GB, free: 25.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/11.46, allocations: 24.52 kB / 3.7 GB, free: 25.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001068/11.46, allocations: 343.5 kB / 3.7 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007105/11.46, allocations: 264.1 kB / 3.7 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009947/11.46, allocations: 0.7072 MB / 3.701 GB, free: 24.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009013/11.46, allocations: 376.4 kB / 3.701 GB, free: 24.42 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/11.46, allocations: 7.344 kB / 3.701 GB, free: 24.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002888/11.46, allocations: 1.11 MB / 3.702 GB, free: 24.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002557/11.47, allocations: 5.757 MB / 3.708 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-05/11.47, allocations: 14.69 kB / 3.708 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/11.47, allocations: 278.1 kB / 3.708 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/11.47, allocations: 269.1 kB / 3.708 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/11.47, allocations: 0.7725 MB / 3.709 GB, free: 33.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/11.47, allocations: 104.7 kB / 3.709 GB, free: 33.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/11.48, allocations: 59.7 kB / 3.709 GB, free: 33.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/11.48, allocations: 3.469 kB / 3.709 GB, free: 33.78 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003219/11.48, allocations: 0.991 MB / 3.71 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/11.48, allocations: 15.03 kB / 3.71 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/11.48, allocations: 197.1 kB / 3.711 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/11.48, allocations: 275.4 kB / 3.711 GB, free: 33.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/11.48, allocations: 0.7404 MB / 3.712 GB, free: 33.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/11.49, allocations: 94.22 kB / 3.712 GB, free: 33.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/11.49, allocations: 63.12 kB / 3.712 GB, free: 33.22 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.0004266/11.49, allocations: 174.9 kB / 3.712 GB, free: 33.11 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/11.49, allocations: 120.9 kB / 3.712 GB, free: 33.05 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005263/11.49, allocations: 3.044 MB / 3.715 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/11.49, allocations: 35.58 kB / 3.715 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/11.49, allocations: 0 / 3.715 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/11.49, allocations: 17.66 kB / 3.715 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008237/11.5, allocations: 4.641 MB / 3.72 GB, free: 32.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/11.5, allocations: 3.312 kB / 3.72 GB, free: 32.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/11.5, allocations: 148.2 kB / 3.72 GB, free: 32.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003188/11.5, allocations: 1.243 MB / 3.721 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/11.5, allocations: 20.44 kB / 3.721 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/11.51, allocations: 1.485 MB / 3.722 GB, free: 31.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/11.51, allocations: 2.188 kB / 3.722 GB, free: 31.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004662/11.51, allocations: 2.91 MB / 3.725 GB, free: 31 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/11.51, allocations: 442 kB / 3.726 GB, free: 30.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/11.51, allocations: 15.28 kB / 3.726 GB, free: 30.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/11.51, allocations: 84.45 kB / 3.726 GB, free: 30.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/11.51, allocations: 68.89 kB / 3.726 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/11.51, allocations: 32.95 kB / 3.726 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001716/11.52, allocations: 0.834 MB / 3.727 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.72e-07/11.52, allocations: 0 / 3.727 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009091/11.53, allocations: 1.664 MB / 3.728 GB, free: 30.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.01705/11.54, allocations: 5.242 MB / 3.733 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005596/11.55, allocations: 1.547 MB / 3.735 GB, free: 28.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/11.55, allocations: 0 / 3.735 GB, free: 28.97 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/11.55, allocations: 0.7445 MB / 3.736 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004325/11.55, allocations: 463.4 kB / 3.736 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/11.57, allocations: 3.244 MB / 3.739 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/11.57, allocations: 1.395 MB / 3.741 GB, free: 27.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002868/11.57, allocations: 0.7764 MB / 3.741 GB, free: 27.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/11.57, allocations: 0.6776 MB / 3.742 GB, free: 27.29 MB / 0.5417 GB Notification: Performance of SimCode: time 1.433e-06/11.57, allocations: 0 / 3.742 GB, free: 27.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1685/11.74, allocations: 70.7 MB / 3.811 GB, free: 23.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/11.74, allocations: 247.2 kB / 3.811 GB, free: 23.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.194/17.93, allocations: 5.906 kB / 3.811 GB, free: 23.47 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat