Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.775e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1329, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.51/8.643, allocations: 2.804 GB / 3.204 GB, free: 42.56 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/8.643, allocations: 84.64 kB / 3.205 GB, free: 42.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.348/10.99, allocations: 463.5 MB / 3.657 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/10.99, allocations: 0 / 3.657 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001271/10.99, allocations: 32 kB / 3.657 GB, free: 1.586 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.4191/11.41, allocations: 2.328 MB / 3.659 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/11.41, allocations: 9.344 kB / 3.659 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008079/11.41, allocations: 195.2 kB / 3.66 GB, free: 45.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004945/11.42, allocations: 446 kB / 3.66 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/11.42, allocations: 0.9771 MB / 3.661 GB, free: 45.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/11.42, allocations: 101.9 kB / 3.661 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006336/11.42, allocations: 141.7 kB / 3.661 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006902/11.43, allocations: 1.635 MB / 3.663 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.862e-05/11.43, allocations: 6.109 kB / 3.663 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/11.43, allocations: 59.61 kB / 3.663 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.835e-05/11.43, allocations: 47.62 kB / 3.663 GB, free: 44.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005748/11.43, allocations: 1.249 MB / 3.664 GB, free: 44.84 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.0187/11.45, allocations: 7.82 MB / 3.672 GB, free: 40.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00376/11.46, allocations: 0.8604 MB / 3.673 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/11.46, allocations: 315.9 kB / 3.673 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08302/11.54, allocations: 24.24 MB / 3.697 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/11.54, allocations: 45.22 kB / 3.697 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 3.897e-06/11.54, allocations: 2.078 kB / 3.697 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.008394/11.55, allocations: 2.21 MB / 3.699 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/11.55, allocations: 143.9 kB / 3.699 GB, free: 24.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/11.55, allocations: 0.8502 MB / 3.7 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002276/11.55, allocations: 42.86 kB / 3.7 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/11.55, allocations: 0.693 MB / 3.701 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/11.55, allocations: 266.6 kB / 3.701 GB, free: 24.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/11.55, allocations: 21.34 kB / 3.701 GB, free: 24.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000106/11.55, allocations: 348.2 kB / 3.701 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007366/11.55, allocations: 273.7 kB / 3.701 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/11.56, allocations: 0.7062 MB / 3.702 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/11.56, allocations: 388.9 kB / 3.702 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/11.56, allocations: 3.75 kB / 3.702 GB, free: 23.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003121/11.56, allocations: 1.123 MB / 3.704 GB, free: 23.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003059/11.56, allocations: 5.658 MB / 3.709 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.655e-05/11.56, allocations: 15.72 kB / 3.709 GB, free: 33.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/11.56, allocations: 227.4 kB / 3.709 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002181/11.57, allocations: 291.7 kB / 3.71 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/11.57, allocations: 0.7056 MB / 3.71 GB, free: 32.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/11.57, allocations: 109.6 kB / 3.71 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/11.57, allocations: 66.8 kB / 3.71 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/11.57, allocations: 2.812 kB / 3.71 GB, free: 32.96 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002601/11.57, allocations: 0.973 MB / 3.711 GB, free: 32.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/11.57, allocations: 14.16 kB / 3.711 GB, free: 32.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/11.57, allocations: 178.3 kB / 3.712 GB, free: 32.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/11.58, allocations: 286.7 kB / 3.712 GB, free: 32.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009561/11.58, allocations: 0.6866 MB / 3.713 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/11.58, allocations: 101 kB / 3.713 GB, free: 32.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00028/11.58, allocations: 64.5 kB / 3.713 GB, free: 32.4 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.0004871/11.58, allocations: 183.1 kB / 3.713 GB, free: 32.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/11.58, allocations: 125 kB / 3.713 GB, free: 32.23 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/11.59, allocations: 3.033 MB / 3.716 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.882e-05/11.59, allocations: 36.81 kB / 3.716 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/11.59, allocations: 3.609 kB / 3.716 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-05/11.59, allocations: 4.594 kB / 3.716 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009006/11.6, allocations: 4.611 MB / 3.72 GB, free: 31.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/11.6, allocations: 3.812 kB / 3.72 GB, free: 31.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/11.6, allocations: 165.1 kB / 3.721 GB, free: 31.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/11.6, allocations: 1.256 MB / 3.722 GB, free: 31.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/11.6, allocations: 26.73 kB / 3.722 GB, free: 31.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/11.6, allocations: 1.42 MB / 3.723 GB, free: 30.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/11.6, allocations: 3.844 kB / 3.723 GB, free: 30.78 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005738/11.61, allocations: 3.241 MB / 3.726 GB, free: 30.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/11.61, allocations: 438.2 kB / 3.727 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004046/11.61, allocations: 17.91 kB / 3.727 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/11.61, allocations: 87.88 kB / 3.727 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/11.61, allocations: 70.59 kB / 3.727 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.88e-05/11.61, allocations: 31.58 kB / 3.727 GB, free: 30 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001846/11.61, allocations: 0.8352 MB / 3.728 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.904e-06/11.61, allocations: 0 / 3.728 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009207/11.62, allocations: 1.678 MB / 3.73 GB, free: 29.82 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.01761/11.64, allocations: 5.273 MB / 3.735 GB, free: 28.24 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004687/11.65, allocations: 1.552 MB / 3.736 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/11.65, allocations: 3.844 kB / 3.736 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/11.65, allocations: 0.7444 MB / 3.737 GB, free: 28.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004324/11.65, allocations: 474.3 kB / 3.737 GB, free: 28.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/11.66, allocations: 3.345 MB / 3.741 GB, free: 27.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/11.67, allocations: 1.401 MB / 3.742 GB, free: 26.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003063/11.67, allocations: 0.7501 MB / 3.743 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/11.67, allocations: 0.713 MB / 3.743 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of SimCode: time 1.372e-06/11.67, allocations: 0 / 3.743 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1629/11.83, allocations: 71.03 MB / 3.813 GB, free: 23.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/11.83, allocations: 256.7 kB / 3.813 GB, free: 22.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.282/18.12, allocations: 4 kB / 3.813 GB, free: 22.77 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat