Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.438/2.438, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.605e-05, allocations: 0 / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4008, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.609/9.009, allocations: 2.797 GB / 3.171 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/9.01, allocations: 83.17 kB / 3.171 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.333/11.34, allocations: 458.1 MB / 3.618 GB, free: 57.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.196e-06/11.34, allocations: 3.75 kB / 3.618 GB, free: 57.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001471/11.34, allocations: 32.41 kB / 3.618 GB, free: 57.54 MB / 0.5105 GB 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.01004/11.35, allocations: 2.31 MB / 3.62 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/11.35, allocations: 11.5 kB / 3.62 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004908/11.35, allocations: 191.6 kB / 3.621 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004332/11.36, allocations: 442.2 kB / 3.621 GB, free: 55.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/11.36, allocations: 0.9723 MB / 3.622 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/11.36, allocations: 103.3 kB / 3.622 GB, free: 55.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003992/11.36, allocations: 131.3 kB / 3.622 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005353/11.37, allocations: 1.617 MB / 3.624 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.062e-05/11.37, allocations: 3.812 kB / 3.624 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/11.37, allocations: 56.53 kB / 3.624 GB, free: 54.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-05/11.37, allocations: 53.69 kB / 3.624 GB, free: 54.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/11.37, allocations: 1.224 MB / 3.625 GB, free: 54.06 MB / 0.5105 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.01596/11.39, allocations: 7.848 MB / 3.633 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/11.39, allocations: 0.8499 MB / 3.634 GB, free: 47.88 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/11.39, allocations: 307.8 kB / 3.634 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1002/11.49, allocations: 24.24 MB / 3.658 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/11.49, allocations: 39.12 kB / 3.658 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 5.29e-06/11.49, allocations: 0 / 3.658 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.01193/11.51, allocations: 2.203 MB / 3.66 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/11.51, allocations: 144.9 kB / 3.66 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/11.51, allocations: 0.8414 MB / 3.661 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002417/11.51, allocations: 45.64 kB / 3.661 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007645/11.51, allocations: 0.696 MB / 3.661 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/11.51, allocations: 252.9 kB / 3.662 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/11.51, allocations: 20 kB / 3.662 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001323/11.51, allocations: 351.9 kB / 3.662 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/11.51, allocations: 262 kB / 3.662 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/11.51, allocations: 0.7026 MB / 3.663 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/11.51, allocations: 376.4 kB / 3.663 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/11.51, allocations: 4 kB / 3.663 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004327/11.52, allocations: 1.123 MB / 3.664 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00174/11.52, allocations: 5.749 MB / 3.67 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.161e-05/11.52, allocations: 12 kB / 3.67 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003139/11.52, allocations: 280.2 kB / 3.67 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002262/11.53, allocations: 263.3 kB / 3.671 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/11.53, allocations: 0.7842 MB / 3.671 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/11.53, allocations: 98.41 kB / 3.671 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003274/11.53, allocations: 62.53 kB / 3.671 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/11.53, allocations: 4 kB / 3.671 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004388/11.54, allocations: 0.9866 MB / 3.672 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.456e-05/11.54, allocations: 16 kB / 3.672 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/11.54, allocations: 197.1 kB / 3.673 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/11.54, allocations: 273.5 kB / 3.673 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/11.54, allocations: 0.7353 MB / 3.674 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/11.54, allocations: 102.5 kB / 3.674 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002772/11.54, allocations: 59.75 kB / 3.674 GB, free: 11.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (128): * Single equations (assignments): 127 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005115/11.55, allocations: 176.6 kB / 3.674 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/11.55, allocations: 125.3 kB / 3.674 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007386/11.55, allocations: 3.06 MB / 3.677 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-05/11.55, allocations: 42.58 kB / 3.677 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/11.55, allocations: 4 kB / 3.677 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/11.55, allocations: 3.375 kB / 3.677 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/11.56, allocations: 4.634 MB / 3.682 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/11.56, allocations: 0 / 3.682 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/11.57, allocations: 156.4 kB / 3.682 GB, free: 4.605 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003236/11.57, allocations: 1.233 MB / 3.683 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/11.57, allocations: 24 kB / 3.683 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/11.57, allocations: 1.474 MB / 3.684 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/11.57, allocations: 7.938 kB / 3.684 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00868/11.58, allocations: 3.154 MB / 3.688 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/11.58, allocations: 430.9 kB / 3.688 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003483/11.58, allocations: 16 kB / 3.688 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/11.58, allocations: 86.88 kB / 3.688 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/11.58, allocations: 70.8 kB / 3.688 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.885e-05/11.58, allocations: 28 kB / 3.688 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00203/11.59, allocations: 0.8369 MB / 3.689 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.02e-07/11.59, allocations: 0 / 3.689 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009105/11.59, allocations: 1.664 MB / 3.691 GB, free: 13.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (65): * Single equations (assignments): 58 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01717/11.61, allocations: 5.234 MB / 3.696 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005643/11.62, allocations: 1.55 MB / 3.697 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/11.62, allocations: 0 / 3.697 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/11.62, allocations: 0.7412 MB / 3.698 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004317/11.62, allocations: 458.7 kB / 3.698 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/11.64, allocations: 3.255 MB / 3.702 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/11.64, allocations: 1.396 MB / 3.703 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00316/11.64, allocations: 0.7713 MB / 3.704 GB, free: 1.168 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/11.64, allocations: 0.6807 MB / 3.704 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of SimCode: time 1.462e-06/11.64, allocations: 0 / 3.704 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5882/12.23, allocations: 70.61 MB / 3.773 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/12.23, allocations: 238 kB / 3.774 GB, free: 68.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.965/18.2, allocations: 7.875 kB / 3.774 GB, free: 68.71 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat