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.323/2.323, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.657e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4161, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.769/8.185, allocations: 2.628 GB / 2.98 GB, free: 119.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/8.186, allocations: 94.05 kB / 2.98 GB, free: 119.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.259/10.44, allocations: 455.6 MB / 3.425 GB, free: 46.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/10.44, allocations: 0 / 3.425 GB, free: 46.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001364/10.44, allocations: 28.81 kB / 3.425 GB, free: 46.41 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.009985/10.45, allocations: 2.299 MB / 3.427 GB, free: 45.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/10.45, allocations: 14.72 kB / 3.427 GB, free: 45.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005274/10.46, allocations: 194.9 kB / 3.427 GB, free: 44.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/10.46, allocations: 441.3 kB / 3.427 GB, free: 44.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/10.46, allocations: 0.9999 MB / 3.428 GB, free: 44.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/10.46, allocations: 109.8 kB / 3.429 GB, free: 44.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/10.46, allocations: 132.3 kB / 3.429 GB, free: 44.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005051/10.47, allocations: 1.608 MB / 3.43 GB, free: 43.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.691e-05/10.47, allocations: 3 kB / 3.43 GB, free: 43.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/10.47, allocations: 53.62 kB / 3.43 GB, free: 43.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.118e-05/10.47, allocations: 50.66 kB / 3.43 GB, free: 43.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004339/10.47, allocations: 1.218 MB / 3.432 GB, free: 42.93 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.01293/10.49, allocations: 7.665 MB / 3.439 GB, free: 37.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/10.49, allocations: 0.8277 MB / 3.44 GB, free: 36.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/10.49, allocations: 299 kB / 3.44 GB, free: 36.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05547/10.55, allocations: 18.44 MB / 3.458 GB, free: 22.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/10.55, allocations: 39.12 kB / 3.458 GB, free: 22.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=68): time 3.737e-06/10.55, allocations: 7.938 kB / 3.458 GB, free: 22.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.05308/10.6, allocations: 5.713 MB / 3.464 GB, free: 17.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5855/11.18, allocations: 43.25 MB / 3.506 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/11.19, allocations: 0.7682 MB / 3.507 GB, free: 49.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002416/11.19, allocations: 43.36 kB / 3.507 GB, free: 49.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006642/11.19, allocations: 0.711 MB / 3.507 GB, free: 49.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004674/11.19, allocations: 322.5 kB / 3.508 GB, free: 48.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/11.19, allocations: 25.59 kB / 3.508 GB, free: 48.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001503/11.19, allocations: 356.5 kB / 3.508 GB, free: 48.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/11.19, allocations: 390 kB / 3.509 GB, free: 48.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/11.19, allocations: 0.8802 MB / 3.509 GB, free: 48.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/11.19, allocations: 0.5136 MB / 3.51 GB, free: 48.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.203e-05/11.19, allocations: 9.344 kB / 3.51 GB, free: 48.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005378/11.2, allocations: 1.542 MB / 3.511 GB, free: 47.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001603/11.2, allocations: 6.356 MB / 3.518 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.638e-05/11.2, allocations: 15 kB / 3.518 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00851/11.21, allocations: 0.9782 MB / 3.519 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/11.21, allocations: 300.1 kB / 3.519 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/11.21, allocations: 1.649 MB / 3.52 GB, free: 40.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/11.22, allocations: 119.3 kB / 3.521 GB, free: 40.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002824/11.22, allocations: 80.03 kB / 3.521 GB, free: 40.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/11.22, allocations: 3.375 kB / 3.521 GB, free: 40.22 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005891/11.22, allocations: 1.56 MB / 3.522 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.95e-05/11.22, allocations: 15.91 kB / 3.522 GB, free: 40.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004599/11.23, allocations: 0.6628 MB / 3.523 GB, free: 40.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/11.23, allocations: 306.8 kB / 3.523 GB, free: 40.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/11.23, allocations: 1.609 MB / 3.525 GB, free: 39.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/11.23, allocations: 114.9 kB / 3.525 GB, free: 39.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/11.23, allocations: 83.81 kB / 3.525 GB, free: 39.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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 (145): * Single equations (assignments): 143 * 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.0004974/11.24, allocations: 189.4 kB / 3.525 GB, free: 38.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/11.24, allocations: 121.4 kB / 3.525 GB, free: 38.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009277/11.24, allocations: 3.968 MB / 3.529 GB, free: 38.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.645e-05/11.25, allocations: 34.97 kB / 3.529 GB, free: 38.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/11.25, allocations: 0 / 3.529 GB, free: 38.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/11.25, allocations: 3.797 kB / 3.529 GB, free: 38.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/11.26, allocations: 5.824 MB / 3.535 GB, free: 38.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/11.26, allocations: 3.938 kB / 3.535 GB, free: 38.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/11.26, allocations: 158 kB / 3.535 GB, free: 38.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007452/11.27, allocations: 1.822 MB / 3.537 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/11.27, allocations: 30.12 kB / 3.537 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003634/11.27, allocations: 2.433 MB / 3.539 GB, free: 36.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05006/11.32, allocations: 18.41 MB / 3.557 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008421/11.33, allocations: 3.812 MB / 3.561 GB, free: 49.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/11.33, allocations: 398.7 kB / 3.561 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/11.33, allocations: 23.16 kB / 3.561 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/11.33, allocations: 94.67 kB / 3.561 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/11.33, allocations: 77.39 kB / 3.561 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/11.33, allocations: 38.23 kB / 3.561 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001369/11.33, allocations: 0.6663 MB / 3.562 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/11.33, allocations: 0 / 3.562 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01906/11.35, allocations: 3.987 MB / 3.566 GB, free: 49.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.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 (75): * Single equations (assignments): 67 * 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 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04233/11.4, allocations: 7.473 MB / 3.573 GB, free: 47.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006997/11.4, allocations: 2.183 MB / 3.575 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/11.4, allocations: 3.25 kB / 3.575 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002629/11.4, allocations: 1.048 MB / 3.576 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/11.41, allocations: 405.1 kB / 3.577 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2556/11.66, allocations: 79.5 MB / 3.654 GB, free: 29.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/11.67, allocations: 1.436 MB / 3.656 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003192/11.67, allocations: 0.7763 MB / 3.657 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/11.67, allocations: 0.7017 MB / 3.657 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/11.67, allocations: 0 / 3.657 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7489/12.42, allocations: 147.3 MB / 3.801 GB, free: 36.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/12.42, allocations: 243.7 kB / 3.801 GB, free: 36.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.829/22.25, allocations: 0 / 3.801 GB, free: 36.03 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