Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 235 MB / 247.2 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.88e-05, allocations: 6.656 kB / 305 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3991, allocations: 54.84 MB / 359.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.669/8.068, allocations: 2.629 GB / 2.98 GB, free: 112.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/8.069, allocations: 91.84 kB / 2.98 GB, free: 112.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.233/10.3, allocations: 456.3 MB / 3.426 GB, free: 45.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.873e-06/10.3, allocations: 1.312 kB / 3.426 GB, free: 45.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000123/10.3, allocations: 32.91 kB / 3.426 GB, free: 45.82 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01005/10.31, allocations: 2.325 MB / 3.428 GB, free: 44.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/10.31, allocations: 11.31 kB / 3.428 GB, free: 44.49 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005162/10.31, allocations: 193.2 kB / 3.428 GB, free: 44.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004398/10.32, allocations: 446.6 kB / 3.429 GB, free: 44.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/10.32, allocations: 1.004 MB / 3.43 GB, free: 43.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/10.32, allocations: 116.3 kB / 3.43 GB, free: 43.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/10.32, allocations: 135.7 kB / 3.43 GB, free: 43.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/10.33, allocations: 1.629 MB / 3.431 GB, free: 42.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.157e-05/10.33, allocations: 7.125 kB / 3.431 GB, free: 42.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/10.33, allocations: 57.84 kB / 3.432 GB, free: 42.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.854e-05/10.33, allocations: 53.02 kB / 3.432 GB, free: 42.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/10.33, allocations: 1.24 MB / 3.433 GB, free: 42.31 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.01332/10.34, allocations: 7.643 MB / 3.44 GB, free: 36.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/10.35, allocations: 0.8409 MB / 3.441 GB, free: 36.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000682/10.35, allocations: 308 kB / 3.441 GB, free: 36.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05572/10.4, allocations: 18.43 MB / 3.459 GB, free: 24.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/10.4, allocations: 43.16 kB / 3.459 GB, free: 24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 4.879e-06/10.4, allocations: 0 / 3.459 GB, free: 24 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.05107/10.46, allocations: 5.396 MB / 3.465 GB, free: 22.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2057/10.66, allocations: 42.88 MB / 3.507 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/10.66, allocations: 0.7654 MB / 3.507 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/10.66, allocations: 41.7 kB / 3.507 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007232/10.66, allocations: 0.7064 MB / 3.508 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/10.66, allocations: 329.6 kB / 3.508 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/10.66, allocations: 24.11 kB / 3.508 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001775/10.66, allocations: 365.9 kB / 3.509 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/10.67, allocations: 403.9 kB / 3.509 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/10.67, allocations: 0.8906 MB / 3.51 GB, free: 288 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3739/11.04, allocations: 0.5252 MB / 3.51 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-05/11.04, allocations: 4.469 kB / 3.51 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.004838/11.05, allocations: 1.544 MB / 3.512 GB, free: 47.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001385/11.05, allocations: 6.271 MB / 3.518 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.506e-05/11.05, allocations: 16.62 kB / 3.518 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008225/11.06, allocations: 0.9361 MB / 3.519 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/11.06, allocations: 308.9 kB / 3.519 GB, free: 41.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/11.06, allocations: 1.536 MB / 3.521 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/11.06, allocations: 134.3 kB / 3.521 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/11.06, allocations: 85.62 kB / 3.521 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/11.06, allocations: 6.156 kB / 3.521 GB, free: 40.37 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006173/11.07, allocations: 1.625 MB / 3.523 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.786e-05/11.07, allocations: 15.94 kB / 3.523 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004778/11.07, allocations: 0.6375 MB / 3.523 GB, free: 40.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/11.08, allocations: 315.6 kB / 3.524 GB, free: 40.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/11.08, allocations: 1.509 MB / 3.525 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/11.08, allocations: 129.5 kB / 3.525 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/11.08, allocations: 82.66 kB / 3.525 GB, free: 39.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (150): * Single equations (assignments): 146 * Array equations: 2 * 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 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004929/11.08, allocations: 202.3 kB / 3.525 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/11.08, allocations: 119.5 kB / 3.526 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008384/11.09, allocations: 3.833 MB / 3.529 GB, free: 38.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007411/11.1, allocations: 3.291 MB / 3.533 GB, free: 38.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/11.1, allocations: 2.188 kB / 3.533 GB, free: 38.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.288e-05/11.1, allocations: 5.25 kB / 3.533 GB, free: 38.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/11.11, allocations: 5.829 MB / 3.538 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/11.11, allocations: 1.312 kB / 3.538 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/11.11, allocations: 180.6 kB / 3.538 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006978/11.12, allocations: 1.776 MB / 3.54 GB, free: 38.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002191/11.12, allocations: 34.42 kB / 3.54 GB, free: 38.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003451/11.12, allocations: 2.408 MB / 3.543 GB, free: 37.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04615/11.17, allocations: 17.95 MB / 3.56 GB, free: 34.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006638/11.18, allocations: 3.792 MB / 3.564 GB, free: 33.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/11.18, allocations: 398.8 kB / 3.564 GB, free: 33.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/11.18, allocations: 23.91 kB / 3.564 GB, free: 33.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/11.18, allocations: 103.2 kB / 3.564 GB, free: 33.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/11.18, allocations: 77.66 kB / 3.564 GB, free: 33.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/11.18, allocations: 46.05 kB / 3.564 GB, free: 33.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001317/11.18, allocations: 0.6288 MB / 3.565 GB, free: 33.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.31e-07/11.18, allocations: 0 / 3.565 GB, free: 33.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01897/11.2, allocations: 4.032 MB / 3.569 GB, free: 33.64 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.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 (83): * Single equations (assignments): 75 * 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: 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 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.04014/11.24, allocations: 7.364 MB / 3.576 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006957/11.25, allocations: 2.261 MB / 3.578 GB, free: 32.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/11.25, allocations: 0 / 3.578 GB, free: 32.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002666/11.25, allocations: 1.096 MB / 3.579 GB, free: 32.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/11.25, allocations: 392.2 kB / 3.58 GB, free: 32.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2649/11.52, allocations: 79.57 MB / 3.657 GB, free: 23.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/11.52, allocations: 1.441 MB / 3.659 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003341/11.52, allocations: 0.7597 MB / 3.66 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/11.53, allocations: 0.7143 MB / 3.66 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of SimCode: time 1.874e-06/11.53, allocations: 0 / 3.66 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7183/12.24, allocations: 147 MB / 3.804 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/12.24, allocations: 256.6 kB / 3.804 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.941/22.19, allocations: 0 / 3.804 GB, free: 32.02 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat