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.392/2.392, allocations: 235 MB / 247.1 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.619e-05, allocations: 6.172 kB / 305 MB, free: 5.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4013, allocations: 54.86 MB / 359.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.995/8.397, allocations: 2.629 GB / 2.98 GB, free: 119.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/8.397, allocations: 86.77 kB / 2.98 GB, free: 119.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.26/10.66, allocations: 456.4 MB / 3.426 GB, free: 45.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.953e-06/10.66, allocations: 0 / 3.426 GB, free: 45.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001242/10.66, allocations: 36.88 kB / 3.426 GB, free: 45.94 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.00975/10.67, allocations: 2.321 MB / 3.428 GB, free: 44.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/10.67, allocations: 11.22 kB / 3.428 GB, free: 44.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005177/10.67, allocations: 197.4 kB / 3.428 GB, free: 44.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004297/10.67, allocations: 450.8 kB / 3.429 GB, free: 44.37 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/10.68, allocations: 1 MB / 3.43 GB, free: 43.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/10.68, allocations: 106.5 kB / 3.43 GB, free: 43.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/10.68, allocations: 137.2 kB / 3.43 GB, free: 43.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005002/10.68, allocations: 1.646 MB / 3.431 GB, free: 42.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.76e-05/10.68, allocations: 11.09 kB / 3.431 GB, free: 42.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/10.68, allocations: 58.75 kB / 3.431 GB, free: 42.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/10.68, allocations: 43.36 kB / 3.432 GB, free: 42.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004384/10.69, allocations: 1.273 MB / 3.433 GB, free: 42.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.01273/10.7, allocations: 7.635 MB / 3.44 GB, free: 36.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/10.7, allocations: 0.8507 MB / 3.441 GB, free: 36.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/10.7, allocations: 306 kB / 3.441 GB, free: 36.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05424/10.76, allocations: 18.44 MB / 3.459 GB, free: 21.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/10.76, allocations: 43.34 kB / 3.459 GB, free: 21.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 4.769e-06/10.76, allocations: 4 kB / 3.459 GB, free: 21.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.04968/10.81, allocations: 5.396 MB / 3.465 GB, free: 17.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.594/11.4, allocations: 42.83 MB / 3.507 GB, free: 49.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/11.4, allocations: 0.7681 MB / 3.507 GB, free: 49.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002702/11.4, allocations: 41.91 kB / 3.507 GB, free: 49.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006636/11.4, allocations: 0.7131 MB / 3.508 GB, free: 49.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005524/11.4, allocations: 333.8 kB / 3.508 GB, free: 49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/11.4, allocations: 26.06 kB / 3.508 GB, free: 49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001232/11.4, allocations: 355.3 kB / 3.509 GB, free: 48.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/11.41, allocations: 406.2 kB / 3.509 GB, free: 48.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/11.41, allocations: 0.8988 MB / 3.51 GB, free: 48.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/11.41, allocations: 0.5336 MB / 3.51 GB, free: 48.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.662e-05/11.41, allocations: 5.562 kB / 3.51 GB, free: 48.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.005385/11.41, allocations: 1.579 MB / 3.512 GB, free: 47.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001667/11.42, allocations: 6.269 MB / 3.518 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.598e-05/11.42, allocations: 15.94 kB / 3.518 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008187/11.42, allocations: 0.9478 MB / 3.519 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/11.43, allocations: 309.9 kB / 3.519 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/11.43, allocations: 1.535 MB / 3.521 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/11.43, allocations: 146.5 kB / 3.521 GB, free: 40.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/11.43, allocations: 88.53 kB / 3.521 GB, free: 40.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/11.43, allocations: 7.234 kB / 3.521 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006304/11.44, allocations: 1.674 MB / 3.523 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.478e-05/11.44, allocations: 16.06 kB / 3.523 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004687/11.44, allocations: 0.635 MB / 3.523 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/11.45, allocations: 314.7 kB / 3.524 GB, free: 40.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00258/11.45, allocations: 1.506 MB / 3.525 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/11.45, allocations: 140.4 kB / 3.525 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/11.45, allocations: 87.28 kB / 3.525 GB, free: 39.21 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.0005216/11.45, allocations: 194.5 kB / 3.526 GB, free: 39.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/11.45, allocations: 119.2 kB / 3.526 GB, free: 39.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007683/11.46, allocations: 3.834 MB / 3.529 GB, free: 38.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006417/11.47, allocations: 3.288 MB / 3.533 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/11.47, allocations: 0 / 3.533 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-05/11.47, allocations: 7.609 kB / 3.533 GB, free: 38.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/11.48, allocations: 5.843 MB / 3.538 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/11.48, allocations: 3.188 kB / 3.538 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/11.48, allocations: 178.8 kB / 3.538 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006889/11.49, allocations: 1.762 MB / 3.54 GB, free: 37.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002254/11.49, allocations: 29.7 kB / 3.54 GB, free: 37.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/11.49, allocations: 2.411 MB / 3.543 GB, free: 36.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04662/11.54, allocations: 17.93 MB / 3.56 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006671/11.54, allocations: 3.803 MB / 3.564 GB, free: 33.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/11.54, allocations: 390.4 kB / 3.564 GB, free: 33.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/11.54, allocations: 28.89 kB / 3.564 GB, free: 33.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/11.55, allocations: 104.5 kB / 3.564 GB, free: 33.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/11.55, allocations: 80.44 kB / 3.564 GB, free: 33.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/11.55, allocations: 37.97 kB / 3.564 GB, free: 33.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001259/11.55, allocations: 0.6287 MB / 3.565 GB, free: 33.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.3e-07/11.55, allocations: 0 / 3.565 GB, free: 33.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01909/11.57, allocations: 4.035 MB / 3.569 GB, free: 33.28 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.04299/11.61, allocations: 7.345 MB / 3.576 GB, free: 47.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006705/11.62, allocations: 2.309 MB / 3.578 GB, free: 47.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/11.62, allocations: 0 / 3.578 GB, free: 47.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002779/11.62, allocations: 1.108 MB / 3.58 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/11.62, allocations: 403.9 kB / 3.58 GB, free: 47.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2547/11.88, allocations: 79.64 MB / 3.658 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/11.88, allocations: 1.441 MB / 3.659 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003159/11.88, allocations: 0.764 MB / 3.66 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/11.88, allocations: 0.714 MB / 3.661 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/11.88, allocations: 0 / 3.661 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7227/12.61, allocations: 145.9 MB / 3.803 GB, free: 36.31 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003149/12.61, allocations: 257.4 kB / 3.803 GB, free: 35.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/23.06, allocations: 3.938 kB / 3.803 GB, free: 35.97 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