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.325/2.325, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.074e-05/4.087e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4202, allocations: 54.86 MB / 359.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.95/8.371, allocations: 2.628 GB / 2.98 GB, free: 120 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/8.371, allocations: 82.91 kB / 2.98 GB, free: 120 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.249/10.62, allocations: 455.6 MB / 3.425 GB, free: 45.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.974e-06/10.62, allocations: 0 / 3.425 GB, free: 45.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001342/10.62, allocations: 33.5 kB / 3.425 GB, free: 45.7 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.01035/10.63, allocations: 2.294 MB / 3.427 GB, free: 44.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/10.63, allocations: 10.69 kB / 3.427 GB, free: 44.37 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006085/10.63, allocations: 194 kB / 3.427 GB, free: 44.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004576/10.64, allocations: 443.6 kB / 3.427 GB, free: 44.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003416/10.64, allocations: 0.9972 MB / 3.428 GB, free: 43.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/10.64, allocations: 106 kB / 3.429 GB, free: 43.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004958/10.64, allocations: 131.9 kB / 3.429 GB, free: 43.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005416/10.65, allocations: 1.622 MB / 3.43 GB, free: 42.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-05/10.65, allocations: 6.812 kB / 3.43 GB, free: 42.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002219/10.65, allocations: 57.09 kB / 3.43 GB, free: 42.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.376e-05/10.65, allocations: 54.64 kB / 3.43 GB, free: 42.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004777/10.65, allocations: 1.243 MB / 3.432 GB, free: 42.2 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.01338/10.66, allocations: 7.661 MB / 3.439 GB, free: 36.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/10.67, allocations: 0.8401 MB / 3.44 GB, free: 36.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006867/10.67, allocations: 297.2 kB / 3.44 GB, free: 35.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0556/10.72, allocations: 18.44 MB / 3.458 GB, free: 20.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/10.72, allocations: 39.12 kB / 3.458 GB, free: 20.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=68): time 3.547e-06/10.72, allocations: 4 kB / 3.458 GB, free: 20.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.05338/10.78, allocations: 5.719 MB / 3.464 GB, free: 16.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5897/11.37, allocations: 43.25 MB / 3.506 GB, free: 49.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/11.37, allocations: 0.7701 MB / 3.507 GB, free: 49.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002528/11.37, allocations: 41.3 kB / 3.507 GB, free: 49.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006896/11.37, allocations: 0.7123 MB / 3.507 GB, free: 49.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005562/11.37, allocations: 323.5 kB / 3.508 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/11.37, allocations: 26.81 kB / 3.508 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001519/11.37, allocations: 357.2 kB / 3.508 GB, free: 48.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/11.37, allocations: 390.3 kB / 3.509 GB, free: 48.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/11.37, allocations: 0.8891 MB / 3.509 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/11.38, allocations: 0.5181 MB / 3.51 GB, free: 47.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.146e-05/11.38, allocations: 3.938 kB / 3.51 GB, free: 47.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005052/11.38, allocations: 1.588 MB / 3.511 GB, free: 47.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001489/11.38, allocations: 6.355 MB / 3.518 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.372e-05/11.38, allocations: 19.47 kB / 3.518 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008329/11.39, allocations: 0.9728 MB / 3.519 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/11.39, allocations: 300.8 kB / 3.519 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/11.4, allocations: 1.653 MB / 3.521 GB, free: 40.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/11.4, allocations: 116.4 kB / 3.521 GB, free: 40.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003001/11.4, allocations: 78.98 kB / 3.521 GB, free: 40.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/11.4, allocations: 4.469 kB / 3.521 GB, free: 40.16 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006297/11.4, allocations: 1.61 MB / 3.522 GB, free: 40.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.928e-05/11.41, allocations: 16.09 kB / 3.522 GB, free: 40.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004621/11.41, allocations: 0.6566 MB / 3.523 GB, free: 40.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/11.41, allocations: 302.5 kB / 3.523 GB, free: 40.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/11.41, allocations: 1.609 MB / 3.525 GB, free: 39.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/11.42, allocations: 113.6 kB / 3.525 GB, free: 39.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/11.42, allocations: 79.42 kB / 3.525 GB, free: 39.05 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.0005092/11.42, allocations: 195.9 kB / 3.525 GB, free: 38.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/11.42, allocations: 120.5 kB / 3.525 GB, free: 38.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009842/11.43, allocations: 3.966 MB / 3.529 GB, free: 38.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.008e-05/11.43, allocations: 37.19 kB / 3.529 GB, free: 38.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/11.43, allocations: 0 / 3.529 GB, free: 38.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.024e-05/11.43, allocations: 10.22 kB / 3.529 GB, free: 38.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/11.44, allocations: 5.833 MB / 3.535 GB, free: 38.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/11.44, allocations: 3.969 kB / 3.535 GB, free: 38.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/11.44, allocations: 157.5 kB / 3.535 GB, free: 38.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007577/11.45, allocations: 1.815 MB / 3.537 GB, free: 37.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/11.45, allocations: 31.94 kB / 3.537 GB, free: 37.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003854/11.45, allocations: 2.432 MB / 3.539 GB, free: 36.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0503/11.51, allocations: 18.41 MB / 3.557 GB, free: 50.15 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008464/11.51, allocations: 3.811 MB / 3.561 GB, free: 49.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/11.51, allocations: 391.7 kB / 3.561 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003559/11.52, allocations: 18.41 kB / 3.561 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/11.52, allocations: 99.89 kB / 3.561 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/11.52, allocations: 77.27 kB / 3.562 GB, free: 49.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/11.52, allocations: 43.86 kB / 3.562 GB, free: 49.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001335/11.52, allocations: 0.656 MB / 3.562 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/11.52, allocations: 0 / 3.562 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01935/11.54, allocations: 3.991 MB / 3.566 GB, free: 49.23 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.04467/11.58, allocations: 7.467 MB / 3.573 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00733/11.59, allocations: 2.244 MB / 3.576 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/11.59, allocations: 3.844 kB / 3.576 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002658/11.59, allocations: 1.06 MB / 3.577 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/11.6, allocations: 395.6 kB / 3.577 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2615/11.86, allocations: 79.57 MB / 3.655 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/11.86, allocations: 1.44 MB / 3.656 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003468/11.86, allocations: 0.7881 MB / 3.657 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/11.86, allocations: 0.699 MB / 3.658 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of SimCode: time 2.184e-06/11.86, allocations: 0 / 3.658 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.729/12.59, allocations: 146.2 MB / 3.8 GB, free: 36.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/12.59, allocations: 241.1 kB / 3.801 GB, free: 36.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/22.67, allocations: 3.938 kB / 3.801 GB, free: 36.53 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